Cheryl D. Wise wrote:
What is your favorite (preferably easy to use since my head is killing me)
xml parser?

I'm supposed to be doing a presentation on using rss feeds on websites
Saturday and I swear I'm brain dead today. I'm looking for asp, asp.net, php
and any other ones you may suggest for displaying rss feeds on a web page in
your own site.


I'm doing this with Perl. I followed this article
http://www.webreference.com/perl/tutorial/8/
and then modified the script
http://www.webreference.com/perl/tutorial/8/rss2html.pl
My only changes were to hard code the URL to be fetched and then change the HTML generated. The HTML could easily be placed in a template.


I run my script once a day via cron. The script writes a fragment of HMTL that is included in the final page by PHP
http://www.shefen.com/
I get an email if it can't fetch the requested RSS file.


I don't have any simple examples in PHP. The only time I've worked with newsfeeds in PHP has been part of larger portal-type applications, where the specifics about the newsfeeds are stored in a data table, for example the title, URL and how often to update the local copy.

Sheila



____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub


________________ http://www.wdvl.com _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



Reply via email to