28, May 2012

RSS feed 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 feed parser script
« previous next »
Pages: 1 [2] Print
Instabuck - The easy way to sell digital products online

Author Topic: RSS feed parser script  (Read 4045 times)
Pinoy Webmaster
.com pimp
*****
Gender: Male
Posts: 1126
6048 credits
Members referred : 0


Philippine Beaches


« Reply #20 on: Jun 10, 2006, 10:40:47 am »

i is a valid feed from yahoo. here is the url:

http://api.search.yahoo.com/ImageSearchService/rss/imageSearch.xml?appid=yahoosearchimagerss&query=filipina

my problem is i cant use the thumbnail images generated by them. so far i can only show the image from the actual source.


Last blog : Bingag Beach, Bohol, Philippines
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #21 on: Jun 10, 2006, 12:23:39 pm »

yes you can do this just use the magpie class

Pinoy Webmaster
.com pimp
*****
Gender: Male
Posts: 1126
6048 credits
Members referred : 0


Philippine Beaches


« Reply #22 on: Jun 10, 2006, 12:53:54 pm »

sorry olaf, im just a little bit geek, i dont even know what you mean by "magpie class"... please explain further. thanks!

anyway, the images that i want to display is within the <media:thumbnail url> tags and according to Michael Sullivan from threads at sourceforge:

"...magpie can parse rss2.0 enclosure but not mediaRSS, though this is needed and its on my to-do list to hack magpie to handle mRSS..."
« Last Edit: Jun 10, 2006, 01:31:36 pm by vbignacio »


Last blog : Bingag Beach, Bohol, Philippines
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #23 on: Jun 10, 2006, 04:06:58 pm »


start with the examples:

http://magpierss.sourceforge.net/

Pinoy Webmaster
.com pimp
*****
Gender: Male
Posts: 1126
6048 credits
Members referred : 0


Philippine Beaches


« Reply #24 on: Jun 11, 2006, 02:20:40 am »

what im looking for is a script to parse those media tags because those yahoo feeds use mediaRSS


Last blog : Bingag Beach, Bohol, Philippines
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #25 on: Jun 11, 2006, 09:59:56 am »

yes right, magpie is an easy to use use parser script, give it  a try the documentation is good too

Pinoy Webmaster
.com pimp
*****
Gender: Male
Posts: 1126
6048 credits
Members referred : 0


Philippine Beaches


« Reply #26 on: Jun 12, 2006, 02:53:29 am »

yes, i couldnt agree with you more. ive been using magpie already on my other feeds and its great. its just this image feed from yahoo (see link above) that i have a problem with. this is what i did and no image displayed:

<img src="'.$item['media:thumbnail url'].'" alt="'.$item['title'].'" border="0">

is this correct?


Last blog : Bingag Beach, Bohol, Philippines
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #27 on: Jun 12, 2006, 06:08:20 am »

try print_r($item) and show us (via link) the array tree

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2496
Tags : php yahoo rss Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: 1 [2] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: RSS feed parser script
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 11:08:17 am





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.