Skip to content
Snippets Groups Projects
Commit d7ba6133 authored by Alex Barth's avatar Alex Barth
Browse files

Add descriptions to FeedsSyndicationParser.

parent f12b40fc
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,7 @@ class FeedsNodeProcessor extends FeedsProcessor {
$targets = array(
'title' => array(
'name' => t('Title'),
'description' => t('The title of the node'),
'description' => t('The title of the node.'),
),
'status' => array(
'name' => t('Published status'),
......
......@@ -31,13 +31,34 @@ class FeedsSyndicationParser extends FeedsParser {
*/
public function getMappingSources() {
return array(
'title' => t('Title'),
'description' => t('Description'),
'author' => t('Author'),
'timestamp' => t('Published date'),
'url' => t('Item URL (link)'),
'guid' => t('Item GUID'),
'tags' => t('Categories'),
'title' => array(
'name' => t('Title'),
'description' => t('The title of the feed item.'),
),
'description' => array(
'name' => t('Description'),
'description' => t('Description of the feed item.'),
),
'author' => array(
'name' => t('Author'),
'description' => t('Author of the feed item (string).'),
),
'timestamp' => array(
'name' => t('Published date'),
'description' => t('The published date as UNIX time GMT of the feed item.'),
),
'url' => array(
'name' => t('Item URL (link)'),
'description' => t('The URLl of the feed item.'),
),
'guid' => array(
'name' => t('Item GUID'),
'description' => t('The Global Unique Identifier of the feed item.'),
),
'tags' => array(
'name' => t('Categories'),
'description' => t('An array of categories that have been assigned to the feed item.'),
),
);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment