title: Automate Wordpress posting
link: http://jj.isgeek.net/2007/03/automate-wordpress-posting/
author: Jj
description: 
post_id: 284
date: 2007/03/23 05:48:24
created_gmt: 2007/03/23 10:48:24
comment_status: open
slug: automate-wordpress-posting

![Wordpress](/uploads/Wpress.png)A friend was asking me about the posibility to program a script that temporarily posted new content to a Blog. I didn't know that this wasn't necessary with a [Wordpress Blog](http://www.wordpress.com/). I still haven't gone through the source code to confirm this, but apparently this is how it works:

To show the main page, [Wordpress](http://wordpress.org/) doesn't retrieve the last posts on the table. Instead it makes a cut by date from **now** to the past limiting the query to the amount of posts to be shown in a page. This seems pretty reasonable, I do not know if other engines do this as well. Not that I know of this I'd expect them to behave so.

This behavior allows to insert all the desired posts in the database with future dates. They will not be shown until thos future dates becom past dates :)

Neat.