feedapi.module

Version 1.23.2.119.2.82 (checked in on 2009/11/05 at 18:07:10 by aronnovak)

Constants

NameDescription
FEEDAPI_CRON_ALWAYS_REFRESH
FEEDAPI_CRON_DEFAULT_REFRESH_TIME
FEEDAPI_CRON_FEEDS
FEEDAPI_CRON_NEVER_REFRESH
FEEDAPI_CRON_STAT_LIFETIME
FEEDAPI_NEVER_DELETE_OLD
FEEDAPI_TIMEOUT

Functions

NameDescription
feedapi_blockImplementation of hook_block().
feedapi_content_type_submitStore per-content-type settings
feedapi_content_type_validatePrevent users to use the same weight for two or more parsers and processors because FeedAPI cannot handle this. And this is not neccessary too.
feedapi_create_nodeCreate a feedapi node programatically.
feedapi_cronImplementation of hook_cron().
feedapi_cron_timeCheck for time limits in cron processing.
feedapi_enabled_typeDetermines wether feedapi is enabled for given node type. If parser or processor is passed in, this function determines wether given parser or processor is enabled for given node type.
feedapi_expireDelete expired items and return informations about the feed refreshing
feedapi_expire_itemCallback for expired items. Does the actual deleting
feedapi_feedapi_settings_formImplementation of hook_feedapi_settings_form().
feedapi_form_alterImplementation of hook_form_alter().
feedapi_get_natural_nameGet the module-defined natural name of FeedAPI parser or processor Define this name in hook_help():
feedapi_get_settingsRetrieve settings per content type or per node.
feedapi_get_typesReturn a list of FeedAPI-enabled content-types list, ready-to-use for #options at FormsAPI
feedapi_helpImplementation of hook_help().
feedapi_invokeInvoke feedapi API callback functions.
feedapi_linkImplementation of hook_link().
feedapi_load_nodeLoad node by URL.
feedapi_menuImplementation of hook_menu().
feedapi_nodeapiImplementation of hook_nodeapi().
feedapi_node_typeImplementation of hook_node_type().
feedapi_node_validateBuild feed object on validate and submit. See feedapi_form_alter on finding out how it is called (via FormAPI)
feedapi_permImplementation of hook_perm().
feedapi_purge_confirmAsk for confirmation before deleting all the items
feedapi_purge_confirm_submitSubmitted items purging form. Drop all the items.
feedapi_refreshRefresh a feed node (= run enabled processors on it).
feedapi_simplified_formThis is shown instead of normal node form when the simplified form is chosen at the settings
feedapi_simplified_form_submitCreate the node object and save
feedapi_simplified_form_validateValidates simplified form.
feedapi_themeImplementation of hook_theme().
feedapi_views_apiImplementation of hook_node_views().
_feedapi_build_feed_objectBuilds feed object ready to be sticked onto node.
_feedapi_call_parsersExecute the enabled parsers and create an unified output
_feedapi_format_settingsReturns per content type settings ordered by weight and only those that are turned on.
_feedapi_get_statReturn the type-specific statistics data
_feedapi_insertInsert feedapi data to the DB when it's a new for for FeedAPI
_feedapi_invokeHelper function for feedapi_invoke().
_feedapi_invoke_purgeHelper function for feedapi_invoke(). Delete all feed items of a feed.
_feedapi_invoke_refreshHelper function for feedapi_invoke(). Refresh the feed, call the proper parsers and processors' hooks. Don't call this function directly, use feedapi_refresh() instead.
_feedapi_op_access
_feedapi_populateSet default value of $form elements if present in $settings.
_feedapi_populate_get_settingGets the setting for '#parent' (there must be a more efficent way)
_feedapi_process_textFilter texts from parsers
_feedapi_sanitize_processorsRemove non-existing processors from the processors arrays
_feedapi_store_settingsStores settings per content type or per node.
_feedapi_store_statStore statistics information
_feedapi_updateUpdate feed data of an existing feed
_feedapi_update_rateCalculate the average between-update time