[PHP]FullRss - I need advice!

cyklotrial

Regular Member
Joined
Oct 13, 2008
Messages
248
Reaction score
82
Hello!

I created script witch is making Full-Text Feeds from Partial-text RSS feeds.
http://bestgoogletrends.com/fullrss/

It's working correctly but...it's collecting only small image's from partial rss and i want to collect big from site.
Example:
Rss with small IMG:http://rss.msnbc.msn.com/id/3032506/device/rss/rss.xml
Site with big IMG: http://www.msnbc.msn.com/id/32309527/ns/world_news-washington_post/


I to scarape only sensible img's and to pass unnecessary (ads,thumb for other posts etc)

Is there some universal method to do this?

regards
cyklotrial
 
You could check for the size of the image. if its below 10k it is usually just a thumbnail.
Then check for image dimension. if it is something like 125x125 or 468x60, it's an ad.
 
Back
Top