Hi Daniel,<br><br>Yeah, but using the existing xmlrpc.php file and functions, how would you do this?<br><br>In blogger_newPost:<br><br>$post_date = current_time('mysql');<br><br>therefore always posting now as far as I can tell.<br>
<br>However, mw_newPost looks a bit more promising... Do you know where I can find documentation on how $content_struct is supposed to be structured? I'm assuming it's an array, but not sure how much or little is required. It seems to be consulted to check for $content_struct['date_created_gmt'] and $content_struct['date_created'], and if it finds neither, then sets post_date to now. I'm hoping this is where you're leading me, as I'm hoping to avoid editing any of the WP files!<br>
<br>Thanks,<br><br>AJ<br><br><div class="gmail_quote">On Fri, Oct 9, 2009 at 3:03 PM, Daniel Jalkut <span dir="ltr"><<a href="mailto:jalkut@red-sweater.com">jalkut@red-sweater.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm not sure if this technique is what you consider the "hack," but with WordPress, an easy way to "future post" is literally to set the published date of the post to a future time. If WordPress sees that the date is newer than now, it will automatically save the incoming post as a scheduled future post instead of publishing it immediately.<br>
<br>
Daniel<div><div></div><div class="h5"><br>
<br>
On Oct 9, 2009, at 10:02am, AJ Cerqueti wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Hi,<br>
<br>
Are there plans to add a wp_newPost() function to xmlrpc.php, or is it felt that all requirements are met by blogger_newPost() and mw_newPost()?<br>
<br>
I'm just wondering, as I can't seem to figure out a way to Future Publish, without a hack. It seems to be the only option missing from the whole post_new.php page.<br>
<br>
Am I totally missing something, is there a workaround, or is this not something that is felt is needed?<br>
<br>
Thanks,<br>
<br>
AJ Cerqueti<br></div></div>
_______________________________________________<br>
wp-xmlrpc mailing list<br>
<a href="mailto:wp-xmlrpc@lists.automattic.com" target="_blank">wp-xmlrpc@lists.automattic.com</a><br>
<a href="http://lists.automattic.com/mailman/listinfo/wp-xmlrpc" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-xmlrpc</a><br>
</blockquote>
<br>
_______________________________________________<br>
wp-xmlrpc mailing list<br>
<a href="mailto:wp-xmlrpc@lists.automattic.com" target="_blank">wp-xmlrpc@lists.automattic.com</a><br>
<a href="http://lists.automattic.com/mailman/listinfo/wp-xmlrpc" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-xmlrpc</a><br>
</blockquote></div><br>