You are here

function biblio_feed in Bibliography Module 5

1 call to biblio_feed()
biblio_db_search in ./biblio.module
1 string reference to 'biblio_feed'
biblio_menu in ./biblio.module
Implementation of hook_menu().

File

./biblio.module, line 1947

Code

function biblio_feed($result = null, $title = null) {
  if (empty($result)) {
    $result = db_query_range(db_rewrite_sql("SELECT n.nid,n.title,n.created,b.* FROM {node} AS n left join {biblio} b  on n.vid=b.vid WHERE n.type = 'biblio' AND n.status=1 ORDER BY n.created DESC"), 0, variable_get('biblio_rss_number_of_entries', 10));
  }
  $channel['title'] = $title ? $title : variable_get('site_name', 'Drupal') . ' - ' . t("New Publications");
  node_feed($result, $channel);
}