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
cc400b02
Commit
cc400b02
authored
15 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
#616486 Add descriptions to SimplePie parser mapping sources.
parent
f1fbebfd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/FeedsSimplePieParser.inc
+52
-14
52 additions, 14 deletions
plugins/FeedsSimplePieParser.inc
with
52 additions
and
14 deletions
plugins/FeedsSimplePieParser.inc
+
52
−
14
View file @
cc400b02
...
...
@@ -105,20 +105,58 @@ class FeedsSimplePieParser extends FeedsParser {
*/
public
function
getMappingSources
()
{
return
array
(
'title'
=>
t
(
'Title'
),
'description'
=>
t
(
'Description'
),
'author_name'
=>
t
(
'Author name'
),
'author_link'
=>
t
(
'Author link'
),
'author_email'
=>
t
(
'Author email'
),
'timestamp'
=>
t
(
'Published date'
),
'date_raw'
=>
t
(
'Published date (raw)'
),
'url'
=>
t
(
'Item URL (link)'
),
'guid'
=>
t
(
'Item GUID'
),
'tags'
=>
t
(
'Categories'
),
'domains'
=>
t
(
'Category domains'
),
'location_latitude'
=>
t
(
'Latitudes'
),
'location_longitude'
=>
t
(
'Longitudes'
),
'enclosures'
=>
t
(
'Enclosures'
),
'title'
=>
array
(
'name'
=>
t
(
'Title'
),
'description'
=>
t
(
'Title of the feed item.'
),
),
'description'
=>
array
(
'name'
=>
t
(
'Description'
),
'description'
=>
t
(
'Description of the feed item.'
),
),
'author_name'
=>
array
(
'name'
=>
t
(
'Author name'
),
'description'
=>
t
(
'Name of the feed item\'s author.'
),
),
'author_link'
=>
array
(
'name'
=>
t
(
'Author link'
),
'description'
=>
t
(
'Link to the feed item\'s author.'
),
),
'author_email'
=>
array
(
'name'
=>
t
(
'Author email'
),
'description'
=>
t
(
'Email address of the feed item\'s author.'
),
),
'timestamp'
=>
array
(
'name'
=>
t
(
'Published date'
),
'description'
=>
t
(
'Published date as UNIX time GMT of the feed item.'
),
),
'url'
=>
array
(
'name'
=>
t
(
'Item URL (link)'
),
'description'
=>
t
(
'URL of the feed item.'
),
),
'guid'
=>
array
(
'name'
=>
t
(
'Item GUID'
),
'description'
=>
t
(
'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.'
),
),
'domains'
=>
array
(
'name'
=>
t
(
'Category domains'
),
'description'
=>
t
(
'Domains of the categories.'
),
),
'location_latitude'
=>
array
(
'name'
=>
t
(
'Latitudes'
),
'description'
=>
t
(
'An array of latitudes assigned to the feed item.'
),
),
'location_longitude'
=>
array
(
'name'
=>
t
(
'Longitudes'
),
'description'
=>
t
(
'An array of longitudes assigned to the feed item.'
),
),
'enclosures'
=>
array
(
'name'
=>
t
(
'Enclosures'
),
'description'
=>
t
(
'An array of enclosures attached to the feed item.'
),
),
);
}
...
...
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