![]() |
About RSS feeds - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: About RSS feeds (/showthread.php?tid=26100) |
About RSS feeds - El Forum - 01-06-2010 [eluser]AzizLight[/eluser] Hello everybody. A couple weeks ago I stumbled upon this post by Derek Allard about how to implement an RSS feed in CI. The post itself is very self-explanatory, but what I didn't understand is the RSS feed code. Here it is: Code: <?php Now it's the first time I actually try to build an RSS feed, so I don't know a thing about them. I did some research, and what I found is this code (and a couple other code similar code snippets): Code: <?xml version="1.0"?> What I don't understand is what are the xmlns attributes in the rss opening tag and the dc: tags. I know this doesn't really have anything to do with CI itself, but can somebody (try) to explain to me what Derek's code means please? About RSS feeds - El Forum - 01-06-2010 [eluser]Sbioko[/eluser] Use SimplePie and You'll be happy :-) About RSS feeds - El Forum - 01-06-2010 [eluser]AzizLight[/eluser] As far as I know SimplePie is to retrieve RSS feeds and display/style them easily. What I want to do is create my own RSS feed. Additionally, SimplePie is not actively developped anymore. Anyway, regardless of what I just wrote above, I don't want to rely on an external script for something as simple as RSS. Can anyone else try to answer my question please? About RSS feeds - El Forum - 01-06-2010 [eluser]flaky[/eluser] it is a namespace, to tell browsers where to find the document type definitions ( ~ xml schema) so it can render the page properly. But you can remove them, it'll still work as a charm for more reading - Wikipedia About RSS feeds - El Forum - 03-18-2010 [eluser]angeal99[/eluser] how to use simple pie accelerator to codeligniter?? i had problem with that |