Help - Search - Members - Calendar
Full Version: RSS Feeds
Invision Power Services > Community Forums > Community General Chat
.Nelson
Whats up guys w00t.gif Alright so i'm trying to export a rss feed from one of my forums to intergrate into a external site. How would i go about doing this? How would the link look? i get this code...

CODE
<rss version="2.0">
<channel>
<title>Next Gen</title>
<description>Next Generation News</description>
<link>http://www.full-rev.com/forum/index.php</link>
<pubDate>Sun,  8 Jan 2006 11:10:10 -0800</pubDate>
<ttl>60</ttl>

    <item>
<title>CES 2006: 4 Terabyte</title>

    <link>
http://www.full-rev.com/forum/index.php?showtopic=308
</link>

    <description>
New Atom Chip to be released in 500 GB storage flash drive for laptops. Transfers clocked at<br />4 GB per second transfers. Real display found in CES. Will work with Windows XP and Linuz but <br />no test yet on Apple. Later an available 4 TB flash drive in laptops expected to sell for over<br />$17,000!
</description>
<pubDate>Sun,  8 Jan 2006 08:35:15 -0800</pubDate>
<guid isPermaLink="false">308</guid>
</item>
</channel>
</rss>


Now if i put that code in a html file how would that page refresh with the new content when new things are posted in the forum? How do i make it so the code will change with the forum posts?
Starnox
It's an XML file you can't make it into a HTML file. You could either use PHP5 to extract the data from the XML file and turn it into a HTML page. Or you could use XSLT to style your XML file.
.Nelson
QUOTE(Starnox @ Jan 8 2006, 04:07 PM) *
It's an XML file you can't make it into a HTML file. You could either use PHP5 to extract the data from the XML file and turn it into a HTML page. Or you could use XSLT to style your XML file.


what is XSLT?
Starnox
http://www.w3schools.com/xsl/default.asp

you can also use CSS if you really want to http://www.w3schools.com/xml/xml_display.asp
Michael P
QUOTE(Starnox @ Jan 8 2006, 09:07 PM) *
It's an XML file you can't make it into a HTML file. You could either use PHP5 to extract the data from the XML file and turn it into a HTML page. Or you could use XSLT to style your XML file.

You could also use PHP4 to parse the XML data and then integrate it to your website.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.