Is atom feed included
FlemmingLeer - February 19, 2006 - 21:27
| Project: | Xstatistics |
| Version: | 4.6.x-1.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
Thanks for the module.
But I was wondering.
Is atom feed subscriptions included in the summary ?
this one: ´People subscribed to your RSS feed´

#1
what are atom feeds? Can you give me examples?
#2
From the Atom feed module
#3
what urls and so are the atom module's feeds available on?
#4
I´m not the maker of atom feeds, but there are these urls feeds available at:
domainname.com/atom/feed
blog
/blog/atom/feed
individual blogs
/blog/arg(1)/atom/feed
From the current atom feed module:
// $Id: atom.module,v 1.13.2.5 2006/01/13 04:02:23 deekayen Exp $
this is the code used to generate the atom feeds:
function atom_menu($may_cache) {$items = array();
if(arg(0) == 'blog' && is_numeric(arg(1))) {
drupal_set_html_head('<link rel="alternate" type="application/atom+xml" title="Atom" href="'. url('blog/'. arg(1) .'/atom/feed', NULL, NULL, TRUE) .'" />');
}
elseif(arg(0) == 'blog') {
drupal_set_html_head('<link rel="alternate" type="application/atom+xml" title="Atom" href="'. url('blog/atom/feed', NULL, NULL, TRUE) .'" />');
}
else {
drupal_set_html_head('<link rel="alternate" type="application/atom+xml" title="Atom" href="'. url('atom/feed', NULL, NULL, TRUE) .'" />');
}
if ($may_cache) {
$items[] = array('path' => 'atom/feed', 'title' => t('atom feed'),
'callback' => 'atom_feed',
'access' => user_access('access content'),
'type' => MENU_CALLBACK);
$items[] = array('path' => 'blog/atom/feed', 'title' => t('atom blog feed'),
'callback' => 'atom_blog_feed',
'access' => user_access('access content'),
'type' => MENU_CALLBACK);
}
if (is_numeric(arg(1))) {
$items[] = array('path' => 'blog/'. arg(1) .'/atom/feed', 'title' => t('atom blog feed'),
'callback' => 'atom_user_blog_feed',
'access' => user_access('access content'),
'type' => MENU_CALLBACK);
}
return $items;
}
#5
Then the answer is:
Yes, they are included.
#6