<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Submit Response &#187; scripts</title>
	<atom:link href="http://submitresponse.co.uk/weblog/tag/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://submitresponse.co.uk/weblog</link>
	<description></description>
	<lastBuildDate>Tue, 10 May 2011 01:19:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Pointless Twitter Automation</title>
		<link>http://submitresponse.co.uk/weblog/2007/01/30/pointless-twitter-automation/</link>
		<comments>http://submitresponse.co.uk/weblog/2007/01/30/pointless-twitter-automation/#comments</comments>
		<pubDate>Tue, 30 Jan 2007 01:36:17 +0000</pubDate>
		<dc:creator>Jack Mottram</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://submitresponse.co.uk/weblog/2007/01/30/pointless-twitter-automation/</guid>
		<description><![CDATA[Here&#8217;s a little thing that will update Twitter when you wake up your computer. Save the following in a text file somewhere (I put it in /bin/ and called it twitterwakeup.sh), replacing the stuff in italics with your email, password and cheery waking up message: #! /bin/sh curl --user yourname@yourdomain.com:yourpassword -F status="Your cheery waking up [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little thing that will update <a title="Egomania vs. eavesdropping in the World Series of love" href="http://twitter.com">Twitter</a> when you wake up your computer.</p>

<p>Save the following in a text file somewhere (I put it in <code>/bin/</code> and called it <code>twitterwakeup.sh</code>), replacing the stuff in italics with your email, password and cheery waking up message:</p>

<p><code>#! /bin/sh</code></p>

<p><code style="text-align:left">curl --user <i>yourname@yourdomain.com</i>:<i>yourpassword</i> -F status="<i>Your cheery waking up message!</i>" http://twitter.com/statuses/update.json</code></p>

<p>(That second bit should all be on one line.)</p>

<p>Make it executable:</p>

<p><code>sudo chmod u+x /bin/twitter.sh</code></p>

<p>Install Bernhard Baehr&#8217;s handy <a href="http://www.bernhard-baehr.de/">Sleepwatcher</a> daemon.</p>

<p>Make a file called <code>.wakeup</code> in your home directory, and put the full path to your <code>twitterwakeup.sh</code> script in it.</p>

<p>That&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://submitresponse.co.uk/weblog/2007/01/30/pointless-twitter-automation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Del.icio.us Metadata</title>
		<link>http://submitresponse.co.uk/weblog/2004/08/25/delicious-metadata/</link>
		<comments>http://submitresponse.co.uk/weblog/2004/08/25/delicious-metadata/#comments</comments>
		<pubDate>Wed, 25 Aug 2004 12:30:38 +0000</pubDate>
		<dc:creator>Jack Mottram</dc:creator>
				<category><![CDATA[site news]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://mottram.textdriven.com/weblog/?p=668</guid>
		<description><![CDATA[Thanks to a template code snippet for Movable Type by Ben Hammersly, I&#8217;ve added a little feature to this site: Related Linking. From now on, in addition to a link to the category page on Submit Response, each post will be followed by links to related tags at del.icio.us. For the time being, because I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to a <a href="http://www.benhammersley.com/code/putting_delicious_tags_into_movable_type_entries_using_the_keywords_space.html">template code snippet</a> for Movable Type by <a href="http://www.benhammersley.com/">Ben Hammersly</a>, I&#8217;ve added a little feature to this site: Related Linking. From now on, in addition to a link to the category page on Submit Response, each post will be followed by links to related tags at <a href="http://del.icio.us">del.icio.us</a>.</p>

<p>For the time being, because I&#8217;m more interested in integrating my daily linking and weblogging, rather than providing pointers to what other folk are linking to on similar topics, I&#8217;ve decided to have the links lead to my own tags instead of the tag directories at del.icio.us which track linking by all users. I might change this, though - it seems a little rude to incorporate del.icio.us like this without acknowledging the social aspect of the service.</p><p>If you&#8217;d like to do the same, and can&#8217;t be bothered fiddling with Ben&#8217;s template code, here&#8217;s the version I&#8217;m using on Individual Entry Archive and Main Index templates (you&#8217;ll also need Brad Choate&#8217;s handy <a href="http://bradchoate.com/weblog/2002/07/27/perlscript-plugin">MTPerlscript</a> for this to work).</p>

<p><code>&lt;MTPerlScript package="delicious<em>links"&gt;<br />
my $keywords="&lt;MTEntryKeywords&gt;";<br />
if ($keywords eq "") {<br />
print "&lt;!-- No Del.icio.us Tags to print out //--&gt;";<br />
} else {
my @split</em>keywords = split(/ /, $keywords);
my $split<em>keyword;<br />
print 'Related Linking: ';<br />
foreach $split</em>keyword (@split<em>keywords) {
print '&lt;a href="'."http://del.icio.us/username/<br />
$split</em>keyword".'"&gt;'."$split_keyword".'&lt;/a&gt; ';<br />
}<br />
}<br />
&lt;/MTPerlScript&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://submitresponse.co.uk/weblog/2004/08/25/delicious-metadata/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 11/14 queries in 0.005 seconds using disk: basic

Served from: submitresponse.co.uk @ 2012-05-25 11:06:32 -->
