How FreshNews.biz was designed and created using Java, XML and XSLT

by Barry Nirmal

There is a Java program that fetches XML files from RSS feeds of various news web sites e.g. BBC, Reuters, etc. Then Barry wrote a XSLT program that reads the XML file and, using XPATH, applies a transformation to it and writes out HTML code in a file.

The reason why we create HTML file is so that this file can be correctly opened by all kinds of browsers - even old browsers like Internet Explorer Version 4. (Note that XML files can only be opened by newer browsers.)

The HTML files are then uploaded to the server using a Java program written by Barry Nirmal.