Drupal 7 feeds tamper plugin - XML -> array

เสร็จสมบูรณ์ โพสต์แล้ว Aug 22, 2014 ชำระเงินเมื่อจัดส่ง
เสร็จสมบูรณ์ ชำระเงินเมื่อจัดส่ง

Hi,

Another module to be developed:

I need a Feeds tamper plugin which can transform XML into an array.

Ex.

XML:

<firstname>John</firstname>

<lastname>Smith</lastname>

<town>NY</town>

Array:

array([0]=>John, [1]=>Smith,[2]=>NY);

The tricky part is that the array has always to have the same amount of elements, but the XML can change? The order, amount and name of the tags can change.

Ex.

XML:

<town>NY</town>

<firstname>John</firstname>

Array:

array([0]=>John, [1]=>,[2]=>NY);

This configuration could be done in a simple text area:

For the example above the text area would contain this:

2

null

1

So the filter know that...

- the array should contain 3 elements

- the first element belongs to the second tag

- the second element is empty

- the third element belongs to the first tag

Drupal PHP

หมายเลขโปรเจค: #6357277

เกี่ยวกับโปรเจกต์

12 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

มอบให้กับ:

lukeyan

Hi we have rich experience in Drupal development, I'm interested in your project. here is my [login to view URL] profile: [login to view URL] please check our previous works: [login to view URL] ht เพิ่มเติม

$157 USD ใน 2 วัน
(284 รีวิว)
8.2

freelancer 12 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $152

minhhoangduc

Hello, I'm PHP, .NET, CSS, HTML, JQuery, Drupal/WordPress/CiviCRM expert certified professional developer and having over 18 years in programming. Please see my resume. Please let me help you do it. Best Regards, เพิ่มเติม

$133 USD ใน 2 วัน
(711 รีวิว)
8.6
mituld

Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks

$195 USD ใน 7 วัน
(471 รีวิว)
8.3
gopalvora

Hi I have gone through the details of your project and we find it well within our capabilities. I offer a wide range of services, including Web design, PHP/MySQL web application development, Open sources like Joo เพิ่มเติม

$195 USD ใน 9 วัน
(530 รีวิว)
8.4
retheeshwork

A proposal has not yet been provided

$111 USD ใน 3 วัน
(84 รีวิว)
6.8