Closed (won't fix)
Project:
RSS Remote Enclosure
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Sep 2009 at 05:00 UTC
Updated:
27 Oct 2011 at 19:41 UTC
To be done after: #565904: Add CCK support
Implement a FeedAPI mapper function to convert enclosure tags on incoming feeds into encl_remote fields.
I have code here: http://hg.davidherron.com/index.cgi/drupalv6/file/tip/sites/all/modules/...
Comments
Comment #1
reikiman commentedAs noted in the other issue (to convert encl_remote into a CCK type) I just wrote a FieldAPI mapper that converts RSS elements into encl_remote fields. It involves adding two small functions to encl_remote.
With the functions encl_remote shows up in the list of targets.
I'm using FeedAPI with the simplepie parser. Am able to define a mapping from options->all->enclosure to the encl_remote target and it works perfectly.
I need to do this as a proper patch, yes, but this is the code.
Comment #2
zany commentedGood idea but D6 (and FeedApi) isn't that useful anymore. Closing.