PDA

View Full Version : RSS feed, need help



Ryilan
26 May 2007, 10:10 AM
hello,

im new here. anyhow, lately ive been trying to get an RSS feed to work for a friend of mine. i finally get a program to read it, turns out he wants it to be inside a web page, so everyone can read it or something like that. and i have no friggin idea how im suposed to do it. i only have a bsic knowledge of HTML. other than that, i dont know a thing. so, any help woud be apreciated. here is the code of the RSS feed:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>T@tp nieuws</title>
<description>de nieuws pagina van de t@tp opleidingen site.</description>
<link>http://www.tatp.nl/test/nieuws.html</link>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<language>nl</language>
<lastBuildDate>Mon, 14 May 2007 21:56:51 +0200</lastBuildDate>
<managingEditor>volrath103@hotmail.com</managingEditor>
<pubDate>Mon, 14 May 2007 21:56:49 +0200</pubDate>
<webMaster>volrath103@hotmail.com</webMaster>
<generator>FeedForAll v2.0 (2.0.2.3) unlicensed version http://www.feedforall.com</generator>
<image>
<url>http://www.officer.com/article/photos/1149453901153_RDX-TATP-crop.jpg</url>
<title>T@tp nieuws</title>
<link>http://www.tatp.nl/test/nieuws.html</link>
<description>T@tp nieuws</description>
<width>144</width>
<height>94</height>
</image>
<item>
<title>dominic deegan</title>
<description>dominic deegan zomg rofl</description>
<link>http://www.dominic-deegan.com</link>
<guid isPermaLink="false">E59DDA22-EC31-473A-BB49-145C84A4FFFF</guid>
<pubDate>Mon, 14 May 2007 21:53:04 +0200</pubDate>
</item>
<item>
<title>games-workshop.nl</title>
<description>games-workshop zomg</description>
<link>http://www.games-workshop.com</link>
<guid isPermaLink="false">8FFC7EA0-5E0C-446E-980A-49F07FD78C7E</guid>
<pubDate>Mon, 14 May 2007 21:52:31 +0200</pubDate>
</item>
<item>
<title>financieel dagblad</title>
<description>de site van het financieel dgablad</description>
<link>http://www.fd.nl</link>
<guid isPermaLink="false">CD64BA67-5019-4C2B-BAB7-A72F97EBA119</guid>
<pubDate>Mon, 14 May 2007 21:43:29 +0200</pubDate>
</item>
</channel>
</rss>

already thanks,

ryilan

bjk2007
29 May 2007, 09:04 AM
If you want to embed it in a page, you need a server side script to parse the file and place it in to the page. There's some available on the internet. There's also sites that will handle it for you. All you have to do is put a <script> tag in the page. Here's a link to one.
http://landmark-project.com/feed2js/build.php
If you need any more help feel free to ask.