RSS

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

RSS

Post by fractalvibes »

All,

I was asked about using RSS within a particular site. After searching and reading a little over the past few hours I see how to create an RSS file, and how I could create such via PHP and a database on the fly.

What is involved with Joe User consuming an RSS file in a typical
html page? Or is this a strict PHP to PHP or PHP to some script thing?
There has to be some de-serializing process to parse the xml back into
text for inclusion into the standard plain html page.

Sorry if this is a `For Dummies` post, but am only 4 hours into the quest and thought perhaps you all might have some quick insites into this topic
that could shorten the RSS sojourn....

fv
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

is your script providing or consuming a rss feed?
what's done with the xml data is usually up to the client and there are a lot of free rss reader (either stand-alone applications or integrated)
see also: http://www.developerdotstar.com/mag/rss ... arter.html
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post by fractalvibes »

Thanks for the reply, Volka! I will write a script to provide the feed, but I will need also to provide something as an example of how to handle it on their site. If they could just put a reference in their html to deserialize and translate into pure html, that would be ideal.

thanks,

fv
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

you might use a style sheet to let the client display the xml data in a more convinient way.
e.g. http://www.nisto.com/standard/rss/

with an xsl transformation you might do the same server-side (see also: http://www.php.net/manual/en/ref.xslt.php)
Post Reply