This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Takes a markdown formatted sked of milestones and tickets and | |
# pushes it all into unfuddle. Tries to prevent duplicates, but | |
# doesn't do a great job because Unfuddle's API acts strangely. | |
# This version is heavily indebted to https://gist.github.com/ryanmark/2661823 | |
# | |
# TODO: Figure out why new tickets don't show up in the get tickets API request | |
# | |
# usage: import_tix.py sked.txt | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | |
<metadata> | |
<name><![CDATA[Mount Washington Trail]]></name> | |
<desc><![CDATA[]]></desc> | |
<link href="http://www.alltrails.com"> | |
<text>AllTrails, Inc.</text> | |
</link> | |
<bounds minlat="47.42411" minlon="-121.6994" maxlat="47.44218" maxlon="-121.66862"/> | |
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | |
<metadata> | |
<name><![CDATA[Elwha River Trail]]></name> | |
<desc><![CDATA[]]></desc> | |
<link href="http://www.alltrails.com"> | |
<text>AllTrails, Inc.</text> | |
</link> | |
<bounds minlat="47.93818" minlon="-123.58283" maxlat="47.96816" maxlon="-123.51344"/> | |
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | |
<metadata> | |
<name><![CDATA[Elwha River Trail]]></name> | |
<desc><![CDATA[]]></desc> | |
<link href="http://www.alltrails.com"> | |
<text>AllTrails, Inc.</text> | |
</link> | |
<bounds minlat="47.8095" minlon="-123.5225" maxlat="47.93838" maxlon="-123.4537"/> | |
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | |
<metadata> | |
<name><![CDATA[Elwha River Trail]]></name> | |
<desc><![CDATA[]]></desc> | |
<link href="http://www.alltrails.com"> | |
<text>AllTrails, Inc.</text> | |
</link> | |
<bounds minlat="47.73601" minlon="-123.52981" maxlat="47.81094" maxlon="-123.44618"/> | |
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | |
<metadata> | |
<name><![CDATA[Elwha River Trail]]></name> | |
<desc><![CDATA[]]></desc> | |
<link href="http://www.alltrails.com"> | |
<text>AllTrails, Inc.</text> | |
</link> | |
<bounds minlat="47.72153" minlon="-123.55713" maxlat="47.73652" maxlon="-123.52954"/> | |
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | |
<metadata> | |
<name><![CDATA[Elwha River Trail]]></name> | |
<desc><![CDATA[]]></desc> | |
<link href="http://www.alltrails.com"> | |
<text>AllTrails, Inc.</text> | |
</link> | |
<bounds minlat="47.72153" minlon="-123.55022" maxlat="47.7365" maxlon="-123.52953"/> | |
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | |
<metadata> | |
<name><![CDATA[Elwha River Trail]]></name> | |
<desc><![CDATA[]]></desc> | |
<link href="http://www.alltrails.com"> | |
<text>AllTrails, Inc.</text> | |
</link> | |
<bounds minlat="47.73596" minlon="-123.56152" maxlat="47.74969" maxlon="-123.52843"/> | |
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | |
<metadata> | |
<name><![CDATA[Elwha River Trail]]></name> | |
<desc><![CDATA[]]></desc> | |
<link href="http://www.alltrails.com"> | |
<text>AllTrails, Inc.</text> | |
</link> | |
<bounds minlat="47.7362" minlon="-123.52989" maxlat="47.76659" maxlon="-123.45527"/> | |
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | |
<metadata> | |
<name><![CDATA[Elwha River Trail]]></name> | |
<desc><![CDATA[]]></desc> | |
<link href="http://www.alltrails.com"> | |
<text>AllTrails, Inc.</text> | |
</link> | |
<bounds minlat="47.76597" minlon="-123.47677" maxlat="47.88477" maxlon="-123.44613"/> | |
</metadata> |
NewerOlder