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
Comment #0.0
mstrelan commentedLink was escaped inside
tagsComment #1
bluegeek9 commentedUnfortunately, Drupal 7 is End of Life and no longer supported. We strongly encourage you to upgrade to a supported version of Drupal.