Download & Extend

Feeds mapper for phone CCK fields

Project:Phone
Version:6.x-2.18
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Feeds is a great module, but I need a mapper for the Phone (CCK) module (which defines a phone number CCK field and formats it) http://drupal.org/project/phone

I would do it myself, but I am not a developer and don't have a clue where to start.

Comments

#1

Title:Create Mapper for Phone (CCK)» Mapper for Phone (CCK)
Version:6.x-1.0-beta10» 6.x-1.x-dev
Status:active» needs work

This should be really easy. I suggest you take a look at the content mapper and take it from there. This may also be able to be rolled as a patch to the content mapper.

#2

Status:needs work» postponed

Postponing as there are no plans to work on this. I'd be happy to accept a patch though, in this case reset the issue status when you post.

#3

Attached is a draft of a phone_mapper patch. Just to repeat, this patch assumes you are using the "phone" module for CCK fields, I didnt explore the location module phones, etc.

I tested it in a non-vanilla install, using a xml processor, and it works fine, maps well 1->n fields, etc.

Note: I also have no idea how to write patches, (just a plumber, not a pro coder). All I did is hack the working patch for the email_mapper, and make some changes, apologies for any problems. Otherwise seems a straightforward patch (works with the latest release of the phone module, 6.x-2.18), no idea about the D7 ports, sorry.

Draft patch attached, Link to draft patch file here

AttachmentSize
feeds_phone_mapper.patch 6.59 KB

#4

Status:postponed» active

Can I activate this thread?

#5

There is an additional quotation that is causing the patch to break in line 57 ('int_phone''). Removed in file attached.

AttachmentSize
feeds_phone_mapper.patch 6.8 KB

#6

Title:Mapper for Phone (CCK)» Feeds mapper for phone CCK fields
Project:Feeds» Phone
Version:6.x-1.x-dev» 6.x-2.18

Feeds should only support core module feed mappings. This support should live in Phone module.

#7

subcribing
need this patch for the 7.X dev version
don't know finally if I have to create the same feature request for the 7 dev .. ?
thx all

#8

gazwai, see this patch.

nobody click here