<?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>blogging on Base16b &#187; Code Sample</title>
	<atom:link href="http://www.base16b.org/blog/topics/contains-plug-in-or-other-code-fragment/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.base16b.org/blog</link>
	<description>Efficient, standards-compliant binary encoding</description>
	<lastBuildDate>Sat, 22 Aug 2009 01:57:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Playing with Base16b</title>
		<link>http://www.base16b.org/blog/2009/08/playing-with-base16b/</link>
		<comments>http://www.base16b.org/blog/2009/08/playing-with-base16b/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 10:04:13 +0000</pubDate>
		<dc:creator>henchan</dc:creator>
				<category><![CDATA[Code Sample]]></category>
		<category><![CDATA[WordPress plugin]]></category>

		<guid isPermaLink="false">http://www.base16b.org/blog/?p=93</guid>
		<description><![CDATA[The previous post showed base64 encoding of part of a WordPress post. Base64 encoded 148 characters (a few of which were due to htmlentity expansion). Now let&#8217;s do the same thing using a version of the plugin modified for Base16b encoding. After hitting Encode, if you see only empty boxes, you might want to install [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://base16b.org/blog/2009/08/playing-with-base64/">previous post</a> showed base64 encoding of part of a WordPress post. Base64 encoded 148 characters (a few of which were due to htmlentity expansion).</p>
<p>Now let&#8217;s do the same thing using a <a href="http://www.base16b.org/plugins/wordpress/">version of the plugin</a> modified for Base16b encoding.<br />
After hitting Encode, if you see only empty boxes, you might want to install a font such as <a href="http://www.base16b.org/blog/2009/08/lastresort-font/">LastResort</a>.</p>
<p><div id='b16bblock-93-1'><blockquote><p>&lt;img<br />
src=&quot;http://base16b.org/doc/specification/version/<br />
0.1/larry.gif&quot; alt=&quot;Larry&quot; /&gt;</p></blockquote><input type="button" value="Base16b Encode" id="theButton" name="send" onClick="replaceb16bEncodeText('b16bblock-93-1', '&lt;img src=&quot;http://base16b.org/doc/specification/version/0.1/larry.gif&quot; alt=&quot;Larry&quot; /&gt;', '16', 'Base16b Decode');"></p>
<p>This plug-in is now available from the <a href="http://wordpress.org/extend/plugins/search.php?q=base16b">WordPress Plugin site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.base16b.org/blog/2009/08/playing-with-base16b/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Playing with base64</title>
		<link>http://www.base16b.org/blog/2009/08/playing-with-base64/</link>
		<comments>http://www.base16b.org/blog/2009/08/playing-with-base64/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 16:55:12 +0000</pubDate>
		<dc:creator>henchan</dc:creator>
				<category><![CDATA[Code Sample]]></category>
		<category><![CDATA[base64]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress plugin]]></category>

		<guid isPermaLink="false">http://www.base16b.org/blog/?p=19</guid>
		<description><![CDATA[This is a WordPress blog, so let&#8217;s start by using a WordPress plugin which encodes and decodes base64. This original script comes from MrAndersonMD Note: the image tag comprising a URL of 84 characters (not the actual binary image) is encoded. See the next post for the encoded img tag. Note2: the original text is [...]]]></description>
			<content:encoded><![CDATA[<p>This is a WordPress blog, so let&#8217;s start by using a WordPress plugin which encodes and decodes base64. </p>
<p>This original script comes from <a href="http://www.mrandersonmd.com/wordpress-plugins/base64-encoderdecoder-plugin-for-wordpress/">MrAndersonMD </a>
</p>
<p>Note: the image tag comprising a URL of 84 characters (not the actual binary image) is encoded. See the <a href="http://www.base16b.org/blog/2009/08/playing-with-base16b">next post</a> for the encoded img tag.<br />
Note2: the original text is additionally altered when encoded, through htmlentity substitution. e.g double quote &#8221; is encoded in base64 as & quot; (no space)</p>
<ul>Base64 = 148 characters</ul>
<p><div id='b64block-19-1'><blockquote><p>Jmx0O2ltZyBzcmM9ICZxdW90O2h0dHA6Ly9iYXNlMTZiLm9yZy9kb2M<br />
vc3BlY2lmaWNhdGlvbi92ZXJzaW9uLzAuMS9sYXJyeS5naWYmcXVvdD<br />
sgYWx0PSZxdW90O0xhcnJ5JnF1b3Q7LyZndDs=</p></blockquote><input type="button" value="Decode" name="send" onClick="javascript:replaceb64Text('b64block-19-1', 'Jmx0O2ltZyBzcmM9ICZxdW90O2h0dHA6Ly9iYXNlMTZiLm9yZy9kb2Mvc3BlY2lmaWNhdGlvbi92ZXJzaW9uLzAuMS9sYXJyeS5naWYmcXVvdDsgYWx0PSZxdW90O0xhcnJ5JnF1b3Q7LyZndDs=');"></div></p>
<p>Pressing <em>Decode </em> reveals the URL and the page subsequently displays the linked resource.</p>
<p>See the <a href="http://www.base16b.org/blog/2009/08/playing-with-base16b">next post</a> for equivalent encoding in Base16b.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.base16b.org/blog/2009/08/playing-with-base64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
