<?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>Learning the World &#187; XSL</title>
	<atom:link href="http://learningtheworld.eu/tag/xsl/feed/" rel="self" type="application/rss+xml" />
	<link>http://learningtheworld.eu</link>
	<description></description>
	<lastBuildDate>Tue, 06 Nov 2012 00:17:33 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>Amazon Plugin Authorization</title>
		<link>http://learningtheworld.eu/2009/amazon-authorization/</link>
		<comments>http://learningtheworld.eu/2009/amazon-authorization/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 21:00:04 +0000</pubDate>
		<dc:creator><![CDATA[Martin Kliehm]]></dc:creator>
				<category><![CDATA[downloads]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[machine tags]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[triple tags]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XSL]]></category>

		<guid isPermaLink="false">http://learningtheworld.eu/?p=693</guid>
		<description><![CDATA[Starting August 15th, the <acronym title="Amazon Web Services">AWS</acronym> Product Advertising <acronym title="Application Programming Interface">API</acronym>, as the former E-Commerce Service is now called, will only accept signed requests. <strong>The plugin will stop working if you don&#8217;t update.</strong> Thus I needed to re-engineer a few functions of my WordPress Amazon Machine Tags Plugin.&#160;[&#8230;]]]></description>
				<content:encoded><![CDATA[<p class="alert">Oh, it&#8217;s confusing how often Amazon changes it&#8217;s product names and API. In my plugin the Help response group is used for <strong>key validation</strong>, alas <a href="http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/CHAP_WhatsNew.html">recently it&rsquo;s been deprecated</a>. I need more time to look for an alternative. In the meantime you can hack it by adding a file <a href="http://learningtheworld.eu/wp-content/cache/amtap-aws-key-verification.txt"><code>amtap-aws-key-verification.txt</code></a> in the wp-content/cache folder where the content is <code>true</code>.</p>

<p>Starting August 15th, the <acronym title="Amazon Web Services">AWS</acronym> Product Advertising <acronym title="Application Programming Interface">API</acronym>, as the former E-Commerce Service is now called, will only accept signed requests. <strong>The plugin will stop working if you don&rsquo;t update.</strong> Thus I needed to re-engineer a few functions of my <a href="/2007/amazon-machine-tags/">WordPress Amazon Machine Tags Plugin</a>.</p>

<p>What you need to do is:</p>

<ul>
<li><a href="http://wordpress.org/extend/plugins/amazon-machine-tags/">Update to version 3.0</a> of the plugin.</li>
<li>If you didn&rsquo;t adapt any files just overwrite them. If you customized the <acronym title="Cascading Style Sheets">CSS</acronym> or <acronym title="Extensible Stylesheet Language">XSL</acronym> files, take care that you don&rsquo;t overwrite yours. Also the <acronym>XSL</acronym> namespace must reflect the <acronym>API</acronym> version used in the plugin (2009-07-01), i.e. <code>xmlns:aws=<span class="codeSpace">&nbsp;</span>&quot;http://webservices.amazon.com/<span class="codeSpace">&nbsp;</span>AWSECommerceService/<span class="codeSpace">&nbsp;</span>2009-07-01&quot;</code></li>
<li><a href="http://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key">Get your Secret Access Key</a> in addition to your existing Access Key ID. Your future requests will be signed using the secret key.</li>
<li>Go to the plugin&rsquo;s admin interface and <strong>enter the secret key</strong>.</li>
<li>Some people experienced a few minutes where the items didn&rsquo;t show up, instead they got the untransformed <acronym title="Extensible Markup Language">XML</acronym> code. After a few minutes the problem resolved itself. My guess is that Amazon cached the <acronym>XSL</acronym> files, the versions mismatched, therefore the <acronym>XML</acronym> wasn&rsquo;t transformed. That&rsquo;s why I renamed the <acronym>XSL</acronym> files so that the new ones will be used. If you want to be sure, also delete the cached files <code>amtap-aws-items-for-post-*.html</code> in your <code>wp-content/cache</code> directory.</li>
</ul>

<p>If you encounter any problems with the update, re-install the <a href="http://downloads.wordpress.org/plugin/amazon-machine-tags.2.0.zip">old version</a> and let me know what went wrong so that we can fix it together until August 15th.</p>

<p>You can also support the plugin by <strong>translating it</strong>. There&rsquo;s an empty PO file in the package. With a tool such as <a href="http://www.poedit.net/">Poedit</a> it&rsquo;s fairly easy to translate everything. Thanks. <img src="http://learningtheworld.eu/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://learningtheworld.eu/2009/amazon-authorization/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>WordPress Goodies with InlineRSS</title>
		<link>http://learningtheworld.eu/2008/wordpress-goodies-with-inlinerss/</link>
		<comments>http://learningtheworld.eu/2008/wordpress-goodies-with-inlinerss/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 19:00:46 +0000</pubDate>
		<dc:creator><![CDATA[Martin Kliehm]]></dc:creator>
				<category><![CDATA[downloads]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Christian Heilmann]]></category>
		<category><![CDATA[del.icio.us]]></category>
		<category><![CDATA[Ed Eliot]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[inlineRSS]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[upcoming]]></category>
		<category><![CDATA[XSL]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://learningtheworld.eu/2008/wordpress-goodies-with-inlinerss/</guid>
		<description><![CDATA[Christmas is over, but I thought I might share a few of the scripts used on this site with you anyway. The key is an <strong>incredibly useful plugin called inlineRSS</strong> that pulls everything you throw at it into your site. You only need some <acronym title="Extensible Stylesheet Language Transformation">XSLT</acronym> magic. Since <acronym>XSLT</acronym> isn&#8217;t everyone&#8217;s strength, just copy my files. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Christmas is over, but I thought I might share a few of the scripts used on this site with you anyway. The key is an <strong>incredibly useful plugin called <a href="http://www.iconophobia.com/wordpress/?page_id=55">inlineRSS</a></strong> that pulls everything you throw at it into your site. You only need some <acronym title="Extensible Stylesheet Language Transformation">XSLT</acronym> magic. Since <acronym>XSLT</acronym> isn&rsquo;t everyone&rsquo;s strength, just copy my files:</p>

<ol>
<li>
<p>Let&rsquo;s start with the simplest transformation, pulling <strong>the number of people who have bookmarked your post</strong> on del.icio.us. There are two components: one line of <acronym>PHP</acronym> code to insert the result in the footer of a page (found in template file <code>single.php</code>), and a few lines of <acronym>XSLT</acronym> for the transformation:</p>
<ol class="code">
<li><code>&lt;?php inlineRSS(</code></li>
<li class="indent"><code>&#39;delicious-incoming-&#39;&nbsp;. $id,<br />
&#39;<ins datetime="2008-07-27">http://feeds.delicious.com</ins>/rss/url?url=&#39;&nbsp;. get_permalink(), 60, <strong>&#39;inline-rss-linked.xslt&#39;</strong>);</code></li>
<li><code>?&gt;</code></li>
</ol>
<p>The function <code>inlineRSS()</code> takes four arguments: the filename where you want to cache the result, the feed <acronym title="Uniform Resource Identifier">URI</acronym>, the time to cache in minutes, and the filename of the transformation stylesheet. The latter has to be in the same directory as <code>inlineRSS.php</code> (the plugin).</p>
<ol class="code">
<li><code>&lt;xsl:template match=&quot;/rdf:RDF&quot;&gt;</code></li>
<li class="indent"><code>&lt;xsl:if test=&quot;count( rss:item ) &amp;gt; 0&quot;&gt;</code></li>
<li class="indent double"><code>Saved by &lt;span class="linked-in"&gt;<strong>&lt;xsl:value-of select=&quot;count( rss:item )&quot;&nbsp;/&gt;</strong>&lt;/span&gt; other people.</code></li>
<li class="indent"><code>&lt;/xsl:if&gt;</code></li>
<li><code>&lt;/xsl:template&gt;</code></li>
</ol>
<p><strong>Download:</strong> <a href="/downloads/inline-rss-linked.xslt"><code>inline-rss-linked.xslt</code></a></p>
</li>
<li>
<p>In the sidebar of this blog you see a section &ldquo;current reading&rdquo; which displays <strong>my latest five del.icio.us entries</strong> I have tagged with <code>show-in-blog</code>. Because I&rsquo;m too lazy to add a description on del.icio.us there is just the title and the tags, minus &ldquo;show-in-blog.&rdquo; Here is the code for <code>sidebar.php</code>:</p>
<ol class="code">
<li><code>&lt;?php inlineRSS(</code></li>
<li class="indent"><code>&#39;delicious-links&#39;,<br />
&#39;http://<ins datetime="2008-07-27">feeds.delicious.com</ins>/rss/<span class="codeSpace">&nbsp;</span><strong>your-delicious-name</strong>/show-in-blog&#39;, 60, <strong>&#39;inline-rss-delicious.xslt&#39;</strong>);</code></li>
<li><code>?&gt;</code></li>
</ol>
<p>Of course &ldquo;your-delicious-name&rdquo; needs to be replaced. <img src="http://learningtheworld.eu/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> </p>
<p><strong>Download:</strong> <a href="/downloads/inline-rss-delicious.xslt"><code>inline-rss-delicious.xslt</code></a></p>
</li>

<li>
<p>Finally there is a list of <strong>my upcoming events</strong>, including microformatted semantic information. The <acronym>XSLT</acronym> is a little longer, but not really complicated. You just need to replace the upcoming ID with your own.</p>
<ol class="code">
<li><code>&lt;?php inlineRSS(</code></li>
<li class="indent"><code>&#39;upcoming&#39;,<br />
&#39;http://upcoming.yahoo.com/<span class="codeSpace">&nbsp;</span>syndicate/v2/<span class="codeSpace">&nbsp;</span>my_events/<span class="codeSpace">&nbsp;</span><strong>123456</strong>&#39;, 60, <strong>&#39;inline-rss-upcoming.xslt&#39;</strong>);</code></li>
<li><code>?&gt;</code></li>
</ol>
<p><strong>Download:</strong> <a href="/downloads/inline-rss-upcoming.xslt"><code>inline-rss-upcoming.xslt</code></a></p>
</li>
</ol>

<p>I&rsquo;d like to point out that this is certainly not the only, and perhaps not even the best way to implement feeds into your site, but it&rsquo;s pretty convenient once you&rsquo;ve installed inlineRSS.</p>

<p><strong>Chris Heilmann</strong> approaches the issue with a <a href="http://www.wait-till-i.com/2007/08/01/yummy-add-delicious-boomarks-to-your-wordpress-blog-with-a-simple-plugin/">client side plugin</a> to distribute tasks from the server to the client. His JavaScript is insofar unobtrusive as the list of inline del.icio.us links is replaced with an external link to his del.icio.us category, but then you give away the responsibility that the list is accessible as well. That&rsquo;s why I would prefer a server side solution.</p>

<p><strong>Ed Eliot</strong> has written a script to create a very pretty <a href="http://www.ejeliot.com/blog/74">server side del.icio.us badge</a> that I highly recommend, but it&rsquo;s not as universal as the <em>inlineRSS</em> plugin, and it&rsquo;s not a WordPress plugin to begin with (the same applies to his neat <a href="http://www.ejeliot.com/blog/77">SimpleRSS</a> script). But both Chris&rsquo; and Ed&rsquo;s solutions are decent alternatives to take into consideration.</p>
]]></content:encoded>
			<wfw:commentRss>http://learningtheworld.eu/2008/wordpress-goodies-with-inlinerss/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
