crss feed included too early in <head>
mfm - January 8, 2009 - 13:55
| Project: | Comment RSS |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Dave Reid |
| Status: | duplicate |
Jump to:
Description
Comment RSS is included before the "original" RSS feed in the site head, so RSS harvesters like Technorati do collect the Comment RSS instead of the Blog RSS. Please provide an option to control, where crss is placed in the header (before/behind "original" rss).
Example:
<head profile="http://gmpg.org/xfn/11">
<title>Development Site | ... die ewige Baustelle</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="alternate" type="application/rss+xml" title="Development Site - All comments" href="/de/crss" />
...
<link rel="alternate" type="application/rss+xml" title="Development Site RSS" href="http://www.menzer.net/de/rss.xml" />
...
</head>
#1
I had hit this issue a while back for version 5: #176377: Option to disable feeds in header and implement block with links to comment rss feeds
I had created a patch on that issue that allowed you to suppress the link in the header (since there was no way to make the link come after the "original" RSS feed) and created a block with a link to the current node's comment RSS feed.
A patch to core to allow for weighting of links in the site head is the only way that I could see to truly fix this otherwise.
#2
I think if we just add a module weight of 1 that this should be added after the node/system modules.
#3
Ok after a little more investigation this will take a little bit more work. It'd be easier if node.module add it's default RSS feed in node_init(), but it doesn't. It adds it in http://api.drupal.org/api/function/node_page_default/6. For now, marking as postponed.
#4
This is actually a duplicate of #176377: Option to disable feeds in header and implement block with links to comment rss feeds