Drupal 7 feeds tamper plugin - XML -> array
$30-250 USD
Dibayar semasa penghantaran
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
ID Projek: #6357277
Tentang projek
12 pekerja bebas membida secara purata $152 untuk pekerjaan ini
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, Lagi
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