Needs work
Project:
Feed Element Mapper
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2009 at 15:15 UTC
Updated:
6 Nov 2009 at 09:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
jpp commentedI have a similar issue with options->enclosures->audio->mpeg field that I'l like to map to a link - I get the same result - empty nodes.
I'm also a little confused as to why all the subfields show up in the From Field Example section but don't show up as mappable items down the page.
The feed in question is here: http://feeds.feedburner.com/SexLoveAndIntimacy
Comment #2
jpp commentedChanged to a bug report -
I did major surgery on feedapi_mapper_link.inc - (borrowed heavily from the emvideo mapper) the bug causing blank nodes is the "return $node" line that needs to be outside the } below it. While I was messing with it I made it work with returned arrays like the ones found in media rss - it's working fine now for my mpeg attachments.
The file is so small I just attached it rather than a patch.
EDIT - use the file further down this one has a bug
Comment #3
Krummrey commentedThe new mapper works! Great.
However, I get this error when enabeling your patch:
Do you have the same?
Comment #4
jpp commentedGot it - I needed to return FALSE for the description if it wasn't a link field type. This should work.
Comment #5
jpp commentedComment #6
alex_b commentedPlease submit patches in the right format - you make reviewing much easier that way - http://drupal.org/patch/create
Thank you.
Comment #7
jpp commentedHere you go
Comment #8
Krummrey commentedPatch works for me.
Comment #9
alex_b commented#7 @jpp: there is still a problem with the formatting of the patch :-)
Are you using tabs for indents? It should be spaces - 2 spaces per indent...
Comment #10
alex_b commentedComment #11
Krummrey commentedI grabbed the previous patch and detabbed it with 2 spaces.
Does it go through now?
Comment #12
szy commented*cut*, sorry, wrong thread.
Szy.