I am just wondering have you got any advice on pulling the GPS location from map press database entry as im trying to create a custom xml feed but there is so much data in the obj field.
Hi, my advice would be to not read the data directly – it’s saved as a serialized PHP object. You can use the mappress_api.php functions, like Mappress_Map::get() to read it, or you should also be able to just unserialize() it if you’re not using WordPress. Once you get the object, it should be easy to get the data you want.
Hi, normally the class definition is included before unserialize().
One solution might be to create a stub class with the properties you want. I mean copy the Mappress_Map and Mappress_Poi classes from mappress_api.php with the properties (but not the methods) and include them in your own project.