<?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>skullbochs &#187; bookmarklets</title>
	<atom:link href="http://skullbochs.com/tags/bookmarklets/feed/" rel="self" type="application/rss+xml" />
	<link>http://skullbochs.com</link>
	<description>human knowledge belongs to the world</description>
	<lastBuildDate>Mon, 24 Aug 2009 23:47:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Blog, and More Ogg</title>
		<link>http://skullbochs.com/2009/08/24/new-blog-and-more-ogg/</link>
		<comments>http://skullbochs.com/2009/08/24/new-blog-and-more-ogg/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 23:42:20 +0000</pubDate>
		<dc:creator>skullbochs</dc:creator>
				<category><![CDATA[ain't that nifty]]></category>
		<category><![CDATA[bookmarklets]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[ogg]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[theora]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vorbis]]></category>

		<guid isPermaLink="false">http://skullbochs.com/?p=182</guid>
		<description><![CDATA[As you may or may not know, I have a new blog, Being a Bad Ocelot. So far, I&#8217;ve used it to embed Ogg Theora videos.
I&#8217;m passionate about Theora. I want it to rule the Internet. The main thing that makes me confident that it will eventually do so is that it&#8217;s free. A lot [...]]]></description>
			<content:encoded><![CDATA[<p>As you may or may not know, I have a new blog, <a href="http://badocelot.com">Being a Bad Ocelot</a>. So far, I&#8217;ve used it to embed Ogg Theora videos.</p>
<p>I&#8217;m passionate about Theora. I want it to rule the Internet. The main thing that makes me confident that it will eventually do so is that it&#8217;s free. A lot of computer games now use Ogg Vorbis, the audio codec, internally because it gives great quality and doesn&#8217;t cost the company a dime to use it. When companies realize that they can stream Theora without paying an MPEG tax, I think they&#8217;ll start switching.</p>
<p>But some extra things need to heppen if we really want Theora to go mainstream. First, of course, Theora needs to keep getting better. If you&#8217;re good with video compression, you might want to volunteer to help improve it. Another thing is that major streaming video centers need to adopt it. Dailymotion already has, and I hope YouTube will. Browsers need to adopt it, too. For the most part they are: Firefox already has, and the next versions of Chrome and Opera will, as well. Safari can use Theora if you install the XiphQT plugins for QuickTime.</p>
<p>Some myths also need to be dispelled. First, yes, Theora is ready. It&#8217;s a good codec; not the best codec, but then, JPEG isn&#8217;t the best image format, either. But <a href="http://people.xiph.org/~greg/video/ytcompare/comparison.html">they get the job done</a>, everybody can use them, and they don&#8217;t cost a dime.</p>
<p>Secondly, one thing that I think will make many people and companies hesitate about direct &lt;video&gt; embedding of any kind is that it will be easy to download them. But the fact is that it&#8217;s never been hard. Anything sent over the Internet can be captured en route — Safari has an &#8220;Activity Window&#8221; that logs all files coming in, even from Flash applets — and there are several sites and <a href="http://skullbochs.com/2009/06/04/download-videos-from-youtube-as-mp4s/">bookmarklets</a> that let you easily download videos from YT, etc. If you <em>really</em> feel that you need to keep people from watching your videos offline, you really need to use something like Silverlight with its support for Microsoft&#8217;s DRM scheme. But considering major companies feel comfortable enough using YouTube (the easiest vid site to download from) to distribute entire shows and movies, some in HD, you may want reconsider whether you really stand to gain anything by making it hard for your users to download to your videos to their computer.</p>
<p>More on Theora, with some tips on using it: <a href="http://www.fsf.org/blogs/community/working-with-theora">Working with Ogg Theora and the video tag</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://skullbochs.com/2009/08/24/new-blog-and-more-ogg/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>lilURL Bookmarklet</title>
		<link>http://skullbochs.com/2009/06/17/lilurl-bookmarklet/</link>
		<comments>http://skullbochs.com/2009/06/17/lilurl-bookmarklet/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 15:23:02 +0000</pubDate>
		<dc:creator>skullbochs</dc:creator>
				<category><![CDATA[ain't that nifty]]></category>
		<category><![CDATA[bookmarklets]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[lilurl]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[url shortening]]></category>

		<guid isPermaLink="false">http://skullbochs.com/?p=118</guid>
		<description><![CDATA[lilURL is a free URL shortening web app. It&#8217;s used by a number of sites, including ur1.ca, which was set up by the founder of identi.ca for use with that service. One of the problems with lilURL compared to other url shortening services is that it only accepts POST submissions, meaning that a simple bookmarklet [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lilurl.sourceforge.net/">lilURL</a> is a free URL shortening web app. It&#8217;s used by a number of sites, including <a href="http://ur1.ca">ur1.ca</a>, which was set up by the founder of <a href="http://identi.ca">identi.ca</a> for use with that service. One of the problems with lilURL compared to other url shortening services is that it only accepts POST submissions, meaning that a simple bookmarklet like <code>javascript:location.href="http://ur1.ca/?longurl="+document.URL</code> won&#8217;t work.</p>
<p>Instead, you have to create an invisible form and submit it, like so:<br />
<code>javascript:myForm=document.createElement("form");myForm.style.display="none";myForm.method="post";myForm.action="http://ur1.ca/";myInput=document.createElement("input");myInput.setAttribute("name","longurl");myInput.setAttribute("value",document.URL);myForm.appendChild(myInput);document.body.appendChild(myForm);myForm.submit();document.body.removeChild(myForm);</code> The above will work for any lilURL service; just change the address in <code>myForm.action="http://ur1.ca/";</code> to the address of the lilURL service.</p>
<p>Finally, here&#8217;s the bookmarklet for ur1.ca: <a href='javascript:myForm=document.createElement("form");myForm.style.display="none";myForm.method="post";myForm.action="http://ur1.ca/";myInput=document.createElement("input");myInput.setAttribute("name","longurl");myInput.setAttribute("value",document.URL);myForm.appendChild(myInput);document.body.appendChild(myForm);myForm.submit();document.body.removeChild(myForm);'>Shorten w/ ur1.ca</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://skullbochs.com/2009/06/17/lilurl-bookmarklet/feed/</wfw:commentRss>
		<slash:comments>159</slash:comments>
		</item>
		<item>
		<title>Download videos from YouTube as MP4s</title>
		<link>http://skullbochs.com/2009/06/04/download-videos-from-youtube-as-mp4s/</link>
		<comments>http://skullbochs.com/2009/06/04/download-videos-from-youtube-as-mp4s/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 04:53:00 +0000</pubDate>
		<dc:creator>skullbochs</dc:creator>
				<category><![CDATA[ain't that nifty]]></category>
		<category><![CDATA[bookmarklets]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[mpeg4]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://skullbochs.com/2009/06/04/download-videos-from-youtube-as-mp4s/</guid>
		<description><![CDATA[For a while now I&#8217;ve been wanting a way to download YouTube videos in 720p. I knew how to do it in Safari using the Activity Window, so it&#8217;s only been since I&#8217;ve switched to GNU/Linux as my main that the need has became pressing (especially since even Adobe&#8217;s proprietary Flash plugin has a hard [...]]]></description>
			<content:encoded><![CDATA[<p>For a while now I&#8217;ve been wanting a way to download YouTube videos in 720p. I knew how to do it in Safari <a href="http://webrevolutionary.com/use-safaris-activity-window-to-save-web-files/">using the Activity Window</a>, so it&#8217;s only been since I&#8217;ve switched to GNU/Linux as my main that the need has became pressing (especially since even Adobe&#8217;s proprietary Flash plugin has a hard time with HD and any video in fullscreen). So, tonight, having decided I&#8217;d download <a href="http://www.youtube.com/homeproject">Home</a>, I went looking for a way to download in HD.</p>
<p>I <a href="http://macskeeball.dnsalias.com/misc/macstack/download_youtube_hd.html">found</a> a nifty little bookmarklet: <a href="javascript:if%20(document.getElementById('download-youtube-video')==null%20&amp;&amp;%20!!(document.location.href.match(/http:%5C/%5C/%5Ba-zA-Z%5C.%5D*youtube%5C.com%5C/watch/)))%20%7Bvar%20yt_mp4_path='http://www.youtube.com/get_video?fmt=22&amp;video_id='+swfArgs%5B'video_id'%5D+'&amp;t='+swfArgs%5B't'%5D;%20var%20div_embed=document.getElementById('watch-embed-div');div_embed.innerHTML=div_embed.innerHTML+'%3Cbr%20/%3E%20%3Cspan%20id=%5C'download-youtube-video%5C'%3E%3Ca%20href=%5C''+yt_mp4_path+'%5C'%3EDownload%20as%20720p%20HD%20MP4%3C/a%3E%20'+%20%20((navigator.userAgent.indexOf('Safari')!=-1)?'(control-click%20and%20select%20%3Ci%3EDownload%20linked%20file%20as%3C/i%3E)':('(right-click%20and%20select%20%3Ci%3ESave%20'+%20(navigator.appName=='Microsoft%20Internet%20Explorer'?'target':'link')%20+'%20as)%3C/i%3E'))+'%3C/span%3E';%7Dvoid(0);">Download YouTube HD</a>. Drag that link your bookmarks bar, go to a YouTube video with HD, and click on it, and a link will be added at the bottom of the info box saying &#8220;Download as 720p HD MP4.&#8221; Right click on it, and save the video wherever.</p>
<p>I <a href="http://chris.pirillo.com/how-to-download-720p-high-definition-youtube-videos/">also found</a> a bookmarklet for saving the high-quality (but no HD) mpeg4 version of any video: <a href="javascript:if(document.location.href.match(/http://[a-zA-Z.]*youtube.com/watch/)){document.location.href='http://www.youtube.com/get_video?fmt=18&amp;video_id='+swfArgs['video_id']+'&amp;t='+swfArgs['t']}">Download YouTube MP4</a>. Similar deal: drag that to you bookmarks bar, go to a YouTube video, and click on it. This time, however, you&#8217;ll simply be asked by your browser to save the file. You don&#8217;t have to click any other links.</p>
<p>As I said, these are especially useful under GNU/Linux, where there are a million great desktop video players but the Adobe Flash plugin, let alone the free implementations of swf, is not that great.</p>
]]></content:encoded>
			<wfw:commentRss>http://skullbochs.com/2009/06/04/download-videos-from-youtube-as-mp4s/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
