<?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/"
	xmlns:georss="http://www.georss.org/georss" >

<channel>
	<title>Even the wrong words seem to rhyme &#187; twitterpic</title>
	<atom:link href="http://www.kevinblake.co.uk/tag/twitterpic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kevinblake.co.uk</link>
	<description>a blog-life by Kevin Blake</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:58:55 +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>GalleryTweet &#8211; Twitter for your Gallery2</title>
		<link>http://www.kevinblake.co.uk/gallerytweet-twitter-for-your-gallery2/530/</link>
		<comments>http://www.kevinblake.co.uk/gallerytweet-twitter-for-your-gallery2/530/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 14:13:24 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blakepics]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tinyurl]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[twitterpic]]></category>

		<guid isPermaLink="false">http://www.kevinblake.co.uk/?p=530</guid>
		<description><![CDATA[This post is no longer being maintained due to budget constraints - please check the project page for the latest information: http://codex.gallery2.org/Gallery2:Modules:gallerytweet I&#8217;m releasing the updated module for Gallery2 under the name of GalleryTweet. It was prompted by a few people mentioning they couldn&#8217;t get my earlier hack to work &#8211; so I thought I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p><code><strong>This post is no longer being maintained due to budget constraints - please check the project page for the latest information: <a href="http://codex.gallery2.org/Gallery2:Modules:gallerytweet" target="_blank">http://codex.gallery2.org/Gallery2:Modules:gallerytweet</a></strong></code></p>
<p>I&#8217;m releasing the updated module for Gallery2 under the name of GalleryTweet.  It was prompted by a few people mentioning they couldn&#8217;t get my <a href="http://www.kevinblake.co.uk/twitter-your-gallery-2/423/">earlier hack</a> to work &#8211; so I thought I&#8217;d build something that was (slightly) more robust, and might stand to work on installations other than my own.</p>
<p>You might want to skip my ramblings and jump straight to the download, so here&#8217;s a link for you folks:</p>
<ul>
<li><a href="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/gallerytweet.zip">Download GalleryTweet module<br />
</a></li>
</ul>
<ol>
<li>Install by unzipping to the root of your Gallery2 installation, and activate through the plugins panel.<a href="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/activate.gif" rel="lightbox"><img class="aligncenter size-full wp-image-532" style="border: 1px solid black;" title="activate" src="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/activate.gif" alt="activate" width="668" height="96" /><br />
</a></li>
<li>Once logged in, edit your Twitter settings through the left navigation<a href="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/menu.gif" rel="lightbox"><img class="aligncenter size-full wp-image-535" style="border: 1px solid black;" title="menu" src="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/menu.gif" alt="menu" width="191" height="115" /><br />
</a></li>
<li>You should enter your twitter username / password, and the format you&#8217;d like to send your Tweets out with.<a href="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/twitter-settings.gif" rel="lightbox"><img class="aligncenter size-full wp-image-536" style="border: 1px solid black;" title="twitter-settings" src="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/twitter-settings.gif" alt="twitter-settings" width="587" height="246" /><br />
</a></li>
<li>Now while you&#8217;re browsing the Gallery, Tweet about any images using the link below the thumbnail<a href="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/tweet.gif" rel="lightbox"><img class="aligncenter size-full wp-image-533" style="border: 1px solid black;" title="tweet" src="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/tweet.gif" alt="tweet" width="398" height="324" /></a></li>
</ol>
<p>Please drop me a message on <a href="http://www.twitter.com/kevinblake" target="_blank">Twitter @kevinblake</a> if you&#8217;ve found the plugin useful, can&#8217;t get it work, or have any other feedback.  That download link again, in case you missed it the first time:</p>
<ul>
<li><a href="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/gallerytweet.zip">Download GalleryTweet module</a></li>
</ul>
<p>Happy Tweeting!</p>
<p><code><strong>This post is no longer being maintained due to budget constraints - please check the project page for the latest information: <a href="http://codex.gallery2.org/Gallery2:Modules:gallerytweet" target="_blank">http://codex.gallery2.org/Gallery2:Modules:gallerytweet</a></strong></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/gallerytweet-twitter-for-your-gallery2/530/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter your Gallery 2</title>
		<link>http://www.kevinblake.co.uk/twitter-your-gallery-2/423/</link>
		<comments>http://www.kevinblake.co.uk/twitter-your-gallery-2/423/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 16:04:54 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blakepics]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tinyurl]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[twitterpic]]></category>

		<guid isPermaLink="false">http://www.kevinblake.co.uk/?p=423</guid>
		<description><![CDATA[Seems everyone is talking about Twitter nowadays.  The Hudson River picture launched it into the media world as the best news source on the planet, and Obama&#8216;s adoption of the tool has given America the same pleasure that Britain experienced when our Prime Minister, Stephen Fry starting getting &#8216;back in touch with the people&#8217;, in [...]]]></description>
			<content:encoded><![CDATA[<p>Seems everyone is talking about <a href="http://www.twitter.com" target="_blank">Twitter</a> nowadays.  The <a href="http://community.brandrepublic.com/blogs/gordons_republic/archive/2009/01/16/hudson-bay-air-crash-bought-to-you-by-twitter.aspx" target="_blank">Hudson River</a> picture launched it into the media world as the best news source on the planet, and <a href="http://twitter.com/BarackObama" target="_blank">Obama</a>&#8216;s adoption of the tool has given America the same pleasure that Britain experienced when our Prime Minister, <a href="http://twitter.com/stephenfry" target="_blank">Stephen Fry</a> starting getting &#8216;back in touch with the people&#8217;, in October 2008.</p>
<p>The Hudson River picture wouldn&#8217;t have been possible without the non-affiliated <a href="http://www.twitpic.com" target="_blank">TwitPic</a> &#8211; which never truly got the recognition it deserved.  Without it, the infamous picture would have only been a 140 character description, and nobody will have noticed or cared.  Still, that&#8217;s the nature of buzzwords I guess.  If they don&#8217;t cause a buzz, they&#8217;re just words.</p>
<p>Anyway, TwitPic is yet another disparate service like <a href="http://www.flickr.com" target="_blank">Flickr</a>, <a href="http://www.panoramio.com/" target="_blank">Panoramio</a> or <a href="http://www.facebook.com" target="_blank">Facebook</a> that&#8217;s had me tempted away from uploading some of my photos to Gallery2 / Blakepics.  With Facebook, I&#8217;ve integrated my own application there; Panoramio and Flickr, stolen the best parts of each.</p>
<p>And now with a hack to the tagging module in Gallery 2 I can emulate all I want from TwitPic as well, and tuck another service onto the shelf at the back at the cupboard.  So as usual, I thought I&#8217;d share.</p>
<p><strong>What it is&#8230;</strong></p>
<ul>
<li>Tweet any photos on Gallery just by adding the tag &#8216;twitter&#8217; to your photo.</li>
<li>Automatically takes the photos title as your Tweet text.</li>
<li>Processes all URLs through TinyURL, giving you a warm and fuzzy Tiny URL</li>
</ul>
<p><strong>What it isn&#8217;t&#8230;</strong></p>
<ul>
<li>A seamless Gallery2 module.  There&#8217;s some hacking to do.</li>
<li>Multi-user.  If you share your Gallery, there&#8217;s some more work to do.</li>
</ul>
<p>If you make improvements in these areas or any others &#8211; please let me know <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Requirements</strong></p>
<ul>
<li><a href="http://gallery.menalto.com/" target="_blank">Gallery 2</a></li>
<li>Tagging module</li>
<li>Twitter account</li>
</ul>
<p><strong>Things you need to do</strong></p>
<ol>
<li><a href="http://www.kevinblake.co.uk/wp-content/uploads/2009/02/twittertag.zip">Download my Twitter Tags class</a></li>
<li>Unzip to the root of your Gallery installation</li>
<li>Edit /modules/tags/classes/TwitterTag.class with your twitter username/pass, and Gallery URL.</li>
<li>Edit /modules/tags/classes/TagsHelper.class
<ol>
<li> Add this just above the line &#8216;class TagsHelper&#8217;<br />
<code>GalleryCoreApi::requireOnce('modules/tags/classes/TwitterTag.class');</code></li>
<li> Then just above<br />
<code> return TagsHelper::assignTagById($itemId, $tagId);</code><br />
Add<br />
<code> TwitterTag::Tweet($itemId, $tagId);</code></li>
</ol>
</li>
<li>Tag any photos you want to appear on Twitter with &#8216;twitter&#8217;.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/twitter-your-gallery-2/423/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

