<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Noscope</title>
	
	<link>http://noscope.com</link>
	<description>Snacksized Portions of Pointless Stuff</description>
	<lastBuildDate>Wed, 10 Mar 2010 10:35:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/noscope" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="noscope" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title><![CDATA[The Awesome Russian Ekranoplan]]></title>
		<link>http://noscope.com/journal/2010/03/the-awesome-russian-ekranoplan</link>
		<comments>http://noscope.com/journal/2010/03/the-awesome-russian-ekranoplan#comments</comments>
		<pubDate>Wed, 10 Mar 2010 10:35:39 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Sidenotes]]></category>
		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6118</guid>
		<description><![CDATA[Found via my buddy, this russian giga-plane uses the &#8220;ground effect&#8221; to achieve a level flight near the surface of the earth, the distance relative to the wingspan. Here&#8217;s another picture of this leviathan.
The Awesome Russian Ekranoplan appeared on Noscope on March 10th, 2010. Tweet This
]]></description>
			<content:encoded><![CDATA[<p>Found via <a href="http://www.google.com/profiles/heilemann">my buddy</a>, <a href="http://igor113.livejournal.com/51213.html">this russian giga-plane</a> uses the &#8220;ground effect&#8221; to achieve a level flight near the surface of the earth, the distance relative to the wingspan. <a href="http://en.wikipedia.org/wiki/File:Ekranoplan_of_1980s.jpg">Here&#8217;s another picture</a> of this leviathan.</p>
<p><a href="http://noscope.com/journal/2010/03/the-awesome-russian-ekranoplan" rel="bookmark">The Awesome Russian Ekranoplan</a> appeared on <a href="http://noscope.com">Noscope</a> on March 10th, 2010. <a href="http://twitter.com/home/?status=The Awesome Russian Ekranoplan: http://noscope.com/?p=6118">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/trGvLKsoskeiAQnfFwN6rPk4RgE/0/da"><img src="http://feedads.g.doubleclick.net/~a/trGvLKsoskeiAQnfFwN6rPk4RgE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/trGvLKsoskeiAQnfFwN6rPk4RgE/1/da"><img src="http://feedads.g.doubleclick.net/~a/trGvLKsoskeiAQnfFwN6rPk4RgE/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/03/the-awesome-russian-ekranoplan/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title><![CDATA[Wordpress Trick: Hide Admin Panels From Specific User Roles]]></title>
		<link>http://noscope.com/journal/2010/03/hide-admin-panels-from-specific-user-roles</link>
		<comments>http://noscope.com/journal/2010/03/hide-admin-panels-from-specific-user-roles#comments</comments>
		<pubDate>Tue, 09 Mar 2010 15:35:34 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Sidenotes]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress-tricks]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6110</guid>
		<description><![CDATA[When you&#8217;re building a Wordpress website for a client, sometimes you&#8217;ll want to hide certain admin panels from specific user roles; do editors really need &#8220;custom fields&#8221;? Drop the following code into your functions.php file to hide the Custom Fields meta-box from editors.

function hide_meta_boxes&#40;&#41; &#123;
     remove_meta_box&#40;'postcustom','post','normal'&#41;;
     remove_meta_box&#40;'postcustom','page','normal'&#41;;
&#125;
&#160;
if [...]]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re building a Wordpress website for a client, sometimes you&#8217;ll want to hide certain admin panels from specific user roles; do <em>editors</em> really need &#8220;custom fields&#8221;? Drop the following code into your <code>functions.php</code> file to hide the Custom Fields meta-box from <em>editors</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> hide_meta_boxes<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     remove_meta_box<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'postcustom'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'post'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'normal'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     remove_meta_box<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'postcustom'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'page'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'normal'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'manage_options'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_init'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'hide_meta_boxes'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The <code>remove_meta_box</code> function takes three parameters. 1: the <code>div</code> ID of the box you want to hide, the context (post or page) and position (normal or advanced).</p>
<p><a href="http://noscope.com/journal/2010/03/hide-admin-panels-from-specific-user-roles" rel="bookmark">Wordpress Trick: Hide Admin Panels From Specific User Roles</a> appeared on <a href="http://noscope.com">Noscope</a> on March 09th, 2010. <a href="http://twitter.com/home/?status=Wordpress Trick: Hide Admin Panels From Specific User Roles: http://noscope.com/?p=6110">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/voIi-hm35ncKO0NBlLEFKgl2pxY/0/da"><img src="http://feedads.g.doubleclick.net/~a/voIi-hm35ncKO0NBlLEFKgl2pxY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/voIi-hm35ncKO0NBlLEFKgl2pxY/1/da"><img src="http://feedads.g.doubleclick.net/~a/voIi-hm35ncKO0NBlLEFKgl2pxY/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/03/hide-admin-panels-from-specific-user-roles/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title><![CDATA[♥ The Complete Archives Of Popular Science]]></title>
		<link>http://noscope.com/journal/2010/03/the-complete-archives-of-popular-science</link>
		<comments>http://noscope.com/journal/2010/03/the-complete-archives-of-popular-science#comments</comments>
		<pubDate>Mon, 08 Mar 2010 13:03:29 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[magazines]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6102</guid>
		<description><![CDATA[Out now using Googles &#8220;Books&#8221; engine, all the magazines ever published of Popular Science Monthly. Delicous.
The Complete Archives Of Popular Science appeared on Noscope on March 08th, 2010. Tweet This
]]></description>
			<content:encoded><![CDATA[<div class=\"si\"><a href="/photostream/albums/various/popsci_1.jpg"><img src="http://noscope.com/wp-content/plugins/image-symlinks/timthumb.php?src=/photostream/albums/various//popsci_1.jpg&amp;w=600&amp;h=" alt="popsci_1.jpg" class="" /></a></div>
<div class=\"si\"><a href="/photostream/albums/various/popsci_2.jpg"><img src="http://noscope.com/wp-content/plugins/image-symlinks/timthumb.php?src=/photostream/albums/various//popsci_2.jpg&amp;w=600&amp;h=" alt="popsci_2.jpg" class="" /></a></div>
<p>Out now using Googles &#8220;Books&#8221; engine, all the magazines ever published of <a href="http://www.popsci.com/archives">Popular Science Monthly</a>. Delicous.</p>
<p><a href="http://noscope.com/journal/2010/03/the-complete-archives-of-popular-science" rel="bookmark">The Complete Archives Of Popular Science</a> appeared on <a href="http://noscope.com">Noscope</a> on March 08th, 2010. <a href="http://twitter.com/home/?status=The Complete Archives Of Popular Science: http://noscope.com/?p=6102">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/bTjUGlkgzVwpnvJtLpYvCSg4kJk/0/da"><img src="http://feedads.g.doubleclick.net/~a/bTjUGlkgzVwpnvJtLpYvCSg4kJk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/bTjUGlkgzVwpnvJtLpYvCSg4kJk/1/da"><img src="http://feedads.g.doubleclick.net/~a/bTjUGlkgzVwpnvJtLpYvCSg4kJk/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/03/the-complete-archives-of-popular-science/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title><![CDATA[A New Ubuntu Interface]]></title>
		<link>http://noscope.com/journal/2010/03/a-new-ubuntu-interface</link>
		<comments>http://noscope.com/journal/2010/03/a-new-ubuntu-interface#comments</comments>
		<pubDate>Thu, 04 Mar 2010 09:59:37 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[Sidenotes]]></category>
		<category><![CDATA[quick-thoughts]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6096</guid>
		<description><![CDATA[Ubuntu is getting a new interface replacing the theme it&#8217;s sported across a number of versions now. Some superfast observations:

Only a top-bar as opposed to previously, a top and bottom bar.
Close buttons on the left! Are they insane?
There are still file menus. How 1995.
There&#8217;s a &#8220;Shutdown&#8221; button in the top right corner, arguably the best [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://news.softpedia.com/news/Ubuntu-10-04-Drops-the-Human-Theme-for-a-Fresh-New-Look-136537.shtml">Ubuntu is getting a new interface</a> replacing the theme it&#8217;s sported across a number of versions now. Some superfast observations:</p>
<ul>
<li>Only a top-bar as opposed to previously, a top and bottom bar.</li>
<li>Close buttons on the left! Are they insane?</li>
<li>There are still file menus. How 1995.</li>
<li>There&#8217;s a &#8220;Shutdown&#8221; button in the top right corner, arguably the best real-estate according to Paul Fitt. Do we really want it to be that easy to shut down?</li>
</ul>
<p><a href="http://noscope.com/journal/2010/03/a-new-ubuntu-interface" rel="bookmark">A New Ubuntu Interface</a> appeared on <a href="http://noscope.com">Noscope</a> on March 04th, 2010. <a href="http://twitter.com/home/?status=A New Ubuntu Interface: http://noscope.com/?p=6096">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/Wu-1Xc48DgoCEtbTmP0xTHyh3aw/0/da"><img src="http://feedads.g.doubleclick.net/~a/Wu-1Xc48DgoCEtbTmP0xTHyh3aw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Wu-1Xc48DgoCEtbTmP0xTHyh3aw/1/da"><img src="http://feedads.g.doubleclick.net/~a/Wu-1Xc48DgoCEtbTmP0xTHyh3aw/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/03/a-new-ubuntu-interface/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title><![CDATA[Open Letter To Steve Jobs Concerning The HTC Lawsuits]]></title>
		<link>http://noscope.com/journal/2010/03/open-letter-to-steve-jobs-concerning-the-htc-lawsuits</link>
		<comments>http://noscope.com/journal/2010/03/open-letter-to-steve-jobs-concerning-the-htc-lawsuits#comments</comments>
		<pubDate>Thu, 04 Mar 2010 09:51:28 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Sidenotes]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6094</guid>
		<description><![CDATA[Wil Shipley:
Enforcing patents is wrong. You’ve famously taken and built on ideas  from your competitors, as have I, as we should, as great artists do. Why  is what HTC has done worse? Whether an idea was patented doesn’t change  the morality of copying it, it only changes the ability to sue.
[...]
I always [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wilshipley.com/blog/2010/03/open-letter-to-steve-jobs-concerning.html">Wil Shipley</a>:</p>
<blockquote><p>Enforcing patents is wrong. You’ve famously taken and built on ideas  from your competitors, as have I, as we should, as great artists do. Why  is what HTC has done worse? Whether an idea was patented doesn’t change  the morality of copying it, it only changes the ability to sue.</p>
<p>[...]</p>
<p>I always  thought of you as a guy who’d say, “Well, copy me if you can, because  you’re copying what I did years ago, and what I’m working on now is EVEN  cooler!” I like it when competitors copy me because it means they  aren’t about to leapfrog me: they’ll always be playing catch-up.</p></blockquote>
<p>This is, of course, <a href="http://art.penny-arcade.com/photos/735687102_YBtdj-L.jpg">the laser-eyes-lion-riding Wil Shipley</a> who was <a href="http://twitter.com/wilshipley/status/8289716016">himself copied by Apple</a>. Which makes this post extra delicious.</p>
<p><a href="http://noscope.com/journal/2010/03/open-letter-to-steve-jobs-concerning-the-htc-lawsuits" rel="bookmark">Open Letter To Steve Jobs Concerning The HTC Lawsuits</a> appeared on <a href="http://noscope.com">Noscope</a> on March 04th, 2010. <a href="http://twitter.com/home/?status=Open Letter To Steve Jobs Concerning The HTC Lawsuits: http://noscope.com/?p=6094">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/oZ-x4PVJTd0sheQb8bF4j69Pluk/0/da"><img src="http://feedads.g.doubleclick.net/~a/oZ-x4PVJTd0sheQb8bF4j69Pluk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/oZ-x4PVJTd0sheQb8bF4j69Pluk/1/da"><img src="http://feedads.g.doubleclick.net/~a/oZ-x4PVJTd0sheQb8bF4j69Pluk/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/03/open-letter-to-steve-jobs-concerning-the-htc-lawsuits/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title><![CDATA[♥ Flame Art]]></title>
		<link>http://noscope.com/journal/2010/02/flame-art</link>
		<comments>http://noscope.com/journal/2010/02/flame-art#comments</comments>
		<pubDate>Thu, 25 Feb 2010 19:04:02 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6084</guid>
		<description><![CDATA[This is flame art, built using Peter Blaskovics java-based Flame painter.
Flame Art appeared on Noscope on February 25th, 2010. Tweet This
]]></description>
			<content:encoded><![CDATA[<div class=\"si\"><a href="/photostream/albums/various/Flame_20100225-195205.jpg"><img src="http://noscope.com/wp-content/plugins/image-symlinks/timthumb.php?src=/photostream/albums/various//Flame_20100225-195205.jpg&amp;w=600&amp;h=" alt="Flame_20100225-195205.jpg" class="" /></a></div>
<div class=\"si\"><a href="/photostream/albums/various/Flame_20100225-195510.jpg"><img src="http://noscope.com/wp-content/plugins/image-symlinks/timthumb.php?src=/photostream/albums/various//Flame_20100225-195510.jpg&amp;w=600&amp;h=" alt="Flame_20100225-195510.jpg" class="" /></a></div>
<div class=\"si\"><a href="/photostream/albums/various/Flame_20100225-194633.jpg"><img src="http://noscope.com/wp-content/plugins/image-symlinks/timthumb.php?src=/photostream/albums/various//Flame_20100225-194633.jpg&amp;w=600&amp;h=" alt="Flame_20100225-194633.jpg" class="" /></a></div>
<div class=\"si\"><a href="/photostream/albums/various/Flame_20100225-194125.jpg"><img src="http://noscope.com/wp-content/plugins/image-symlinks/timthumb.php?src=/photostream/albums/various//Flame_20100225-194125.jpg&amp;w=600&amp;h=" alt="Flame_20100225-194125.jpg" class="" /></a></div>
<div class=\"si\"><a href="/photostream/albums/various/Flame_20100225-194041.jpg"><img src="http://noscope.com/wp-content/plugins/image-symlinks/timthumb.php?src=/photostream/albums/various//Flame_20100225-194041.jpg&amp;w=600&amp;h=" alt="Flame_20100225-194041.jpg" class="" /></a></div>
<div class=\"si\"><a href="/photostream/albums/various/Flame_20100225-195406.jpg"><img src="http://noscope.com/wp-content/plugins/image-symlinks/timthumb.php?src=/photostream/albums/various//Flame_20100225-195406.jpg&amp;w=600&amp;h=" alt="Flame_20100225-195406.jpg" class="" /></a></div>
<div class=\"si\"><a href="/photostream/albums/various/Flame_20100225-195746.jpg"><img src="http://noscope.com/wp-content/plugins/image-symlinks/timthumb.php?src=/photostream/albums/various//Flame_20100225-195746.jpg&amp;w=600&amp;h=" alt="Flame_20100225-195746.jpg" class="" /></a></div>
<p>This is <em>flame</em> art, built using <a href="http://www.escapemotions.com/experiments/flame/#top">Peter Blaskovics java-based Flame painter</a>.</p>
<p><a href="http://noscope.com/journal/2010/02/flame-art" rel="bookmark">Flame Art</a> appeared on <a href="http://noscope.com">Noscope</a> on February 25th, 2010. <a href="http://twitter.com/home/?status=Flame Art: http://noscope.com/?p=6084">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/gw_USHe2N_fpqsM9pkJXvJGKeWA/0/da"><img src="http://feedads.g.doubleclick.net/~a/gw_USHe2N_fpqsM9pkJXvJGKeWA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/gw_USHe2N_fpqsM9pkJXvJGKeWA/1/da"><img src="http://feedads.g.doubleclick.net/~a/gw_USHe2N_fpqsM9pkJXvJGKeWA/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/02/flame-art/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title><![CDATA[Wordpress Trick: Google MP3 Player Shortcode]]></title>
		<link>http://noscope.com/journal/2010/02/wordpress-trick-google-mp3-player-shortcode</link>
		<comments>http://noscope.com/journal/2010/02/wordpress-trick-google-mp3-player-shortcode#comments</comments>
		<pubDate>Thu, 25 Feb 2010 15:59:33 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Sidenotes]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress-tricks]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6078</guid>
		<description><![CDATA[Here&#8217;s another Wordpress shortcode which is quite useful. It piggybacks on Googles excellent Flash-based MP3 player (the one they use in Gmail and so on), makes it easy to embed playable MP3s in your posts. Syntax: . Dump this in your functions.php:

function mp3player&#40;$attr&#41; &#123;
	$src = str_replace&#40;&#34;=&#34;, &#34;&#34;, $attr&#91;0&#93;&#41;;
	return '&#60;embed type=&#34;application/x-shockwave-flash&#34; src=&#34;http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl='.$src.'&#34; width=&#34;100%&#34; height=&#34;27&#34; allowscriptaccess=&#34;never&#34; quality=&#34;best&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another Wordpress shortcode which is quite useful. It piggybacks on Googles excellent Flash-based MP3 player (the one they use in Gmail and so on), makes it easy to embed playable MP3s in your posts. Syntax: [mp3=path/to/filename.mp3]. Dump this in your <code>functions.php</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> mp3player<span style="color: #009900;">&#40;</span><span style="color: #000088;">$attr</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$src</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;=&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'&lt;embed type=&quot;application/x-shockwave-flash&quot; src=&quot;http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl='</span><span style="color: #339933;">.</span><span style="color: #000088;">$src</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; width=&quot;100%&quot; height=&quot;27&quot; allowscriptaccess=&quot;never&quot; quality=&quot;best&quot; bgcolor=&quot;#ffffff&quot; wmode=&quot;window&quot; flashvars=&quot;playerMode=embedded&quot; /&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_shortcode<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'mp3'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mp3player'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Here&#8217;s an example:</p>
<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://www.speakerbiteme.com/tracks/teach_me_tiger.mp3" width="100%" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />
<p>Music by <a href="http://www.speakerbiteme.com">Speaker Bite Me</a>.</p>
<p><a href="http://noscope.com/journal/2010/02/wordpress-trick-google-mp3-player-shortcode" rel="bookmark">Wordpress Trick: Google MP3 Player Shortcode</a> appeared on <a href="http://noscope.com">Noscope</a> on February 25th, 2010. <a href="http://twitter.com/home/?status=Wordpress Trick: Google MP3 Player Shortcode: http://noscope.com/?p=6078">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/HEaLAH0CPthetqwK1UrG91IlS1Y/0/da"><img src="http://feedads.g.doubleclick.net/~a/HEaLAH0CPthetqwK1UrG91IlS1Y/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/HEaLAH0CPthetqwK1UrG91IlS1Y/1/da"><img src="http://feedads.g.doubleclick.net/~a/HEaLAH0CPthetqwK1UrG91IlS1Y/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/02/wordpress-trick-google-mp3-player-shortcode/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://www.speakerbiteme.com/tracks/teach_me_tiger.mp3" length="1714190" type="audio/mpeg" />
		</item>
		<item>
		<title><![CDATA[Wordpress Trick: Create A Google Viewer PDF Shortcode [Update]]]></title>
		<link>http://noscope.com/journal/2010/02/wordpress-trick-create-a-google-viewer-pdf-shortcode</link>
		<comments>http://noscope.com/journal/2010/02/wordpress-trick-create-a-google-viewer-pdf-shortcode#comments</comments>
		<pubDate>Thu, 25 Feb 2010 12:25:35 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Sidenotes]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress-tricks]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6071</guid>
		<description><![CDATA[Want your PDFs to view through Google Reader? Wrap it in a shortcode like this: . Drop the following in your functions.php:

function pdflink&#40;$attr, $content&#41; &#123;
	return '&#60;a class=&#34;pdf&#34; href=&#34;http://docs.google.com/viewer?url=' . $attr&#91;'href'&#93; . '&#34;&#62;'.$content.'&#60;/a&#62;';
&#125;
add_shortcode&#40;'pdf', 'pdflink'&#41;;

[Update]: Here&#8217;s an updated shortcode function which allows you to also embed PDFs using this syntax: . Note how it&#8217;s just a tad [...]]]></description>
			<content:encoded><![CDATA[<p>Want your PDFs to view through Google Reader? Wrap it in a shortcode like this: <code><a class="pdf" href="http://docs.google.com/viewer?url=http://noscope.com/media/no.pdf">Link to a PDF</a></code>. Drop the following in your <code>functions.php</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> pdflink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$attr</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'&lt;a class=&quot;pdf&quot; href=&quot;http://docs.google.com/viewer?url='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'href'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$content</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_shortcode<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pdf'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'pdflink'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>[Update]: Here&#8217;s an updated shortcode function which allows you to also embed PDFs using this syntax: <code><a class="pdf" href="http://docs.google.com/viewer?url=http://noscope.com/media/no.pdf">Link to a PDF</a></code>. Note how it&#8217;s just a tad shorter, and you don&#8217;t have to remember the &#8220;href&#8221; parameter, though you can still use it.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> pdflink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$attr</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'href'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'&lt;a class=&quot;pdf&quot; href=&quot;http://docs.google.com/viewer?url='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'href'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$content</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$src</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;=&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'&lt;a class=&quot;pdf&quot; href=&quot;http://docs.google.com/viewer?url='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$src</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$content</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
add_shortcode<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pdf'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'pdflink'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Also, here&#8217;s an example PDF link using the above code: <a class="pdf" href="http://docs.google.com/viewer?url=http://noscope.com/media/no.pdf">Link to a PDF</a>.</p>
<p><a href="http://noscope.com/journal/2010/02/wordpress-trick-create-a-google-viewer-pdf-shortcode" rel="bookmark">Wordpress Trick: Create A Google Viewer PDF Shortcode [Update]</a> appeared on <a href="http://noscope.com">Noscope</a> on February 25th, 2010. <a href="http://twitter.com/home/?status=Wordpress Trick: Create A Google Viewer PDF Shortcode [Update]: http://noscope.com/?p=6071">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/9GAG8kNIoTTrKwWsli8wyBlWg6s/0/da"><img src="http://feedads.g.doubleclick.net/~a/9GAG8kNIoTTrKwWsli8wyBlWg6s/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9GAG8kNIoTTrKwWsli8wyBlWg6s/1/da"><img src="http://feedads.g.doubleclick.net/~a/9GAG8kNIoTTrKwWsli8wyBlWg6s/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/02/wordpress-trick-create-a-google-viewer-pdf-shortcode/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title><![CDATA[Android Market Finally Shows Updates To Your Apps]]></title>
		<link>http://noscope.com/journal/2010/02/android-market-finally-shows-updates-to-your-apps</link>
		<comments>http://noscope.com/journal/2010/02/android-market-finally-shows-updates-to-your-apps#comments</comments>
		<pubDate>Tue, 23 Feb 2010 18:54:11 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Sidenotes]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6069</guid>
		<description><![CDATA[Until now (which is a while) you haven&#8217;t had any easy way to find updates to apps you&#8217;ve installed on your Android phone. You had to enter the market and search for a particular app to see if an update was available. Since just a few days ago, you can now simply click the &#8220;Downloads&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Until now (which is a while) you haven&#8217;t had any easy way to find updates to apps you&#8217;ve installed on your Android phone. You had to enter the market and search for a particular app to see if an update was available. Since just a few days ago, you can now simply click the &#8220;Downloads&#8221; tab, to see which apps you have installed, and which of them have updates available.</p>
<p><a href="http://noscope.com/journal/2010/02/android-market-finally-shows-updates-to-your-apps" rel="bookmark">Android Market Finally Shows Updates To Your Apps</a> appeared on <a href="http://noscope.com">Noscope</a> on February 23rd, 2010. <a href="http://twitter.com/home/?status=Android Market Finally Shows Updates To Your Apps: http://noscope.com/?p=6069">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/iw0cgeaelJCsyMg5P4L0zaj3Oqg/0/da"><img src="http://feedads.g.doubleclick.net/~a/iw0cgeaelJCsyMg5P4L0zaj3Oqg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/iw0cgeaelJCsyMg5P4L0zaj3Oqg/1/da"><img src="http://feedads.g.doubleclick.net/~a/iw0cgeaelJCsyMg5P4L0zaj3Oqg/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/02/android-market-finally-shows-updates-to-your-apps/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title><![CDATA[♥ Forcing Scrollbars, 2010 Edition]]></title>
		<link>http://noscope.com/journal/2010/02/forcing-scrollbars-2010-edition</link>
		<comments>http://noscope.com/journal/2010/02/forcing-scrollbars-2010-edition#comments</comments>
		<pubDate>Fri, 19 Feb 2010 12:44:26 +0000</pubDate>
		<dc:creator>Joen</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://noscope.com/?p=6055</guid>
		<description><![CDATA[One of the challenges in webdesign is preventing the slight jog that happens when you &#8212; in a centered HTML design &#8212; when you go from a page that needs a scrollbar, to one that doesn&#8217;t. Think about it &#8212; you go from the short contact page to the blog, and everything is offset to [...]]]></description>
			<content:encoded><![CDATA[<p>One of the challenges in webdesign is preventing the slight jog that happens when you &#8212; in a centered HTML design &#8212; when you go from a page that needs a scrollbar, to one that doesn&#8217;t. Think about it &#8212; you go from the short contact page to the blog, and everything is offset to the left in the process, because the scrollbar takes up 18px. The solution, so far, has been to <a href="http://hicksdesign.co.uk/journal/forcing-scrollbars-now-even-better">force the scrollbars by faking extra page height</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">html <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Which has, for the most part, worked, even if it felt somewhat unnatural to scroll a page that doesn&#8217;t need scrolling. Fortunately, there&#8217;s a new method in town, which relies on CSS3:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">html <span style="color: #00AA00;">&#123;</span> overflow-y<span style="color: #00AA00;">:</span> <span style="color: #993333;">scroll</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>This forces the scroll-pane even when not needed. The beauty of it is, it doesn&#8217;t add the actual scroll-<em>bar</em> until it&#8217;s actually needed. This works in Internet Explorer,  Safari 3+, Firefox 3+, Opera and Chrome.</p>
<p>Special thanks <a href="http://twitter.com/aetherworld/status/9231544547">Alexander Graf</a> and also <a href="http://twitter.com/slaterusa/status/9200076561">M. Slater</a> who has <a href="http://www.slater.ch/scroll.html">a demo available</a>.</p>
<p><a href="http://noscope.com/journal/2010/02/forcing-scrollbars-2010-edition" rel="bookmark">Forcing Scrollbars, 2010 Edition</a> appeared on <a href="http://noscope.com">Noscope</a> on February 19th, 2010. <a href="http://twitter.com/home/?status=Forcing Scrollbars, 2010 Edition: http://noscope.com/?p=6055">Tweet This</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/qMo7X8l5XM2J5z8ayDJ2W03VsIA/0/da"><img src="http://feedads.g.doubleclick.net/~a/qMo7X8l5XM2J5z8ayDJ2W03VsIA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qMo7X8l5XM2J5z8ayDJ2W03VsIA/1/da"><img src="http://feedads.g.doubleclick.net/~a/qMo7X8l5XM2J5z8ayDJ2W03VsIA/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://noscope.com/journal/2010/02/forcing-scrollbars-2010-edition/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 1.055 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-03-14 17:13:10 -->
