public function FlickrFeedsParser::getMappingSources in Flickr 7
File
- feeds/
FlickrFeedsParser.inc, line 36 - Flickr feeds parser class.
Class
- FlickrFeedsParser
- Class definition for Flickr Parser.
Code
public function getMappingSources() {
return parent::getMappingSources() + array(
'title' => array(
'name' => t('Title'),
'description' => t('Flickr photo title.'),
),
'link' => array(
'name' => t('Link'),
'description' => t('Link to the Flickr photo page.'),
),
'media' => array(
'name' => t('Media'),
'description' => t('Link to the photo (or video "thumb") itself.'),
),
'date_taken' => array(
'name' => t('Date taken'),
'description' => t('ISO 8601 format (e.g. 2011-12-06T14:24:28-08:00).'),
),
'description' => array(
'name' => t('Description'),
'description' => t('Flickr photo description.'),
),
'published' => array(
'name' => t('Published'),
'description' => t('ISO 8601 format (e.g. 2011-12-06T14:24:28-08:00).'),
),
'author' => array(
'name' => t('Author'),
'description' => t('Email (username).'),
),
'author_id' => array(
'name' => t('Author ID'),
'description' => t('E.g. 98518260@N02'),
),
'tags' => array(
'name' => t('Tags'),
'description' => t('Space separated list of terms.'),
),
);
}