/[drupal]/contributions/modules/article/article.module
ViewVC logotype

Diff of /contributions/modules/article/article.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.23.2.5.2.1.2.13.2.2, Sat Dec 6 00:12:02 2008 UTC revision 1.23.2.5.2.1.2.13.2.3, Thu Jan 1 19:07:42 2009 UTC
# Line 1  Line 1 
1  <?php // -*-php-*-  <?php // -*-php-*-
2  // $Id: article.module,v 1.23.2.5.2.1.2.13.2.1 2008/08/29 20:30:37 msameer Exp $  // $Id: article.module,v 1.23.2.5.2.1.2.13.2.2 2008/12/06 00:12:02 msameer Exp $
3    
4  /**  /**
5    Article Module - an easy to use integrated article management module.    Article Module - an easy to use integrated article management module.
# Line 188  function article_admin_settings() { Line 188  function article_admin_settings() {
188   */   */
189  function article_page() {  function article_page() {
190    if (arg(1) == 'feed') {    if (arg(1) == 'feed') {
191      node_feed(taxonomy_select_nodes(article_get_article_terms(), 'or', variable_get('article_index_depth', 'all'), FALSE));      // TODO: Should we set a channel title and URL here ?
192        $nids = array();
193        $obj = taxonomy_select_nodes(article_get_article_terms(), 'or', variable_get('article_index_depth', 'all'), FALSE);
194        while ($node = db_fetch_object($obj)) {
195          $nids[] = $node->nid;
196        }
197        node_feed($nids);
198      return;      return;
199    }    }
200    

Legend:
Removed from v.1.23.2.5.2.1.2.13.2.2  
changed lines
  Added in v.1.23.2.5.2.1.2.13.2.3

  ViewVC Help
Powered by ViewVC 1.1.2