[wp-hackers] Importing data programmatically

Matt Martz matt at sivel.net
Tue Sep 4 15:52:02 UTC 2012


Thorsten Ott, has a CLI importer: https://github.com/tott/WordPress-CLI-Importer

-- 
Matt Martz
matt at sivel.net


On Tuesday, September 4, 2012 at 10:39 AM, Chris McCoy wrote:

> Maybe a shell script run on cron?
> 
> Not sure if wp-cli does this
> 
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com (mailto:wp-hackers-bounces at lists.automattic.com)
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Tom Barrett
> Sent: Tuesday, September 04, 2012 11:19 AM
> To: wp-hackers at lists.automattic.com (mailto:wp-hackers at lists.automattic.com)
> Subject: [wp-hackers] Importing data programmatically
> 
> Is there a way I can hook into the import/parser to import an XML file
> stored locally (to the WordPress install), rather than having to manually
> upload a remote file?
> 
> I would like to use this for:
> 1. Creating default sets of data via the admin screen.
> 2. Creating default sets of data on network site creation.
> 
> The main purpose of this is to create a demo site (that gets deleted and
> rebuilt regularly).
> 
> http://wordpress.org/support/topic/plugin-wordpress-importer-importing-from-
> local-disk?replies=1
> 
> --
> http://www.tcbarrett.com | http://gplus.to/tcbarrett |
> http://twitter.com/tcbarrett _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com (mailto:wp-hackers at lists.automattic.com)
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com (mailto:wp-hackers at lists.automattic.com)
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> 
> 




More information about the wp-hackers mailing list