public function FeedsSitemapParser::getMappingSources in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsSitemapParser.inc \FeedsSitemapParser::getMappingSources()
- 7 plugins/FeedsSitemapParser.inc \FeedsSitemapParser::getMappingSources()
Implements FeedsParser::getMappingSources().
Overrides FeedsParser::getMappingSources
File
- plugins/
FeedsSitemapParser.inc, line 43 - Contains FeedsSitemapParser and related classes.
Class
- FeedsSitemapParser
- A parser for the Sitemap specification http://www.sitemaps.org/protocol.php.
Code
public function getMappingSources() {
return array(
'url' => array(
'name' => t('Item URL (link)'),
'description' => t('URL of the feed item.'),
),
'lastmod' => array(
'name' => t('Last modification date'),
'description' => t('Last modified date as UNIX time GMT of the feed item.'),
),
'changefreq' => array(
'name' => t('Change frequency'),
'description' => t('How frequently the page is likely to change.'),
),
'priority' => array(
'name' => t('Priority'),
'description' => t('The priority of this URL relative to other URLs on the site.'),
),
) + parent::getMappingSources();
}