Find Jobs
Hire Freelancers

Edit XML with php script

€8-30 EUR

Abgeschlossen
Veröffentlicht vor mehr als 8 Jahren

€8-30 EUR

Bezahlt bei Lieferung
In an xml file I have this structure (with <post>repeating) : <data> <post> <deal_id>479</deal_id> <deal_title><![CDATA[Δίπλωμα Μηχανής, στη Σχολή Οδηγών Παραστατίδης στον Εύοσμο, μόνο με 49€]]></deal_title> <deal_url>[login to view URL]</deal_url> <deal_city><![CDATA[Θεσσαλονίκη]]></deal_city> <deal_price><![CDATA[49]]></deal_price> <deal_previous_price><![CDATA[125]]></deal_previous_price> <deal_discount><![CDATA[60.8]]></deal_discount> <deal_start><![CDATA[2016-01-10 00:00:00]]></deal_start> <deal_end><![CDATA[2016-04-01 00:00:00]]></deal_end> <deal_image> <image> <file>[login to view URL]</file> <title>c700x420</title> <caption></caption> <description></description> <alt></alt> </image> <image> <file>[login to view URL]</file> <title>diploma1</title> <caption></caption> <description></description> <alt></alt> </image> </deal_image> <deal_sales><![CDATA[0]]></deal_sales> <deal_active><![CDATA[true]]></deal_active></post></data> and I would like to transform the <deal_image> to <deal_image>[login to view URL]</deal_image> which means keep only the first appearing jpg and discard the rest..and do that for all <post> Can you do that with php? So the desired output would be something like this: <data> <post> <deal_id>479</deal_id> <deal_title><![CDATA[Δίπλωμα Μηχανής, στη Σχολή Οδηγών Παραστατίδης στον Εύοσμο, μόνο με 49€]]></deal_title> <deal_url>[login to view URL]</deal_url> <deal_city><![CDATA[Θεσσαλονίκη]]></deal_city> <deal_price><![CDATA[49]]></deal_price> <deal_previous_price><![CDATA[125]]></deal_previous_price> <deal_discount><![CDATA[60.8]]></deal_discount> <deal_start><![CDATA[2016-01-10 00:00:00]]></deal_start> <deal_end><![CDATA[2016-04-01 00:00:00]]></deal_end> <deal_image>[login to view URL]</deal_image> <deal_sales><![CDATA[0]]></deal_sales> <deal_active><![CDATA[true]]></deal_active></post></data> Note that the deal_image tag kept only the url of the first image and ignored the rest. In my xml file there are lots of <post></post> sections, which should also be processed in an iteration.
Projekt-ID: 9580381

Über das Projekt

9 Vorschläge
Remote Projekt
Aktiv vor 8 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
Hello, Happy to have your attention and thanks for this wonderful opportunity. I am very good in ajax,css,jquery,php. please see me here too : [login to view URL]~01b68317aea2fe8570/ I'm currently working in CSS, PHP (CodeIgniter), Jquery and I’m keenly considering your job post including these skills. HTML5 PHP5 & CodeIgniter CSS, Bootstrap JQuery,ajax,AngularJs Web Hosting Wordpress Photoshop Examples of work : => [login to view URL] (wordpress) => [login to view URL] (php) (custom web app) => [login to view URL] ( php ) => [login to view URL] (HTML TEMPLATE RESPONSIVE) => [login to view URL] (GENEALOGY DASHBOARD password protected) => Tag project management system (CodeIgniter) => [login to view URL] (CodeIgniter) I assure you that I'll do the job with full commitment and dedication to provide complete solution and you'll be happy about the job done and you'll hire me again and again for sure. I am mostly on the internet on Gmail and Skype. We can talk about there in information in a fast way, if you are fascinated. I hope you'd give me this opportunity. Talk soon. Thanks & Regards, Kamlesh
€23 EUR in 1 Tag
5,0 (17 Bewertungen)
4,4
4,4
9 Freelancer bieten im Durchschnitt €28 EUR für diesen Auftrag
Avatar des Nutzers
Hi! I can do xml trnasformation in php! Feel free to contact me. We can finish your project quickly.
€19 EUR in 0 Tag
4,9 (35 Bewertungen)
5,6
5,6
Avatar des Nutzers
Hi, I, based on my 5 years of experience as a software engineer knowledgeable with tools automation, can handle this task pretty well. Let me know the best of your time so we can discuss further based on your requirements and we can move forward to the next step. Yours faithfully, Joseph
€29 EUR in 0 Tag
5,0 (17 Bewertungen)
5,0
5,0
Avatar des Nutzers
I can show the complex xml generation that I did for Google KML files. if you award the project quickly you can get it all sorted within few hours. i will give you php script that makes the conversion.
€29 EUR in 1 Tag
4,9 (10 Bewertungen)
4,6
4,6
Avatar des Nutzers
hi there i can make this project as required............................................................................................................................................................................................................................................................................................................................................................................................................................................
€29 EUR in 1 Tag
5,0 (9 Bewertungen)
4,0
4,0
Avatar des Nutzers
i am a professional Web Developer, html5 , php5, JavaScript , jquery , jquery mobile, Wordpress, android developer ,bootstrap3 , PhotoShop , CodeIgniter . i am doing PHP and MySQL from 2006 till now , i almost 10 years experience and i will be sure that i will did your job in the right way , thanks
€28 EUR in 1 Tag
5,0 (2 Bewertungen)
1,9
1,9
Avatar des Nutzers
Ελληνας προγραμματιστης
€34 EUR in 2 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von GREECE
Thessaloniki, Greece
5,0
5
Zahlungsmethode verifiziert
Mitglied seit Sept. 3, 2007

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.