Mass import of Placemarks with proper Categories
I’m using Basic Google Maps Placemarks to represent wildlife sightings on several maps. The problem is I have over 200 wildlife species with no less than 10 sightings each, so I’m forced to consider a mass import option. In case you’re curious, the web site is http://opistobranquis.info
I have checked the forum and seen a CSV import plugin solution, but this procedure ignores Categories, while I intend to name one category for each wildlife species, and label the sighting record to every species. CSV import is not enough for me.
Then I recalled a similar problem with several hundreds of external website reference links (for the same website) that solved nicely with the “Import blogroll with categories” plugin, a simple code that parses an OPML file (a kind of XML file that differentiates Categories and Links) and feeds the internal WP tables just fine… but for Blogroll links and their categories only.
My question is, wouldn’t be possible to modify the “Import Blogroll with Categories” and produce a kind of “Import Placemarks with Categories” plugin?
I’m not a PHP programmer, but studying the code of that plugin I have seen that relationships among the tables wp_terms, wp_term_taxonomy and wp_term_relationships (these three tables hold the categories) is exactly the same for placemarks as for blogroll links (but for the category slug, that is “bgmp-category” instead of “link_category”), and the main difference is that blogroll links are fed into the wp_links table, while Placemarks are fed into wp_posts table.
That modification I’m suggesting (a kind of fork of the blogroll importer) should be pretty trivial to an experienced programmer, despite being like black magic to me.
Any help or suggestion would be greatly appreciated. Thank you.
- The topic ‘Mass import of Placemarks with proper Categories’ is closed to new replies.