GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing pythonhosted.org — Feed Type and Version Detection — feedparser 5.2.0 documentation Feed Type and Version Detection¶Universal Feed Parser attempts to autodetect the type and version of the feeds it parses. There are many subtle and not-so-subtle differences between the different versions of RSS, and applications may choose to handle different feed types in different ways. Accessing feed version¶>>> d = feedparser.parse('http://feedparser.org/docs/examples/atom10.xml') >>> d.version 'atom10' >>> d = feedparser.parse('http://feedparser.org/docs/examples/atom03.xml') >>> d.version 'atom03' >>> d = feedparser.parse('http://feedparser.org/docs/examples/rss20.xml') >>> d.version 'rss20' >>> d = feedparser.parse('http://feedparser.org/docs/examples/rss20dc.xml') >>> d.version 'rss20' >>> d = feedparser.parse('http://feedparser.org/docs/examples/rss10.rdf') >>> d.version 'rss10' Here is the complete list of known feed types and versions that may be returned in
If the feed type is completely unknown, |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |