{"id":677,"date":"2005-06-09T14:33:11","date_gmt":"2005-06-09T18:33:11","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=677"},"modified":"2005-06-09T14:33:11","modified_gmt":"2005-06-09T18:33:11","slug":"delicious-movable-type-java","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2005\/06\/09\/delicious-movable-type-java\/","title":{"rendered":"Delicious + Movable Type + Java"},"content":{"rendered":"<p>I&#8217;ve been keeping a list of interesting links in a text file for the last couple years and only recently thought better of it and started using <a href=\"http:\/\/del.icio.us\/\">del.icio.us<\/a> to store links. And I wanted to show the links as part of this blog, but I wasn&#8217;t satisfied with just including their RSS feed of my links in blog (what happens when \/ if del.icio.us disappears?) so I whipped up a some code using the <a href=\"http:\/\/sourceforge.net\/projects\/delicious-java\/\">delicious-java library<\/a> and the <a href=\"http:\/\/ws.apache.org\/xmlrpc\/\">Apache XML-RPC library<\/a> that extracts my delicious links from the previous day and then posts them directly my Movable Type blog using <a href=\"http:\/\/www.sixapart.com\/movabletype\/docs\/mtmanual_programmatic.html\">the XML-RPC API that comes standard with Movable Type<\/a>.  After putting it up on my server, I wrote a simple shell script that invokes the Java class and then popped that into \/etc\/cron.daily\/ so that it will get called a nightly basis, voila!<br \/>\n<code><br \/>\n#!\/bin\/bash<br \/>\ncd \/usr\/apps\/delicious\/<br \/>\njava -cp commons-codec-1.3.jar:commons-httpclient-3.0-rc2.jar:<br \/>\ncommons-logging-1.0.4.jar:delicious-1.6.jar:xmlrpc-1.2-b1.jar:bin net.cephas.blog.DeliciousPoster config.properties<br \/>\n<\/code><br \/>\nIf you&#8217;d like to run it your own server, feel free to <a href=\"http:\/\/cephas.net\/projects\/deliciousposter\/deliciousposter.zip\">download the binaries (which include the source code)<\/a>, edit config.properties to match your Movable Type and de.licio.us profiles and scheduled it to run on a nightly basis.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been keeping a list of interesting links in a text file for the last couple years and only recently thought better of it and started using del.icio.us to store links. And I wanted to show the links as part of this blog, but I wasn&#8217;t satisfied with just including their RSS feed of my &hellip; <a href=\"https:\/\/cephas.net\/blog\/2005\/06\/09\/delicious-movable-type-java\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Delicious + Movable Type + Java<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,2,12,10],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/677"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=677"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/677\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}