Go to the source code of this file.
Functions | |
aggregator_page_last () | |
aggregator_page_source ($arg1, $arg2=NULL) | |
aggregator_page_category ($arg1, $arg2=NULL) | |
aggregator_feed_items_load ($sql) | |
_aggregator_page_list ($items, $op, $feed_source= '') | |
aggregator_categorize_items ($items, $feed_source= '') | |
aggregator_categorize_items_validate ($form, &$form_state) | |
aggregator_categorize_items_submit ($form, &$form_state) | |
theme_aggregator_categorize_items ($form) | |
template_preprocess_aggregator_wrapper (&$variables) | |
template_preprocess_aggregator_item (&$variables) | |
aggregator_page_sources () | |
aggregator_page_categories () | |
aggregator_page_rss () | |
theme_aggregator_page_rss ($feeds, $category=NULL) | |
aggregator_page_opml ($cid=NULL) | |
theme_aggregator_page_opml ($feeds) | |
template_preprocess_aggregator_summary_items (&$variables) | |
template_preprocess_aggregator_summary_item (&$variables) | |
template_preprocess_aggregator_feed_source (&$variables) |
Definition in file aggregator.pages.inc.
_aggregator_page_list | ( | $ | items, | |
$ | op, | |||
$ | feed_source = '' | |||
) |
Prints an aggregator page listing a number of feed items.
Various menu callbacks use this function to print their feeds.
$items | The items to be listed. | |
$op | Which form should be added to the items. Only 'categorize' is now recognized. | |
$feed_source | The feed source URL. |
Definition at line 116 of file aggregator.pages.inc.
References $op, $output, aggregator_categorize_items(), and theme().
Referenced by aggregator_page_category(), aggregator_page_last(), and aggregator_page_source().
aggregator_categorize_items_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Process aggregator_categorize_items() form submissions.
Definition at line 198 of file aggregator.pages.inc.
References db_query(), drupal_set_message(), and t().
aggregator_categorize_items_validate | ( | $ | form, | |
&$ | form_state | |||
) |
Validate aggregator_categorize_items() form submissions.
Definition at line 189 of file aggregator.pages.inc.
References form_error(), and t().
aggregator_feed_items_load | ( | $ | sql | ) |
Load feed items by passing a SQL query.
$sql | The query to be executed. |
Definition at line 85 of file aggregator.pages.inc.
References $result, db_fetch_object(), db_query(), and pager_query().
Referenced by aggregator_page_category(), aggregator_page_last(), and aggregator_page_source().
aggregator_page_categories | ( | ) |
Menu callback; displays all the categories used by the aggregator.
Definition at line 308 of file aggregator.pages.inc.
References $output, $result, db_fetch_object(), db_query(), db_query_range(), theme(), url(), and variable_get().
aggregator_page_category | ( | $ | arg1, | |
$ | arg2 = NULL | |||
) |
Menu callback; displays all the items aggregated in a particular category.
If there are two arguments then this function is called as a form.
$arg1 | If there are two arguments then $arg1 is $form_state. Otherwise, $arg1 is $category. | |
$arg2 | If there are two arguments then $arg2 is $category. |
Definition at line 62 of file aggregator.pages.inc.
References _aggregator_page_list(), aggregator_feed_items_load(), arg(), drupal_add_feed(), drupal_get_breadcrumb(), drupal_set_breadcrumb(), l(), t(), url(), and variable_get().
aggregator_page_last | ( | ) |
Menu callback; displays the most recent items gathered from any feed.
Definition at line 15 of file aggregator.pages.inc.
References _aggregator_page_list(), aggregator_feed_items_load(), arg(), drupal_add_feed(), t(), url(), and variable_get().
aggregator_page_opml | ( | $ | cid = NULL |
) |
Menu callback; generates an OPML representation of all feeds.
$cid | If set, feeds are exported only from a category with this ID. Otherwise, all feeds are exported. |
Definition at line 403 of file aggregator.pages.inc.
References $result, db_fetch_object(), db_query(), and theme().
aggregator_page_rss | ( | ) |
Menu callback; generate an RSS 0.92 feed of aggregator items or categories.
Definition at line 330 of file aggregator.pages.inc.
References $result, arg(), db_fetch_object(), db_query(), db_query_range(), theme(), and variable_get().
aggregator_page_source | ( | $ | arg1, | |
$ | arg2 = NULL | |||
) |
Menu callback; displays all the items captured from a particular feed.
If there are two arguments then this function is the categorize form.
$arg1 | If there are two arguments then $arg1 is $form_state. Otherwise, $arg1 is $feed. | |
$arg2 | If there are two arguments then $arg2 is feed. |
Definition at line 35 of file aggregator.pages.inc.
References _aggregator_page_list(), aggregator_feed_items_load(), arg(), check_plain(), drupal_set_title(), and theme().
aggregator_page_sources | ( | ) |
Menu callback; displays all the feeds used by the aggregator.
Definition at line 284 of file aggregator.pages.inc.
References $output, $result, db_fetch_object(), db_query(), db_query_range(), t(), theme(), url(), and variable_get().
template_preprocess_aggregator_feed_source | ( | &$ | variables | ) |
Process variables for aggregator-feed-source.tpl.php.
Definition at line 481 of file aggregator.pages.inc.
References check_url(), format_interval(), l(), link, t(), theme(), and url().
template_preprocess_aggregator_item | ( | &$ | variables | ) |
Process variables for aggregator-item.tpl.php.
Definition at line 255 of file aggregator.pages.inc.
References check_plain(), check_url(), format_date(), format_interval(), l(), link, t(), url(), and variable_get().
template_preprocess_aggregator_summary_item | ( | &$ | variables | ) |
Process variables for aggregator-summary-item.tpl.php.
Definition at line 461 of file aggregator.pages.inc.
References check_plain(), check_url(), format_interval(), link, and t().
template_preprocess_aggregator_summary_items | ( | &$ | variables | ) |
Process variables for aggregator-summary-items.tpl.php.
Definition at line 450 of file aggregator.pages.inc.
References check_plain(), and theme().
template_preprocess_aggregator_wrapper | ( | &$ | variables | ) |
Process variables for aggregator-wrapper.tpl.php.
Definition at line 246 of file aggregator.pages.inc.
References theme().