My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

This tool converts RDF/XML or N3 content into DataRSS feeds as accepted by Yahoo SearchMonkey. The tool can be used to feed GoodRelations-based e-commerce descriptions into the Yahoo family of technology.

It is based on the Sesame 2.2.4 framework from http://www.openrdf.org

You can see a working sample here: http://www.ebusiness-unibw.org/tools/rdf2datarss

If you want to build your own application out of the source you have to consider the following instructions:

WebContent/WEB-INF/web.xml: I) create a context parameter by using the code:

<context-param>
<param-name>
RDFDir
</param-name>
<param-value>
/home/projects/rdf2datarss/user_files
</param-value>
</context-param>

this is the folder where the converted rss files will be stored

II) register the specific classes as servlets:

<servlet>
<description>
</description>
<display-name>
RDF2DataRSSServlet
</display-name>
<servlet-name>
RDF2DataRSSServlet
</servlet-name>
<servlet-class>
servlet.RDF2DataRSSServlet
</servlet-class>
</servlet>

III) additionally let's do some uri mappings:

<servlet-mapping>
<servlet-name>
RDF2DataRSSServlet
</servlet-name>
<url-pattern>
/RDF2DataRSSServlet
</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>
RDF2DataRSSServlet
</servlet-name>
<url-pattern>
/RDF2dataRSSServlet
</url-pattern>
</servlet-mapping>

WebContent/META-INF/context.xml I) make sure that the library-files won't be locked by the application server:

<context antiResourceLocking="true" antiJARLocking="true">

<!-- Default set of monitored resources -->
<watchedresource>
WEB-INF/web.xml
</watchedresource>
<!-- Uncomment this to disable session persistence across Tomcat restarts --> <!-- -->

</context>

Powered by Google Project Hosting