HaveF / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

atom ids are identified as links #416

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

>>> import feedparser
>>> atomfd = 
feedparser.parse('http://bldgblog.blogspot.com/feeds/posts/default')
>>> atomfd.entries[0].guid
u'tag:blogger.com,1999:blog-8663346.post-6589476380961282518'
>>> atomfd.entries[0].guidislink     
True
>>> rssfeed = 
feedparser.parse('http://bldgblog.blogspot.com/feeds/posts/default?alt=rss')
>>> rssfeed.entries[0].guid
u'tag:blogger.com,1999:blog-8663346.post-6589476380961282518'
>>> rssfeed.entries[0].guidislink
False

What is the expected output? What do you see instead?

I expect guidislink to return False for the atom feed.

What version of the product are you using? On what operating system?

Python 2.7.5 (default, Oct 15 2013, 11:31:09) 
[GCC 4.2.1 20070719 ] on openbsd5
>>> feedparser.__version__
'5.1.3'

Original issue reported on code.google.com by ted.unan...@gmail.com on 3 Nov 2013 at 7:39