Recently blogger feeds started giving multiple links for every post (comments, rss for comments, 2 permalinks for the posts).
As a result the common syndication parser is picking the wrong link as a link to the story. In my case the stories ended up linking to the comments rss feed of that particular story. Simple pie parser does not have this problem.
Common parser seems to be picking the first
item of a story. Every link has a rel attribute describing the type of the link. The parser should probably pick the self or alternate link.
Here's on example of a links section from a blog
[...]</content>
<link rel='replies' type='application/atom+xml' href='http://xxxxx.blogspot.com/feeds/xxxxxxxx/comments/default' title='Post Comments'/>
<link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=xxxxxxx&postID=xxxxxxxxxxxxx&isPopup=true' title='0 Comments'/>
<link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/xxxxxxxxxxxx/posts/default/xxxxxxxxxxxxxxxxxxx?v=2'/>
<link rel='self' type='application/atom+xml' href='http://xxxxxxxxxx.blogspot.com/feeds/posts/default/xxxxxxxxxxxx'/>
<link rel='alternate' type='text/html' href='http://xxxxxxxxxxx.blogspot.com/2008/10/drought-figures.html' title=Drought figures'/>
<author>[...]
Comments
Comment #1
aron novakAre you sure that you use the most recent -dev version?
- line 404 of parser_common_syndication
Inside _parser_common_syndication_link, we search for alternate link.
I tried one blogger feed and it just works.
Comment #2
zis commentedI might have been using 1.3, i noticed it on my production server. Was it changed in 1.4?
Some blogger feeds now use feedburner to show the feeds. Those feeds work ok. Those that didn't opt to use feedburner are causing trouble. i will test it with 1.4 and report back.
Comment #3
zis commentedIssue was in 1.3
Fixed in 1.4
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.