compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
//optional methods - applies to every type of post
$post->setGenerator('Zend_Service_Tumblr');
$post->setDate('2007-12-05');
$post->setDate('2007-12-05 14:50:02');
$post->setPrivate(true);
$post->setTags(array(
$post->setFormat('html');
$post->setGroup('mygroup.tumblr.com');
$post->setSlug('special string in url');
/**
* Valid State Values:
* Zend_Service_Tumblr::STATE_PUBLISHED
* Zend_Service_Tumblr::STATE_DRAFT
* Zend_Service_Tumblr::STATE_SUBMISSION
* Zend_Service_Tumblr::STATE_QUEUE
*/
$post->setState(Zend_Service_Tumblr::STATE_PUBLISHED);
// set publish on date in the future - both date and time are expressed in Tumblr's local time
$post->setPublishOnDate('2010-12-10 14:50:02');
/**
* Valid Values:
* boolean - true to send with auto generated summary of post., false to not send
* string - custom message to send to twitter for the post
*/
$post->setSendToTwitter(true);

{code}
{card}