It appears that http_request_get_common_syndication() will return the URL of the first feed that it finds on a page. It also has a comment // @TODO: something more intelligent?. One suggestion would be to invoke a hook that allows other modules to choose which feed to return.

An example implementation could be in Feeds: Vimeo, see #1866956: Autocorrect Vimeo RSS URLs to use Simple API. Vimeo gives an RSS feed, but it provides far less information than the XML feed. If this hook existed Feeds: Vimeo could detect the Vimeo RSS feed and redirect it to the XML feed. Currently the only way to achieve this seems to be to extend HTTPFetcher.

Comments

mstrelan’s picture

Issue summary: View changes

Link was escaped inside tags

bluegeek9’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
//www.flaticon.com/free-icons/thank-you Thank you for your contribution!

Unfortunately, Drupal 7 is End of Life and no longer supported. We strongly encourage you to upgrade to a supported version of Drupal.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.