how to import location info (whem migarting)?
I'd like to migrate my earlier blog (based on MovableType and LocBlog) to GeoPress. I already have a list of entries in that blog (spans about 4 years now), and I'd like to migrate them so that they retain their geo-tagging information. In the other blog, the geo-tags are formed as categories, and there's a simple mapping from category names to coordinates.
looking at GeoPress, the easiest thing to do woutd be to create named locations for each location already existing in the other blog, and tag all entries accordingly. how could I do that from a script / whem importing the entries from MT?
looking at GeoPress, the easiest thing to do woutd be to create named locations for each location already existing in the other blog, and tag all entries accordingly. how could I do that from a script / whem importing the entries from MT?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Tough question. There isn't a straight-forward way to do this from the User-interface. However, not sure how the import scripts work - but in GeoPress whenever a new Post is created or updated it looks for the following in the Post text:
GEOPRESS_LOCATION(location name)
So you could write a script to first append all your MovableType posts to put the location information at the bottom of the post, then just import using the normal mechanisms. GeoPress *may* pick up each post and create the appropriate locations.
Alternatively, you would want to write a PHP script. Your process nominally should work - create the post, see if there is a location, if not then create it and associate it.
Loading Profile...



EMPLOYEE