PDA

View Full Version : Making a newspage read its news from a file



hajen
14 Sep 2009, 10:50 AM
Hi!

I am in charge of a site that has a page with current news, an rss feed and the titles of these news on its frontpage. I am trying to eliminate some work by making the pages read their news from the rss file (xml). Does anyone know of a way to do this with javascript or otherwise? I have some experience with c++, so I should be able to understand javascript code.

is_numeric
14 Sep 2009, 03:42 PM
if the content is xml you could include() the file into an area of a page

PHP allows you to include files but you could look into SSI

You can format and style XML using XSLT

http://www.w3schools.com/xsl/