I was wondering if there is a way or a plugin to post something like twitter update messages instead of a post.
Something like http://p2demo.wordpress.com/ but better, where a user will post update messages not an entire post (in database matters). That means you will save space, make it quicker and fewer database resources.
I am looking for a way to post lite messages, that database will only save the must, like IDs, title, post and a thumb, through php maybe. No taxonomies and and and.
I hope you understand what I am trying to say (sorry for any bad English)
Thank you.
Updated: I found this code, should I use this as a twitter posting feature? (As I said I need fewer db resources)
// Create post object
$my_post = array();
$my_post['post_title'] = 'My post';
$my_post['post_content'] = 'This is my post.';
$my_post['post_status'] = 'publish';
$my_post['post_author'] = 1;
$my_post['post_category'] = array(0);
// Insert the post into the database
wp_insert_post( $my_post );"
The code you posted is about the same one WordPress uses to insert posts in to the database so it’s not really saving anything.
But i would suggest you use Custom Post type and only allow a few or as much as needed objects to it :
This will not save you any extra unneeded fields (not more the the minimum needed by WordPress).
And if that is still not good enough the your best bet would be to create your own database table and only store what you need in it.