Small, but I think useful hack. Added a top posts only atom feed, so people can choose directly from their browser which feed they need.
This commit is contained in:
parent
97eef2b88c
commit
eeb1c463e3
@ -34,7 +34,8 @@ function channel_init(&$a) {
|
|||||||
$profile = argv(1);
|
$profile = argv(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
$a->page['htmlhead'] .= '<link rel="alternate" type="application/atom+xml" href="' . $a->get_baseurl() . '/feed/' . $which .'" />' . "\r\n" ;
|
$a->page['htmlhead'] .= '<link rel="alternate" type="application/atom+xml" title="' . t('Only posts') . '" href="' . $a->get_baseurl() . '/feed/' . $which . '?top=1" />' . "\r\n" ;
|
||||||
|
$a->page['htmlhead'] .= '<link rel="alternate" type="application/atom+xml" title="' . t('Posts and comments') . '" href="' . $a->get_baseurl() . '/feed/' . $which . '" />' . "\r\n" ;
|
||||||
|
|
||||||
|
|
||||||
// Not yet ready for prime time
|
// Not yet ready for prime time
|
||||||
|
Reference in New Issue
Block a user