Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
d7ba6133
Commit
d7ba6133
authored
15 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
Add descriptions to FeedsSyndicationParser.
parent
f12b40fc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plugins/FeedsNodeProcessor.inc
+1
-1
1 addition, 1 deletion
plugins/FeedsNodeProcessor.inc
plugins/FeedsSyndicationParser.inc
+28
-7
28 additions, 7 deletions
plugins/FeedsSyndicationParser.inc
with
29 additions
and
8 deletions
plugins/FeedsNodeProcessor.inc
+
1
−
1
View file @
d7ba6133
...
...
@@ -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'
),
...
...
This diff is collapsed.
Click to expand it.
plugins/FeedsSyndicationParser.inc
+
28
−
7
View file @
d7ba6133
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment