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
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

Bèr Kessels - February 22, 2006 - 16:34

what are atom feeds? Can you give me examples?

#2

FlemmingLeer - February 22, 2006 - 18:13

From the Atom feed module

#3

Bèr Kessels - February 22, 2006 - 19:09

what urls and so are the atom module's feeds available on?

#4

FlemmingLeer - February 23, 2006 - 11:07

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

Bèr Kessels - February 23, 2006 - 11:50
Status:active» fixed

Then the answer is:
Yes, they are included.

#6

Anonymous - March 9, 2006 - 12:00
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.