Hi,
I created a little but useful class to extract Directory Entries (for =
our
Feed Assistent) from a single RSS Feed URL or an HTML page with links to =
Rss
Feeds.
Usage:
java -cp
.\;..\..\lib\informa.jar;..\..\lib\jdom.jar;..\..\lib\commons-logging.jar=
de.cinek.rssview.util.DirectoryExtractor -html
http://today.java.net/pub/q/java_net_rss c:\java.net.xml
For extracting all feeds from an HTML Page to file c:\java.net.xml
Or:
java -cp
.\;..\..\lib\informa.jar;..\..\lib\jdom.jar;..\..\lib\commons-logging.jar=
de.cinek.rssview.util.DirectoryExtractor -xml
http://rss.orf.at/futurezone.xml c:\futurezone.xml
For a single Rss Feed.
All Information we need is extracted and written to a valid xml file.
Hope that will make the work easier to construct a cool directory.xml =
file.
Cheers
Christoph
|