-
Notifications
You must be signed in to change notification settings - Fork 1
RSS
http://www.xul.fr/en-xml-rss.html https://github.com/lkiesow/python-feedgen
http://www.makeuseof.com/tag/how-to-create-an-rss-feed-for-your-site-from-scratch/
An RSS feed for your site is essentially an XML file.
To create an RSS feed, you start off the RSS file as follows:
Diff between atom/rss format
Atom is the name of an XML-based Web content and metadata syndication format, and an application-level protocol for publishing and editing Web resources belonging to periodically updated websites.
Atom is a relatively recent spec and is much more robust and feature-rich than RSS. For instance, where RSS requires descriptive fields such as title and link only in item breakdowns, Atom requires these things for both items and the full Feed.
####### BASIC RSS STATIC FILE #############
<----- open a channel tag which will contain all info
<title>MakeUseOf RSS Feed</title> http://www.makeuseof.com/ Cool Websites, Software and Internet TipsNext up we have the actual content of the RSS feed that will be displayed as distinct entries when viewed using a feed reader. Each entry is contained within a pair of and must have the following content at least:
<title>Entry Title</title> Link to the entry http://example.com/item/123 Sat, 9 Jan 2010 16:23:41 GMT [CDATA[ This is the description. ]]<----- close
<------ close############################################
Now, let's make the feed dynamic. All we are going to do is to fetch the entries from the database and insert them into appropriate tags