{"id":1035,"date":"2006-09-10T23:07:46","date_gmt":"2006-09-11T04:07:46","guid":{"rendered":"http:\/\/www.alevin.com\/?p=1035"},"modified":"2006-09-10T23:07:46","modified_gmt":"2006-09-11T04:07:46","slug":"crosspost-weekend-hack","status":"publish","type":"post","link":"https:\/\/www.alevin.com\/?p=1035","title":{"rendered":"Crosspost weekend hack"},"content":{"rendered":"<p>I often want to post the same thought to my colleagues at Socialtext on the intranet, to my personal blog, and to the Socialtext public blog.  Most of the time, I post to only one place, because of the extra steps.  I&#8217;ve long wanted a tool that allowed me to crosspost to the intranet wiki, and various blogs. Oddly, there don&#8217;t seem to be available cross-posting tools, even though there are plenty of desktop posting tools.<br \/>\nThe new Socialtext REST API provided the means, and <a href=\"http:\/\/superhappydevhouse.org\/\">SuperHappyDevHouse<\/a> provided the incentive. I hacked a cross-posting tool that posts simultaneously to my personal blog and Socialtext wikis. The tool can post to a Socialtext wiki from a web form on server or desktop. Since it runs from the desktop, it is also the world&#8217;s simplest offline wiki editor.<br \/>\nThe first version has a hard-coded blog-wiki pair.  The next version will allow the user to enter any number of blogs and wikis, and then choose one or more places to post.  Also, I&#8217;ll see if I can post to Drupal, which would enable cross-posting to the Socialtext public site.<br \/>\n^^^ Borrowings<br \/>\nThe tool uses Socialtext::Resting, the client for the alpha REST API and Net::Blogger, a perl wrapper for various blog apis.<br \/>\n^^^ What didn&#8217;t work<br \/>\nPosting to a movable type weblog via XML::Atom. I bailed and am using XML-RPC instead, which is happily posting to blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I often want to post the same thought to my colleagues at Socialtext on the intranet, to my personal blog, and to the Socialtext public blog. Most of the time, I post to only one place, because of the extra steps. I&#8217;ve long wanted a tool that allowed me to crosspost to the intranet wiki, &hellip; <a href=\"https:\/\/www.alevin.com\/?p=1035\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Crosspost weekend hack&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-1035","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prDRq-gH","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.alevin.com\/index.php?rest_route=\/wp\/v2\/posts\/1035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alevin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alevin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alevin.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alevin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1035"}],"version-history":[{"count":0,"href":"https:\/\/www.alevin.com\/index.php?rest_route=\/wp\/v2\/posts\/1035\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.alevin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alevin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alevin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}