[wp-hackers] Batch-loading posts?
wordpress at dd32.id.au
Mon Aug 25 23:47:45 GMT 2008
Have a look at my plugin:
Add From Server: http://wordpress.org/extend/plugins/add-from-server/
You'll need to open the post, Open the media dialogue, Select "Add from
server", Select which files need to be assoc. with that post, Then rinse
and repeat with the other posts files.
(Or you could just import them all not assoc. with any particular post,
But doing so you loose the gallery functionality of WP and the attachments
would no longer be assoc. with that post. ie site/attachment/blah/ instead
On Mon, 25 Aug 2008 22:41:05 +1000, <dragonfly at dragonflyeye.net> wrote:
> Hey everybody!
> Quick question I'm not getting answered in the forums: I'm creating a
> for a band that already has a ton of pictures, video and music on their
> site that they'd like to maintain. In order for that content to be
> available to place into posts or elsewhere, they're going to need them to
> be associated with an attachment post, as I understand it (haven't really
> played around with WP's CMS stuff).
> So, what I've done is: I placed them all in /wp-content/uploads/2008/08.
> Now, I need a way to create a batch file that will read all these files
> create posts to associate them with. The trouble is that I'm finding
> creating a post in WP is a lot more complex than I'd thought. There
> really a simple wp_create_post like there is a wp_create_user function.
> Or am I wrong? Can anyone point me in the right direction to get this
> 'preciate the help!
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers