RSS news section |
[eluser]Jonas G[/eluser]
Hi all I need to make a 'news' page that displays sports news from different rss feeds. I don't have any experience doing this thing so I would greatly appreciate answers/opinions to the following: * Are there any "legal" issues with grapping news from eg. bbc. (http://newsrss.bbc.co.uk/rss/sportonline...ge/rss.xml) and displaying them on your own site? * What's better: display their rss or make a parser that scans their xml feed and imports to a database? * Will google punish you for "duplicate content" when you output another page's content? * Are there any CI libraries I should look into when going into this project? As you can tell I'm a complete newbie on this field and just want to do things the right way the first time around Jonas
[eluser]pistolPete[/eluser]
[quote author="Jonas G" date="1235588939"]Are there any "legal" issues with grapping news from eg. bbc. (http://newsrss.bbc.co.uk/rss/sportonline...ge/rss.xml) and displaying them on your own site? [/quote] Read their terms of use: Quote:Intellectual Property [quote author="Jonas G" date="1235588939"]What's better: display their rss or make a parser that scans their xml feed and imports to a database?[/quote] Displaying an RSS feed? It's just a plain XML file, how would you "display" it? If you want to make it readable for your clients, you have to parse it and display it using HTML. [quote author="Jonas G" date="1235588939"]Are there any CI libraries I should look into when going into this project?[/quote] Search for "rss", "simplepie", "feed" etc. on this forum/ wiki. Read http://68kb.com/2007/10/31/codeigniter-and-simplepie/
[eluser]Jonas G[/eluser]
Quote:Read their terms of useOK - right. I should have spotted that one. In general though, would a site that feeds their news look down upon another site that posts their news (not as their own and linking to the original site)? Quote:Displaying an RSS feed? It’s just a plain XML file, how would you “display” it? If you want to make it readable for your clients, you have to parse it and display it using HTML.Right. That was what I was going to do. I meant if it is better to parse it and then display it - or make a cron script that parses the feed and saves it to a local database for displaying. But I see that all this is being solved this simplepie's caching system. Quote:Search for “rss”, “simplepie”, “feed” etc. on this forum/ wiki.Thanks - simplepie is just what I need! |
Welcome Guest, Not a member yet? Register Sign In |