Find Jobs
Hire Freelancers

Script to Manipulate an XML File

$30-250 USD

Awarded
Posted almost 12 years ago

$30-250 USD

Paid on delivery
I need a script that will download an XML file from a specific URL, compare some of the elements to elements in another (local) XML file, and then move elements from one file over to another. Both files are KML files that include a list of Placemarks. The first file is a KML history of Foursquare checkins. The second (local) file is a KML file generated by Google Earth, which also includes a LineString placemark that connects all the other Placemarks. I want to run this script periodically via a Cron to move over the latest Foursquare checkins to the locally-hosted Google Earth KML file and then append the coordinates from each checkin to an existing LineString in the Google Earth KML file, thereby connecting each checkin with the previous. This script would need to check the published date on the previously inserted Placemarks of the local file to ensure that duplicate placemarks/coordinates are not inserted. The script also needs to insert all new placemarks after the LineString Placemark called "Path" (i.e., the Path placemark should always be at the top), with the remaining placemarks ordered in reverse chronological order (newest to oldest). The script should also search for the string "Current Location" in all Placemark descriptions of the local file, remove that string from the description (leaving the remainder of the description intact), and then insert that string into the beginning of the newest Placemark (i.e., the one that comes right after the "Path" placemark). Finally, since the Foursquare KML doesn't properly encapsulate the content of the Description element in "<![CDATA[ ]]", so this script should also make sure that the Description content always starts with "<![CDATA[" and ends with "]]". I have attached an example Foursquare KML and Google Earth KML (which includes the "Path" LineString). I'm looking for the script to be written in either PHP <= v5.3 or Python <= v2.4.
Project ID: 1707839

About the project

6 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $116 USD for this job
User Avatar
I can do this for you. See PM for details.
$50 USD in 2 days
5.0 (113 reviews)
5.8
5.8
User Avatar
By having experience in XML file handling and merging, we claim to be right fit for this.
$175 USD in 5 days
5.0 (4 reviews)
4.7
4.7
User Avatar
Hi, I can do the work.
$100 USD in 1 day
5.0 (17 reviews)
4.6
4.6
User Avatar
I have an abundance of experience with XML and can complete this project easily.
$50 USD in 0 day
4.9 (6 reviews)
4.5
4.5
User Avatar
Custom software development - <b><i>Removed by Admin</i></b>
$250 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
70$, may be ready in just as few as 2-3 days.
$70 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Pelham, Australia
0.0
0
Member since Jun 20, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.