28, May 2012

rss parser script - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: rss parser script
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: rss parser script  (Read 2295 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« on: Aug 17, 2006, 08:59:55 pm »

Hello,

I used until now magpie to parse RSS feeds, but just noticed that the project is not really active anymore.

what is a good (OOP) rss parser script (php4)?

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #1 on: Aug 18, 2006, 11:22:38 am »

Do you want to parse multiple feeds or just a specific one?

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Aug 18, 2006, 11:28:18 am »

Do you want to parse multiple feeds or just a specific one?

(you was a little to fast, according my PM)
I'm using Magpie at the moment, there its possible to create multiple objects...
like
Code:
<?php
$rss 
fetch_rss("http://del.icio.us/rss/tag/PHP");
// and
$rss2 fetch_rss("http://del.icio.us/rss/tag/CSS");

I like to have a similar script...what about a pear project?

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #3 on: Aug 18, 2006, 11:47:02 am »

I am using magpiee too, it was looking the most promissing while I was searching for it, but you can allways can make some code of your own for parsing feeds Smiley

I will post some snippets when I will get back to office.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Aug 18, 2006, 11:50:17 am »

I am using magpiee too, it was looking the most promissing while I was searching for it, but you can allways can make some code of your own for parsing feeds Smiley

I will post some snippets when I will get back to office.


I like to use a 3rd party script because I don't need to invent a new wheel Wink it's about parsing standard RSS.

I have several problems with magpie and invalid code and try to solve this with a different class, by the way magpie is a little buggy....

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #5 on: Aug 18, 2006, 11:52:49 am »

Should we start our own open source class for this?

Just kidding I can't have time for this at this moment Sad

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: Aug 18, 2006, 11:56:12 am »

Should we start our own open source class for this?

Just kidding I can't have time for this at this moment Sad

I will check this two PEAR classes next:
http://pear.php.net/package/XML_Parser (the basic xml class)
and
http://pear.php.net/package/XML_RSS/

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #7 on: Aug 18, 2006, 12:07:51 pm »

Let us know your conclusions Wink

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #8 on: Aug 18, 2006, 02:58:50 pm »

Pear might be OK but is the rss class is not wel documented... (took a lot of time to get this working, and I hate this slow pear server)

I found this class:
http://lastrss.webdot.cz/

that class looks OK is well documented but I'm asking me what happens if the files are "bigger"...

The good thing is that the script doesn't stop if the data between the nodes from the xml file is not valid...

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3726
Tags : open source xml rss snippets PEAR Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: rss parser script
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 03:09:14 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.