<?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>Aaron Mc Adam</title>
	<atom:link href="http://aaronmcadam.com/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://aaronmcadam.com/wordpress</link>
	<description>A blog about web development and UX</description>
	<lastBuildDate>Thu, 21 Oct 2010 15:18:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Expression Engine Disqust Disqus API plugin</title>
		<link>http://aaronmcadam.com/wordpress/?p=110</link>
		<comments>http://aaronmcadam.com/wordpress/?p=110#comments</comments>
		<pubDate>Wed, 07 Jul 2010 21:29:50 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[expression-engine]]></category>
		<category><![CDATA[expression-engine-addons]]></category>
		<category><![CDATA[disqus]]></category>
		<category><![CDATA[ee]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://aaronmcadam.com/wordpress/?p=110</guid>
		<description><![CDATA[<p>Here's another ExpressionEngine plugin I've put together. It allows you to call the Disqus API so that comments can be loaded into the page for SEO reasons. The best way is to wrap the plugin call in &#60;noscript&#62; tags like so: How to get... <a href="http://aaronmcadam.com/wordpress/?p=110">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Here's another ExpressionEngine plugin I've put together. It allows you to call the Disqus API so that comments can be loaded into the page for SEO reasons. The best way is to wrap the plugin call in <span style="font-size: 15px; color: #222222; font-family: 'Courier 10 Pitch', Courier, monospace; line-height: 21px; white-space: pre;">&lt;noscript&gt; </span>tags like so:</p>
<script src="http://gist.github.com/467283.js"></script>
<h2>How to get the API keys you need</h2>
<p>There are some hoops to jump through in order to get the API keys needed. I recommend using the <a href="https://addons.mozilla.org/en-US/firefox/addon/9780/" target="_blank">RESTClient</a> Firefox extension for returning the JSON.</p>
<p>Here are the steps:</p>
<ol>
<li>Log in to <a href="http://www.disqus.com" target="_blank">Disqus.com</a>. Visit <code><a href="http://disqus.com/api/get_my_key/" target="_blank">http://disqus.com/api/get_my_key/</a></code> from within the browser to get your <strong>User API key</strong> from the session.</li>
<li>Call <code>http://disqus.com/api/get_forum_list/?user_api_key=<strong>User API key</strong><span style="font-family: Georgia, 'Bitstream Charter', serif;"> from RESTClient or similar to return the list of forums. Look for the <code>id</code> key alongside the name of the forum you want. This is the <strong>Forum ID key</strong>.</span></code></li>
<li><code><span style="font-family: Georgia, 'Bitstream Charter', serif;">Finally, call <code>http://disqus.com/api/get_forum_api_key/?user_api_key=</code><strong>User API key</strong><code>&amp;forum_id=</code><strong>Forum ID key. </strong>The returning JSON will contain the Forum API key that's unique to the supplied Forum.</span></code></li>
</ol>
<p>You also need to make sure to supply a base url for your site so that the plugin can look up the ID of a given thread.</p>
<h2>And finally...</h2>
<p>The plugin does need some work on making it easier to pass in parameters, like the <a href="http://aaronmcadam.com/wordpress/?p=103" target="_blank">Twitter OAuth one</a>. I'll get round to it eventually!</p>
<p>The <a href="http://github.com/aaronmcadam/EE-Disqust" target="_blank">source</a> is hosted on GitHub.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaronmcadam.com/wordpress/?feed=rss2&#038;p=110</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expression Engine Twitter Timeline Plugin with OAuth</title>
		<link>http://aaronmcadam.com/wordpress/?p=103</link>
		<comments>http://aaronmcadam.com/wordpress/?p=103#comments</comments>
		<pubDate>Mon, 05 Jul 2010 21:54:24 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[expression-engine]]></category>
		<category><![CDATA[expression-engine-addons]]></category>
		<category><![CDATA[ee]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[twitter-api]]></category>

		<guid isPermaLink="false">http://aaronmcadam.com/wordpress/?p=103</guid>
		<description><![CDATA[<p>UPDATE: The official Expression Engine Twitter Timeline plugin has been updated for OAuth: http://expressionengine.com/blog/entry/twitter_timeline_plugin_and_noauth/ For a recent project I had to add OAuth to the Twitter Timeline plugin for... <a href="http://aaronmcadam.com/wordpress/?p=103">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: </strong>The official Expression Engine Twitter Timeline plugin has been updated for OAuth: <a href="http://expressionengine.com/blog/entry/twitter_timeline_plugin_and_noauth/" target="_blank">http://expressionengine.com/blog/entry/twitter_timeline_plugin_and_noauth/</a></p>
<p>For a recent project I had to add OAuth to the Twitter Timeline plugin for Expression Engine in line with the upcoming removal of support for Basic authentication. The plugin still needs some work to make it more customisable from the template side.</p>
<p>The plugin allows for automatic parsing of links, usernames and hashtags.</p>
<p>Example:</p>
<script src="http://gist.github.com/464729.js"></script>
<p>The major OAuth and Twitter API heavy lifting is done by <a href="http://github.com/abraham/" target="_blank">Abraham Williams</a>' excellent <a href="http://github.com/abraham/twitteroauth" target="_blank">twitteroauth library</a>.</p>
<p>It's hosted on GitHub so feel free to fork it: <a href="http://github.com/aaronmcadam/EE-OAuth-Twitter-Timeline-Plugin" target="_blank">http://github.com/aaronmcadam/EE-OAuth-Twitter-Timeline-Plugin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aaronmcadam.com/wordpress/?feed=rss2&#038;p=103</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

