<?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>Lasse Bunk&#039;s weblog &#187; Clipboard</title>
	<atom:link href="http://lassebunk.dk/tag/clipboard/feed/" rel="self" type="application/rss+xml" />
	<link>http://lassebunk.dk</link>
	<description>Ruby on Rails, programming, and SEO</description>
	<lastBuildDate>Sat, 04 Feb 2012 12:51:41 +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>Clipboard java applet</title>
		<link>http://lassebunk.dk/2009/08/04/clipboard-java-applet/</link>
		<comments>http://lassebunk.dk/2009/08/04/clipboard-java-applet/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 20:49:14 +0000</pubDate>
		<dc:creator>lassebunk</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Applet]]></category>
		<category><![CDATA[Clipboard]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://lassebunk.dk/?p=185</guid>
		<description><![CDATA[Source code for posting an image from the clipboard using a java applet.]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> Also try <a href="http://supa.sourceforge.net/">SUPA</a>, which is a great ready-to-use alternative.</p>
<p>The source code my previous <a href="http://lassebunk.dk/2009/07/19/using-the-clipboard-to-post-images/">post</a> about a <a href="http://lassebunk.dk/demos/clipboard-image/clipboard-image.html">clipboard image applet</a> is now available here: <a href="http://lassebunk.dk/downloads/PasteImageApplet.zip">PasteImageApplet.zip</a></p>
<p>The code lets you post images from your clipboard directly to the webserver to avoid the need to go through Photoshop or another image application.</p>
<p>When you compile your own applet using <a href="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html">javac</a>, you&#8217;ll need to <a href="http://forums.sun.com/thread.jspa?threadID=174214">sign it</a> in order to be able to get access to the clipboard. (I have signed the applet contained in the zip and the certificate expires 6 months from July 19th, 2009, around January 19th, 2010).</p>
<p>If you find it useful or somebody else has already done this (and somebody surely has, but I didn&#8217;t have any luck finding it on Google), please write me in the comments.</p>
<p>Thanks.<br />
- Lasse</p>
<p>
<a href="http://twitter.com/lassebunk" onclick="abtest.trackGoal(21, this);" class="icon twitter">Follow me on Twitter</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://lassebunk.dk/2009/08/04/clipboard-java-applet/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Using the clipboard to post images</title>
		<link>http://lassebunk.dk/2009/07/19/using-the-clipboard-to-post-images/</link>
		<comments>http://lassebunk.dk/2009/07/19/using-the-clipboard-to-post-images/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 00:41:42 +0000</pubDate>
		<dc:creator>lassebunk</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Applet]]></category>
		<category><![CDATA[Clipboard]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://lassebunk.dk/?p=155</guid>
		<description><![CDATA[How to post an image from the clipboard using a java applet.]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> The source code for this demo is now available here: <a href="http://lassebunk.dk/2009/08/04/clipboard-java-applet/">Clipboard java applet</a></p>
<p><strong>Update 2:</strong> Also try <a href="http://supa.sourceforge.net/">SUPA</a>, which is a great ready-to-use alternative.</p>
<p>I just did a small test to see if it was possible to post images from the clipboard to a webapp.. and it is, using a signed applet.</p>
<p>The concept is to grab the image, post it to a php-script and then return the URL of the new image. Check it out <a href="http://lassebunk.dk/demos/clipboard-image/clipboard-image.html">here</a>. (The applet code is rewritten from <a href="http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=18088#p18088">here</a>).</p>
<p>Or if you don&#8217;t like trusting me to run my home made signed applet, just view this video: <img src='http://lassebunk.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><object id='stVU9WQ0ZIR11YSVtfUl1bV1BS' width='640' height='400' type='application/x-shockwave-flash' data='http://www.screentoaster.com/swf/STPlayer.swf'  codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0'><param name='movie' value='http://www.screentoaster.com/swf/STPlayer.swf'/><param name='allowFullScreen' value='true'/><param name='allowScriptAccess' value='always'/><param name='flashvars' value='video=stVU9WQ0ZIR11YSVtfUl1bV1BS'/></object>
<div style='width: 640px; font-size: small; text-align: right;'>Recorded with <a href='http://www.screentoaster.com/'>ScreenToaster</a></div>
<p>
<a href="http://twitter.com/lassebunk" onclick="abtest.trackGoal(21, this);" class="icon twitter">Follow me on Twitter</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://lassebunk.dk/2009/07/19/using-the-clipboard-to-post-images/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

