Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When processing an atom feed, if the link element follows an image, textinput, summary, tagline, subtitle, logo or info attribute within an entry, that link will be attributed to the feed URL instead of the entry. Atom feeds which do not have a link attribute before those other elements (most, including many atom feed samples around the web), will have the same link URL for every entry as a result.
The aggregator module is virtually unusable for atom feeds unless attributes within the entry are ordered to accommodate.
Parses correctly
<title>This is fine</title>
<link href="http://example.org/" />
<summary>The link appears before the summary.</summary>
Parses incorrectly
<title>We have a problem</title>
<summary>The summary appears before the link, and so we have a problem</summary>
<link href="http://example.org/" />
Comments
Comment #1
carlnewton CreditAttribution: carlnewton commentedBump for attention.
Comment #2
carlnewton CreditAttribution: carlnewton commentedBump. This is quite a serious issue.
Comment #3
carlnewton CreditAttribution: carlnewton commentedBump
Comment #4
carlnewton CreditAttribution: carlnewton commentedBump again.
Comment #5
technicalknockout CreditAttribution: technicalknockout commentedI am also seeing this issue. In the modules/aggregator/tests/aggregator_test_atom.xml file, I've messed around with the order of the tags nested in the <entry> tag, and the tests fail.
Comment #6
carlnewton CreditAttribution: carlnewton commentedBump
Comment #7
carlnewton CreditAttribution: carlnewton commentedStill bumping!
Comment #8
technicalknockout CreditAttribution: technicalknockout commentedwell, this issue isn't looking like it's getting 'major' priority ... if this is issue is affecting a site you're working on now, you might try using feeds module. I think it's much more robust and flexible. I think it also should be able to do all the core aggregator module does plus more. I haven't used recent versions for aggregation though, so I'd be curious if it works for you.
Comment #9
carlnewton CreditAttribution: carlnewton commentedThanks for the heads up. I've asked the developer of a feed we're importing to change the order of attributes to accommodate, so I don't need a patch right now, but I just wanted to make sure this issue got the attention it deserves, but if feeds does exactly what the aggregator module does and more, I suppose that could be why this isn't considered important at the moment.
Comment #10
nsjski CreditAttribution: nsjski commentedThis is an example of an feed which cannot be imported with aggregator
http://www.birkie.com/news_rss_feed?tags=104564
Aggregator does not find the link or the GUID for the individual feed items. I presume this is part of this issue, because the feed item includes an image before its link and GUID.
I can ask the website owner about it, but their expertise is snow and not software (a nonprofit organization of cross country skiers), so I think my chances of success are limited.
Comment #11
carlnewton CreditAttribution: carlnewton commentedYes it seems to be the same issue. I think your options are waiting for a rewrite or using the Feeds module as recommended above. Waiting for a rewrite might take some time because it appears to be a large task, and I'm not sure if anyone is up to it at this point.
Comment #12
nsjski CreditAttribution: nsjski commentedThanks, I'll take a look at Feeds.
Comment #12.0
nsjski CreditAttribution: nsjski commentedChanged wording
Comment #13
sandykadam CreditAttribution: sandykadam commented@carlnewton
Are you still having issue with this module? because I just checked using different RSS/xml atom feeds and it worked fine for me. Even I tried the URL which gave above.
Please confirm.