<?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>mabujo</title>
	<atom:link href="http://www.mabujo.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mabujo.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 14 Feb 2013 18:46:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Starting a new blog&#8230;</title>
		<link>http://www.mabujo.com/blog/starting-a-new-blog/</link>
		<comments>http://www.mabujo.com/blog/starting-a-new-blog/#comments</comments>
		<pubDate>Thu, 14 Feb 2013 18:46:44 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[soccer]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=241</guid>
		<description><![CDATA[Last week I started a new football site called Proven Quality. It&#8217;s not as easy as it used to be to get new sites moving nowadays, is it? As I acknowledged in my opening post, there a lot of football sites out there. But here&#8217;s the thing, most of them are (and trust me, I&#8217;ve [...]]]></description>
				<content:encoded><![CDATA[<p>Last week I started a new football site called Proven Quality. It&#8217;s not as easy as it used to be to get new sites moving nowadays, is it?</p>
<p>As I acknowledged in my opening post, there a lot of football sites out there. But here&#8217;s the thing, most of them are (and trust me, I&#8217;ve read more than most) are&#8230; How to put this&#8230; far from great. Not to say there aren&#8217;t already some amazing football sites, there are, but they are few and far between.</p>
<p>There must be 1000s of sites, all churning out and endlessly regurgitating the same stories with little value added.<br />
I wanted to do something different.<br />
That&#8217;s why I&#8217;ve put together a team of talented writers and have given them the remit to create long-form articles about football, tactics, and it&#8217;s social impacts.</p>
<p>A little over one week on and we&#8217;ve already posted nearly 20 articles, all of which are, in my entirely un-biased opinion, absolutely fantastic.</p>
<p>On the technical side of things, I&#8217;ve gone with good &#8216;ole WordPress for the CMS, for it&#8217;s ease of manageablity and speed of setup. Like the rest of my new servers that I&#8217;m deploying lately, I&#8217;ve ditched Apache for Nginx, MySQL for MariaDB / Percona (in this case MariaDB) and have sat Varnish in front for caching. I can&#8217;t say enough good things about Varnish. It has saved me enormous amounts in server costs already, it&#8217;s a breeze to setup if you know the hierarchy of your site and where you will serve cookies, and it makes scaling to mid-size very very simple.</p>
<p>I realise that the number of people interested in in-depth of analysis of football is far smaller than those interested in transfer rumours and football memes. I realise that getting <a href="http://provenquality.com/">Proven Quality</a> in front of these people is going to be a challenge. But I like a challenge, and I&#8217;m going to give it a shot.</p>
<p>Until next time, back of the net e.t.c.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/starting-a-new-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Responsive Hotaru theme released</title>
		<link>http://www.mabujo.com/blog/responsive-hotaru-theme-released/</link>
		<comments>http://www.mabujo.com/blog/responsive-hotaru-theme-released/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 18:10:03 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Hotaru]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[responsive design]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=238</guid>
		<description><![CDATA[Now that I&#8217;ve finally managed to set up most of my football sites the way I want them and with some of them getting quite popular I figured it was time to expand the network and make sites for some of the big teams that I left out previously. I&#8217;ve stated out making Man United [...]]]></description>
				<content:encoded><![CDATA[<p>Now that I&#8217;ve finally managed to set up most of my football sites the way I want them and with some of them getting quite popular I figured it was time to expand the network and make sites for some of the big teams that I left out previously.<br />
I&#8217;ve stated out making <a title="Man Utd Latest" href="http://manunitedlatest.com/" target="_blank">Man United Latest</a> &#8211; at the time of writing it is at a very earlier stage, but this post isn&#8217;t really about that exactly, it&#8217;s about the way I&#8217;m setting up the site that is different to what I have done previously.</p>
<p>Previously with my Hotaru sites I have been using the mobile plugin to allow the sites to be viewed on (you guessed it) mobile devices, however there are a few problems with this.</p>
<p>Firstly, the plugin doesn&#8217;t really follow the Hotaru way of doing things &#8211; not all of the front-end is customisable through your theme and some things are hard-coded in the plugin folder. This is ok for one site but for a network of sites it starts to be a bit of a pain to find where to change things every time.</p>
<p>There are a few other niggles I have with how it works that I won&#8217;t go in to but the most important problem is that this plugin creates 2 versions of your site.<br />
For example <a title="A post about Thierry Henry's return to Arsenal" href="http://www.arsenalnews.co.uk/henry-signs-short-term-deal-with-arsenal/" target="_blank">this post</a> is also available via the <a href="http://www.arsenalnews.co.uk/henry-signs-short-term-deal-with-arsenal/client/mobile/" target="_blank">mobile version</a> with a different URL. The fact that the URL is different is what annoys me most, and the problems with search engines that can bring. I&#8217;ve tried blocking the google web spider from the mobile version of the site and the google mobile spider from the web version of the site but I&#8217;m not convinced of this as a solution. Ideally I&#8217;d like if someone searches for <a title="Arsenal News" href="http://www.arsenalnews.co.uk/" target="_blank">Arsenal News</a> on the web version of google for them to be taken to the main version and if they search on the mobile version, or search for <a title="Mobile Arsenal News" href="http://www.arsenalnews.co.uk/client/mobile/" target="_blank">Arsenal News Mobile</a>, for them to be taken to the mobile version.</p>
<p>In short, I haven&#8217;t been able to achieve this, and duplicate pages and canonical content issues aren&#8217;t exactly fun.</p>
<p>For the existing sites I kind of feel that I am stuck in this situation with the 2 versions of some of the sites some what established, I could possibly re-direct but I&#8217;m not ready to just yet.</p>
<p>However for future sites I would like to avoid this problem and this (eventually!) is what I want to talk about in this post.</p>
<p>If you&#8217;re not familiar with responsive design, there are plenty of people who have <a href="http://www.alistapart.com/articles/responsive-web-design/" target="_blank">already outlined the approach</a> much <a href="http://www.mayfielddigital.co.uk/blog/web-round-up/best-responsive-web-design-examples-and-resources/" target="_blank">better than I ever could</a> so I shall refer you there. However, the main idea of it is to design a single site that is capable of adapting to the user&#8217;s browser, whether it is a smartphone, a tablet, a laptop or desktop. A single design, a single code base.<br />
There are of course a different set of problems associated with it, but at this time, for my needs (and the needs of most) I think it is the way to go.</p>
<p>All that to say, when I&#8217;m making sites now I tend to be making them using this approach, and to get me started I thought I would make a responsive version of the default Hotaru theme, both as a responsive starting point for my Hotaru projects and to release to the community. So fill your boots, the first <a href="http://www.mabujo.com/hotaru/responsive-hotaru-theme/" target="_blank">responsive hotaru theme is available here</a> and there is also a <a href="http://responsive.mabujo.com/" target="_blank">demo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/responsive-hotaru-theme-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking a busman&#8217;s holiday</title>
		<link>http://www.mabujo.com/blog/taking-a-busmans-holiday/</link>
		<comments>http://www.mabujo.com/blog/taking-a-busmans-holiday/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 08:04:45 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Google+]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=225</guid>
		<description><![CDATA[I&#8217;ve been getting into the whole google+ lark since it launched, so I took a little busman&#8217;s holiday from programming my twitter management application yesterday to whip together google+ developers. I&#8217;ve been working on tweepler for a few months now and it is always nice to have a change of context &#8211; a change is [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been getting into the whole google+ lark since it launched, so I took a little busman&#8217;s holiday from programming my <a title="tweepler" href="http://tweepler.com">twitter management application</a> yesterday to whip together <a title="Google+ Development" href="http://plusdevs.com">google+ developers</a>.</p>
<p>I&#8217;ve been working on tweepler for a few months now and it is always nice to have a change of context &#8211; a change is as good as holiday as they say. (I promise that&#8217;s the last tired cliché for this post).</p>
<p>Google+ Devs aims to be a resource for developers once a Google+ api is released, an until then I will be chronically all the little hacks that surface for the platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/taking-a-busmans-holiday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HotaruThemes.com launched!</title>
		<link>http://www.mabujo.com/blog/hotaru-themes-launched/</link>
		<comments>http://www.mabujo.com/blog/hotaru-themes-launched/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 22:01:10 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Hotaru]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=213</guid>
		<description><![CDATA[I have hinted  that I was building this site in a few previous posts where I was talking about my Hotaru CMS plugins and themes, and today I am very excited to announce the launch of my Premium Hotaru CMS Template store! It has taken a few weeks of hard work, planning, testing and late [...]]]></description>
				<content:encoded><![CDATA[<p>I have hinted  that I was building this site in a few previous posts where I was talking about my Hotaru CMS plugins and themes, and today I am very excited to announce the launch of my <a href="http://www.hotaruthemes.com/">Premium Hotaru CMS Template store</a>!</p>
<p>It has taken a few weeks of hard work, planning, testing and late nights to get this point but I am really pleased with how it has all turned out in the end.</p>
<p>The <a href="http://www.hotaruthemes.com/">Hotaru Themes</a> site is launched with a selection of 3 premium themes available, those themes are <a href="http://www.hotaruthemes.com/store/bandini-hotaru-theme/">Bandini</a>, <a href="http://www.hotaruthemes.com/store/leon-hotaru-theme/">Leon</a> and <a href="http://www.hotaruthemes.com/store/oscar-hotaru-theme/">Oscar</a>. Each of the themes have a demo site which you can find a link to on the theme pages.</p>
<p>On the technical side of things, the site itself is built on WordPress with the phpurchase e-commerce plug-in handling the cart and payment end of things. I was pretty pleased with the ease of implementation phpurchase offered, I was able to set up the WordPress install in a way I was familiar with and use shortcodes from the plugin to drop in the e-commerce functionality.</p>
<p>I hope that in the future I will be able to add lots more free and premium themes to the Hotaru themes site and I will continue to support my current free themes and plugins as usual. The only change is that I may look to mirror some of the free themes offered here over to the <a href="http://www.hotaruthemes.com/">Hotaru Themes site</a>.</p>
<p>That&#8217;s it for now, Merry Christmas!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/hotaru-themes-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Open Graph Hotaru Plugin v0.5 released</title>
		<link>http://www.mabujo.com/blog/facebook-open-graph-hotaru-plugin-v0-5-released/</link>
		<comments>http://www.mabujo.com/blog/facebook-open-graph-hotaru-plugin-v0-5-released/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 11:59:21 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Hotaru]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=206</guid>
		<description><![CDATA[I&#8217;ve just finished coding a new version of the Facebook Open Graph plugin for Hotaru that brings it up to version 0.5. This version enables the plugin to work with Tie&#8217;s existing Post Images Hotaru CMS plugin. If you have the Post Images plugin installed, the Facebook Open Graph plugin now gives you the option [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just finished coding a new version of the <a href="http://www.mabujo.com/hotaru/facebook-open-graph-hotaru-plugin/">Facebook Open Graph plugin for Hotaru</a> that brings it up to version 0.5.</p>
<p>This version enables the plugin to work with Tie&#8217;s existing <a href="http://forums.hotarucms.org/showthread.php?559-Post-Images-0.7">Post Images</a> Hotaru CMS plugin.</p>
<p>If you have the Post Images plugin installed, the Facebook Open Graph plugin now gives you the option to use images from the Post Images plugin as Open Graph meta images, so when someone likes or posts a link to a story page from your site, if it has an image from Post Images, then that image will be displayed in the users Facebook stream alongside the story, instead of the default image you could previously set.</p>
<p>I&#8217;ve updated the <a href="http://www.mabujo.com/hotaru/facebook-open-graph-hotaru-plugin/">Facebook Open Graph plugin page</a> with the latest version, which you can also download here : <a href="http://www.mabujo.com/assets/hotaru/plugins/facebook_open_graph-0-5.zip">Facebook Open Graph v0.5</a>.</p>
<p>In other Hotaru CMS development news, I&#8217;m currently coding my first <a title="Hotaru CMS premium theme" href="http://hotaruthemes.com">Hotaru CMS Premium Theme</a> which I hope to be able to release soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/facebook-open-graph-hotaru-plugin-v0-5-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Isis Theme updated to V1.1</title>
		<link>http://www.mabujo.com/blog/isis-theme-updated-to-v1-1/</link>
		<comments>http://www.mabujo.com/blog/isis-theme-updated-to-v1-1/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 16:52:57 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Hotaru]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=201</guid>
		<description><![CDATA[Just a quick note to let everyone know that I have updated Isis Hotaru CMS theme to version 1.1. This is a fairly simple update as the theme would not work properly with versions of Hotaru after 1.3. This rectifies that, so if you are using a newer version of Hotaru CMS than 1.2.0, you [...]]]></description>
				<content:encoded><![CDATA[<p>Just a quick note to let everyone know that I have updated <a href="http://www.mabujo.com/hotaru/isis-hotaru-theme/">Isis Hotaru CMS theme</a> to version 1.1.</p>
<p>This is a fairly simple update as the theme would not work properly with versions of Hotaru after 1.3.</p>
<p>This rectifies that, so if you are using a newer version of Hotaru CMS than 1.2.0, you will want to upgrade this theme.</p>
<p>You can download Isis theme and read more about it on the <a href="http://www.mabujo.com/hotaru/isis-hotaru-theme/">Isis Hotaru Theme</a> page.</p>
<p>There is also a demo of the theme <a href="http://isis.mabujo.com/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/isis-theme-updated-to-v1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More fun with the Twitter API, new site launched</title>
		<link>http://www.mabujo.com/blog/more-fun-with-the-twitter-api-new-site-launched/</link>
		<comments>http://www.mabujo.com/blog/more-fun-with-the-twitter-api-new-site-launched/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 12:03:51 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=191</guid>
		<description><![CDATA[Since my last post on posting tweets from an RSS feed with OAuth, I have been spending a few fun hours having a play around with the various Twitter APIs and have created a new twitter app. The app is certainly of niche interest but it was fun to build anyway. The site, called #lfcfollowback, [...]]]></description>
				<content:encoded><![CDATA[<p>Since my last post on <a href="http://www.mabujo.com/blog/posting-from-an-rss-feed-to-twitter-using-oauth/">posting tweets from an RSS feed with OAuth</a>, I have been spending a few fun hours having a play around with the various Twitter APIs and have created a new twitter app.</p>
<p>The app is certainly of niche interest but it was fun to build anyway. The site, called <a href="http://lfcfollowback.com">#lfcfollowback</a>, builds on a hashtag that fans of the Liverpool football team use to identify themselves on twitter. The idea being that users append the hashtag to their tweets and will be followed by other Liverpool fans (and implicitly agree to follow those users back).</p>
<p>I have a twitter account (<a href="http://twitter.com/NewsLiverpool">@NewsLiverpool</a>) for my <a href="http://www.liverpoolfcnews.net">Liverpool FC News</a> site and hadn&#8217;t really joined in with the #lfcfollowback concept because I felt that using the existing twitter search it would take too much time to reciprocate in following all the users back.</p>
<p>So that&#8217;s why I made the lfcfollowback site. On to the technical details&#8230;</p>
<p>It&#8217;s a very simple app built from a single twitter search on the back-end. It&#8217;s all coded in PHP with heavy use of JavaScript for the front-end. There&#8217;s a script that is called regularly by cron that searches twitter for #lfcfollowback (using the twitter search API) and adds any users it finds that has tweeted &#8216;#lfcfollowback&#8217; to the database.</p>
<p>There&#8217;s some more simple functions for the frontend that read users from the database and handle outputting the list of users to the site and pagination e.t.c.</p>
<p>The real magic is all done with the new(ish) twitter @Anywhere API. Similar in function to Facebook Open Graph, the @Anywhere API creates a platform for external sites to add twitter connectivity and functionality to their sites. In the case of the lfcfollowback app, I used the Anywhere API to allow the site to connect to their twitter account, to display hovercards for users, and facilitate following of other #lfcfollowback users.</p>
<p>All fairly basic stuff to implement, but the initial response from users has been very positive.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/more-fun-with-the-twitter-api-new-site-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Posting from an RSS feed to twitter using OAuth</title>
		<link>http://www.mabujo.com/blog/posting-from-an-rss-feed-to-twitter-using-oauth/</link>
		<comments>http://www.mabujo.com/blog/posting-from-an-rss-feed-to-twitter-using-oauth/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 12:55:07 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=164</guid>
		<description><![CDATA[Being the lackadaisical webmaster that I am, I hadn&#8217;t noticed any of twitter&#8217;s recent announcements that all scripts using api access to twitter would need to authenticate via OAuth instead of basic password authentication. I had been using a php script to take stories from my RSS feed, shorten then with the bit.ly URL shortener [...]]]></description>
				<content:encoded><![CDATA[<p>Being the lackadaisical webmaster that I am, I hadn&#8217;t noticed any of twitter&#8217;s recent announcements that all scripts using api access to twitter would need to authenticate via OAuth instead of basic password authentication.</p>
<p>I had been using a php script to take stories from my RSS feed, shorten then with the bit.ly URL shortener and post them to twitter. The script stored the twitter account username and password and was logging in and posting the tweets.</p>
<p>As per twitter&#8217;s OAuth announcement, at some point on September 1st 2010 the script stopped posting tweets from my RSS feed.</p>
<p>This tutorial will show you the script I use to post tweets from RSS and how I got the script working again with OAuth.</p>
<p>The original script I was using was created by <a href="http://paulstamatiou.com/stammy-script-rss-to-twitter-using-php">Paul Stamatiou</a> and I had made a few modifications. The new version uses some OAuth stuff from <a href="http://redacacia.wordpress.com/2010/08/05/a-twitbot-using-oauth/">Tayeb</a> and the <a href="http://github.com/abraham/twitteroauth">twitteroauth library</a> from abraham on github.</p>
<p>The first thing we need to do is login in to twitter and create a new application at <a href="https://twitter.com/apps/new">https://twitter.com/apps/new</a></p>
<p>Give the application a logical name and fill in the other fields. Application Type should be Browser, Default Access Type should give Read &amp; Write permissions and you should check the Use Twitter For Login box.</p>
<p>Once you submit the form you will be taking a page that shows your Consumer and Secret Keys and some twitter authentication URLs.</p>
<p>You will be needing the Consumer and Secret Keys so keep the tab open for later.</p>
<p>Next you will need to grab the twitteroauth library from <a href="http://github.com/abraham/twitteroauth">http://github.com/abraham/twitteroauth</a></p>
<p>You can grab it easily from git on Linux by doing :</p>
<pre>git clone http://github.com/abraham/twitteroauth.git</pre>
<p>from the command line.</p>
<p>We&#8217;re going to be using the twitteroauth library to create oauth tokens for our app.</p>
<p>So, create a new folder and upload the files to your server. Let&#8217;s say we upload all of the files under mysite.com/twitteroauth</p>
<p>We need to edit the file config.php to include our keys from twitter and our callback URL.</p>
<p>So open up config.php and go back to that twitter.com application details page and use the keys to fill in config.php like below. You will also need to specify the callback URL as callback.php in the folder where you uploaded the twitteroauth files.</p>
<pre>define('CONSUMER_KEY', 'YOUR_CONSUMER_KEY');
define('CONSUMER_SECRET', 'YOUR_CONSUMER_SECRET_KEY');
define('OAUTH_CALLBACK', 'http://www.mysite.com/twitteroauth/callback.php');</pre>
<p>Next you will need to goto mysite.com/twitteroauth/connect.php<br />
Load that page in your browser, click the Sign in with Twitter button and follow the instructions to give your application access to the account you want to post your RSS items to.</p>
<p>Once that&#8217;s done goto <a href="http://dev.twitter.com/apps">http://dev.twitter.com/apps</a>, click the name of your app and then click &#8216;My Access Token&#8217; from the bar on the right.<br />
This page gives us the remaining 2 oauth tokens we will need to authenticate the script.</p>
<p>At this point we only need a couple of files from the twitteroauth library and don&#8217;t need the whole twitteroauth folder to be on our server any more as we were just using it to authenticate ourselves.<br />
Create another new folder on your server, lets call this one tweets, so it should be something like mysite.com/tweets/<br />
This folder will be permanent and contain the scripts to automatically post our RSS items to twitter.<br />
In the twitteroauth folder that we got from git there is another folder inside called twitteroauth (so the full path is twitteroauth/twitteroauth). This folder should contain 2 files, OAuth.php and twitteroauth.php.<br />
Upload this folder with the 2 files to mysite.com/tweets/twitteroauth/</p>
<p>In this new folder at mysite.com/tweets/twitteroauth/ create a new file called secrets.php and put the following inside secrets.php :</p>
<pre>
$consumer_key = "YOUR_CONSUMER_KEY";
$consumer_secret = "YOUR_CONSUMER_SECRET_KEY";
$access_key = "YOUR_OAUTH_TOKEN";
$access_secret = "YOUR_OAUTH_TOKEN_SECRET";
</pre>
<p>(make sure to wrap the above in php open and close tags, I had to remove them because they were confusing wordpress)</p>
<p>The next thing we need to do is add 2 files in the mysite.com/tweets/ folder; parse.php and index.php<br />
index.php is the file we will call to send our tweets, and it calls parse.php to get the items from our RSS feed.<br />
You can get parse.php from the original <a href="http://paulstamatiou.com/stammy-script-rss-to-twitter-using-php">.zip file from Paul Stamatiou</a> and then you can either use the index.php from <a href="http://redacacia.wordpress.com/2010/08/05/a-twitbot-using-oauth/">Tayeb</a> or use my modified version below.</p>
<p>My version makes a couple of modifications; it uses the bit.ly URL shortener instead of tinyurl; it replaces ampersand characters in titles (&amp;) with the html entity, and it automatically shortens the title/tweet and appends an elipsis if the tweet and bit.ly URL are going to be too long for a tweet.<br />
If you want to use my version, you will need an account at bit.ly and your bit.ly API key from http://bit.ly/a/account</p>
<p>Here&#8217;s my modified <a href="http://www.mabujo.com/assets/tweets/index_php.zip">index.php file</a>.</p>
<p>You will need to replace &#8216;YOURBITLYLOGIN&#8217; with your bit.ly username and &#8216;YOURBITLYAPIKEY&#8217; with your bit.ly API key. Also replace &#8216;YOUR RSS URL&#8217; with, well&#8230;the URL of your RSS feed.</p>
<p>If you have done everything right up to this point, when you go to mysite.com/tweets/index.php it should pull the last few items from your RSS feed and post them to twitter.<br />
If you want this to be automatic (which you probably do!) then just set up a cron job to call the mysite.com/tweets/index.php script periodically.</p>
<p>Edit 3rd September 2010 :<br />
Rob Q in the comments asked if it was possible to have a version of index.php which posted only titles from RSS to twitter, while ignoring the links. If you want to do this too, <a href="http://www.mabujo.com/assets/tweets/index_no_url_php.zip">this version of index.php</a> should do the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/posting-from-an-rss-feed-to-twitter-using-oauth/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Yonda theme v1.2 released</title>
		<link>http://www.mabujo.com/blog/yonda-theme-v1-2-released/</link>
		<comments>http://www.mabujo.com/blog/yonda-theme-v1-2-released/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 15:29:17 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Hotaru]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=162</guid>
		<description><![CDATA[I have uploaded v1.2, a bug fix release of Yonda Hotaru theme. Yonda is a theme for Hotaru which emulates the look of popular bookmarking site reddit.com This version fixes a bug that some users have reported that caused problems when replying to comments or editing comments. Also I have reduced the size of some [...]]]></description>
				<content:encoded><![CDATA[<p>I have uploaded v1.2, a bug fix release of <a href="http://www.mabujo.com/hotaru/yonda-hotaru-theme/">Yonda Hotaru theme</a>.</p>
<p><a href="http://www.mabujo.com/hotaru/yonda-hotaru-theme/">Yonda</a> is a <a href="http://www.hotaruthemes.com">theme for Hotaru</a> which emulates the look of popular bookmarking site reddit.com</p>
<p>This version fixes a bug that some users have reported that caused problems when replying to comments or editing comments.<br />
Also I have reduced the size of some headings and added some padding to the left column.</p>
<p>You can download the latest version of Yonda theme <a href="http://www.mabujo.com/assets/hotaru/themes/yonda-v-1-2.zip">here</a> and read all about the theme on the <a href="http://www.mabujo.com/hotaru/yonda-hotaru-theme/">Yonda page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/yonda-theme-v1-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Open Graph Hotaru plugin v0.4 released.</title>
		<link>http://www.mabujo.com/blog/facebook-open-graph-hotaru-plugin-v0-4-released/</link>
		<comments>http://www.mabujo.com/blog/facebook-open-graph-hotaru-plugin-v0-4-released/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 10:55:57 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Hotaru]]></category>

		<guid isPermaLink="false">http://www.mabujo.com/?p=157</guid>
		<description><![CDATA[Just a very quick post to let you all know that I&#8217;ve just released another quick bug fix for the Facebook Open Graph Hotaru plugin, this one was stopping the comments .css file (specified in the plugin settings panel) from being loaded correctly from the specified place. In fact, it was being loaded from my [...]]]></description>
				<content:encoded><![CDATA[<p>Just a very quick post to let you all know that I&#8217;ve just released another quick bug fix for the <a href="http://www.mabujo.com/hotaru/facebook-open-graph-hotaru-plugin/">Facebook Open Graph Hotaru plugin</a>, this one was stopping the comments .css file (specified in the plugin settings panel) from being loaded correctly from the specified place. In fact, it was being loaded from my CDN server, so please update to this latest version! </p>
<p>As usual you can get all the details on the plugin on the <a href="http://www.mabujo.com/hotaru/facebook-open-graph-hotaru-plugin/">plugin page</a> and here&#8217;s the latest version of the plugin : <a href="http://www.mabujo.com/assets/hotaru/plugins/facebook_open_graph-v-0-4.zip">http://www.mabujo.com/assets/hotaru/plugins/facebook_open_graph-v-0-4.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mabujo.com/blog/facebook-open-graph-hotaru-plugin-v0-4-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
