Tuesday, 7 February 2012

Simplest RSS Feed Reader with ROME and JDOM

Recently I have been pondering on a research topic regarding software for blogging and so I have started to study XML applications in Java. Below is the code of a very simple program that gets in the command line the address of a RSS feed, then prints the feed type and the feed title.

Compile using the following command:
C:\ProgrameJava>javac -classpath .\rome-1.0.jar;.\jdom-1.1.2.jar  RSSReader.java

Execute using, for example, the next line:
C:\ProgrameJava>java -classpath .;.\rome-1.0.jar;.\jdom-1.1.2.jar  RSSReader  http://feeds.feedburner.com/Edragonu-TheChoiceOfAPersonalPath


To be continued :)