Hi
in my rss Feed i have add pubish and unpublish date fields, and i want to map them in Scheduler fields.
But the fields are not propose in the map options
Do you have a solution or a idee ?
++
Yto
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | feedapi_mapper_node.patch | 2.05 KB | David Goode |
| #5 | feedapi_mapper_node.patch | 2.05 KB | David Goode |
| #3 | feedapi_mapper_node.patch | 2.03 KB | David Goode |
Comments
Comment #1
alex_b commentedI understand that you would like to map the published state of the feed item to the published state of the node you create, correct?
This is not supported at the moment, but would be very easy to do.
See how feedapi_mapper_node.inc maps to $node->created? The same way you could map to $node->status (which holds the published information of a node).
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/feedapi_map...
This functionality should ideally sit in feedapi_mapper_node.inc; instead of
it would be
The description (if ($op == 'describe') ) would have to be updated, too of course.
Comment #2
alex_b commentedComment #3
David Goode commentedHey! Here is the patch for this functionality which we needed for one of our sites.
David
Comment #4
alex_b commentedLooking good.
Nitpicks:
...status or a body of a node
should be
published state or a body of a node
there should be a linebreak before else and elseif
Comment #5
David Goode commentedAs you wish :-)
David
Comment #6
alex_b commentedUh, found more small stuff :-)
1)
Should be
2)
Published State -> Published state
Comment #7
David Goode commentedHere you go.
David
Comment #8
alex_b commentedThis is looking good.
RTBC
Nice work.
Comment #9
aron novak