[wp-hackers] Auto-generation of post

Mike Schinkel mikeschinkel at newclarity.net
Tue Jul 13 18:24:27 UTC 2010


Are you looking for the wp_insert_post($post) function where $post has the same fields as those returned by get_post($post->ID)?


On Jul 13, 2010, at 2:20 PM, Bernard D. Tremblay (ben) wrote:

> I'm using VATSIM PHP (see http://vatview.com/vatview_display_list.php?typed=pilots).
> What I'd like to do is take the data from filtered output and create a post.
> 
> So a certain pilot is online. I want to "post" using his data to populate the process.
> Eventually I'd like to "edit" when the post already exists, but that's not an immediate requirement.
> 
> I'm sure it's do-able ... and I think this is paradigmatic of a certain work-flow i.e. there'd be other applications for this ... but this is way, way, /way/ over my head.
> 
> Am I just dreaming in technicolor there?
> 
> ben
> 
> p.s. please CC me in reply; I'm pret'near swamped just now.
> 
> -- 
> |-------------------                        -------------------|
> |    Bernard D. Tremblay (ben)   |  Ben Tremblay&  Associates  |
>         My lastest: http://gnodal.protension.com/journal/
> |---------------                                  ---------------|
> |  Confusion is a kinky form of enlightenment, clarity in drag.  |
> |  Uncertainty is certainty that has stepped on a banana peel.   |
> |  Negativity is brilliance competing with itself.               |
> |------------------------                 Sherab Chodzin Kohn ---|
>  
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list