You are here: Introduction

OFindU

OFindU is an OSGi application that provides a service for searching in all kind of RSS and Atom feeds. From an URL pointing to a feed source and a set of search parameters it'll return a set of results with the feed entries that meet the required conditions in the form of a ResultBean object, defined in the API es.upm.dit.multimedia.contents that you can download from this site.

OFindu has been developed at the Departamento de Ingeniería Telemáica (DIT) of the Universidad Politénica de Madrid (UPM), Spain.


Documentation

To learn more on OFindU browse the Javadoc documentation page, accesible from the left menu of this webpage.

License

OFindU is an Open Source project licensed under de LGPL license. So, its source code is freely available to anybody. You can download it from the forge site of this project.

Crash Course

This is how you register new feeds into OFindU's search space:

ServiceReference[] refs = context.getServiceReferences(
	Searcher.class.getName(), "(search_type=feed)");
Searcher feedSearcher = (Searcher) context.getService(refs[0]);
Properties properties = new Properties();
properties.setProperty("searchDescription", "no");
properties.setProperty("searchDownloadURL", "no");
feedSearcher.addSearchSource(
	new SearchSourceBean("Feed name", "Feed description",
	"Feed availability", "Feed URL", null));
                    

This is a snippet to search something with OFindU:

String keyword = "Keyword";
ArrayList keywordList = new ArrayList();
keywordList.add(keyword);
List searchResults = feedSearcher.search(keywordList, properties);
                    

And this is how you can save and load configuration in OFindU:

feedSearcher.loadConfiguration("Feeds.conf");

...

feedSearcher.saveConfiguration("Feeds.conf");
                	

Forge Site

To access the forums, mailing lists or simply to obtain more information go to the Forge site clicking here.


Acknowledgements

OFindu development has been partially supported by the ITEA Passepartout project

Latest news

October 4, 2006:
First draft for the webpage.