<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/atom10full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">deeden.co.uk</title>
    <subtitle type="text" />
    <link rel="alternate" type="text/html" href="http://deeden.co.uk/" />
    
    <updated>2008-08-10T19:56:51Z</updated>
    <rights>Copyright (c) 2008, Stephen</rights>
    <generator uri="http://expressionengine.com/" version="1.6.4">ExpressionEngine</generator>
    <id>tag:deeden.co.uk,2008:08:10</id>


    <link rel="self" href="http://feeds.feedburner.com/deeden" type="application/atom+xml" /><entry>
      <title>Translation to English of portions of Richard Scudamores article on the football “product”</title>
      <link rel="alternate" type="text/html" href="http://deeden.co.uk/article/translation-to-english-of-portions-of-scudamores-article-on-football/" />
      <id>tag:deeden.co.uk,2008:index.php/site/index/1.585</id>
      <published>2008-08-10T19:42:53Z</published>
      <updated>2008-08-10T19:56:51Z</updated>
      <author>
            <name>Stephen</name>
            <uri>http://deeden.co.uk/</uri>      </author>
      <content type="html" xml:base="http://deeden.co.uk/">
        &lt;p&gt;Richard Scudamore wrote &lt;a href="http://blogs.guardian.co.uk/sport/2008/08/10/great_product_shows_the_value.html"&gt;an article for the Guardian&lt;/a&gt; on the Premier League. I feel that a partial translation to English might prove informative.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Title: Great product shows the value of our &amp;#8216;virtuous circle&amp;#8217;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I think of the league as a product. This may tell you all you need to know. From here on when I say &amp;#8220;virtuous circle&amp;#8221;, read &amp;#8220;money making schemes&amp;#8221;.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The Premier League enters its 17th season off the back of, arguably, our most compelling competition yet.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;3 teams finished within 4 points of each other; this is regarded as compelling. Please ignore that these teams have won the last 13 titles between them.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The clubs put on a great show - fantastic football in the finest set of club stadia in the world and the highest average top-flight attendances in England for more than 50 years.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Sky said that it was a great show, it must be true. Having fine stadia also means that the football must be good. High attendances is also good, we can constantly replace the people who no longer attend with other people, that business model worked perfectly for AOL.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;On top of that we had an all-English Champions League final for the first time - testament to the strength of the Premier League and the standards being set week in, week out.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;We had an all-English Champions League final for the first time. It shows what can be done if you spend a fortune on players and wages. It also helps to have 18 non-English players involved in the match.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;It is no accident that Premier League clubs find themselves in this position, financially strong and performing well on the pitch. The collective selling of our media rights and the equitable distribution of broadcast revenue provides the stability to invest, while rewarding success.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It is no accident that Football League clubs find themselves in this position, financially struggling and performing badly off the pitch. Frankly, we don&amp;#8217;t care.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Reconciling the interests of all 20 clubs is not easy. There is a significant differential in income as a result of the size of individual clubs: the matchday revenue of some dwarfs the entire earnings of others. This is exacerbated at the very top by the distorting impact of the Champions League revenue, something that must have an even greater impact in other European leagues. That is why the distribution model operated by the Premier League is so important to competitive balance. Every pound earned centrally has a redistributive effect. This makes it imperative that when we explore potential new opportunities, we do so on a league-wide basis.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;We share all money, apart from the money we don&amp;#8217;t share. The money we don&amp;#8217;t share distorts things, even I have to admit that. Can I try to distract you by making a pointless remark about other leagues? Now that I have distracted you I&amp;#8217;m going to try floating the 39th game idea again.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The more people want to watch Premier League football, the more others will seek to circumvent rights structures. This means not only potentially less money for clubs and players, but for youth development, flexible ticket pricing and community initiatives, all of which are critical to ensuring our continued success, and all of which rely on our ability to defend each constituent part of the &amp;#8216;virtuous circle&amp;#8217;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I&amp;#8217;m raising the spectre of piracy here. I have no actual point to make, it just may distract you again. Please try to keep a straight face while I claim that our aim in making more money is to fund youth development or flexible ticket pricing.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The Premier League, and English football, is in robust health.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The Premier League is scarily uncompetitive. When I say that English football is in robust health, I mean the turnover of about 5 clubs in the Premier League. Who cares about the England team, I know we don&amp;#8217;t.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The Premier League clubs understand the importance of this model: investing in the acquisition and development of playing talent; keeping and attracting fans; new and improved stadium facilities, and an increasing amount of corporate social responsibility activity.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Please pay no attention to the fact that I didn&amp;#8217;t mention a competitive league.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;This &amp;#8216;virtuous circle&amp;#8217; is the rationale that underpins everything we do. It starts and finishes with the football. Everything else - the fans, the sponsors, the broadcasters, even the community programmes - flow from that. And that is exactly how it should be.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Don&amp;#8217;t forget that &amp;#8220;virtuous circle&amp;#8221; means &amp;#8220;money making schemes&amp;#8221;. As I say, &amp;#8220;everything else flows from that.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Hat-tip to &lt;a href="http://daringfireball.net/"&gt;Daring Fireball&lt;/a&gt; for the concept.&lt;/p&gt;

      &lt;img src="http://feeds.feedburner.com/~r/deeden/~4/361320277" height="1" width="1"/&gt;</content>
    <feedburner:awareness xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://api.feedburner.com/awareness/1.0/GetItemData?uri=deeden&amp;itemurl=http%3A%2F%2Fdeeden.co.uk%2Farticle%2Ftranslation-to-english-of-portions-of-scudamores-article-on-football%2F</feedburner:awareness></entry>

    <entry>
      <title>Migrating ExpressionEngine from development to production</title>
      <link rel="alternate" type="text/html" href="http://deeden.co.uk/article/migrating-expressionengine-from-development-to-production/" />
      <id>tag:deeden.co.uk,2008:index.php/site/index/1.566</id>
      <published>2008-06-25T21:01:00Z</published>
      <updated>2008-06-25T21:01:26Z</updated>
      <author>
            <name>Stephen</name>
            <uri>http://deeden.co.uk/</uri>      </author>
      <content type="html" xml:base="http://deeden.co.uk/">
        &lt;p&gt;Moving an &lt;a href="http://www.expressionengine.com/index.php?affiliate=deeden"&gt;ExpressionEngine&lt;/a&gt; site from one server to another, or even one domain to another domain, is &lt;a href="http://expressionengine.com/knowledge_base/article/how_do_i_move_ee_to_another_server/"&gt;a complicated process&lt;/a&gt;. Whenever I&amp;#8217;ve attempted to do this I&amp;#8217;ve found that the hardest part is making sure that the database is correct for the new location. This involves copying the database across and then making sure I change every path and domain through the control panel to the new values.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ve never succeeded in migrating successfully using the manual method. I always miss something and have to deal with some small problem that inevitably crops up. Finally, I decided to make it easier on myself, so I wrote a script to perform the update for me. This will not be for everyone, however if you&amp;#8217;re comfortable with command line scripts and ruby this may do the job for you.&lt;/p&gt;

&lt;p&gt;The script (the impatient among you can find it at the end of this article) does one job and one job only. It takes a &lt;a href="http://www.mysql.com/"&gt;MySQL&lt;/a&gt; dump from an EE database and makes the updates required for any domain name and path changes, writing these out again in the format of another MySQL dump. For example, if I tell it that my development site lives at &lt;code&gt;/www/deeden.tld&lt;/code&gt; and my production site at &lt;code&gt;/www/deeden.co.uk&lt;/code&gt; it updates the database to reflect this, dealing with all of the complications that arise, such as correctly dealing with the serialisation which some of the tables use.&lt;/p&gt;

&lt;p&gt;An example of performing the above update would be&amp;#8230;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ee_migrator --current_domain=deeden.tld --new_domain=deeden.co.uk --current_path=/Users/steve/Sites/deeden.tld --new_path=/www/deeden.co.uk development_sql.txt &amp;gt; live_sql.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This runs the script (assuming it is named &lt;code&gt;ee_migrator&lt;/code&gt;) and changes all occurrences of the domain deeden.tld to deeden.co.uk as well as changing the path to the web site from &lt;code&gt;/Users/steve/Sites/deeden.tld&lt;/code&gt; to &lt;code&gt;/www/deeden.co.uk&lt;/code&gt;. Rather useful when I&amp;#8217;ve been developing a site on my iBook and want to move it to the live server.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ll put together a page with full instructions on the use of the script in the next few days. For now I&amp;#8217;ll give a brief explanation of the parameters&amp;#8230;&lt;/p&gt;

&lt;dl&gt;
  &lt;dt&gt;&lt;code&gt;-h, --help&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;Display usage instructions.&lt;/dd&gt;
  &lt;dt&gt;&lt;code&gt;-t, --table_prefix&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;Specify a different table prefix from the default, which is &lt;code&gt;exp&lt;/code&gt;.&lt;/dd&gt;
  &lt;dt&gt;&lt;code&gt;-a, --all_data&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;Keep all data from the initial dump. By default the script ignores a number of tables which should not be copied from a development, such as control panel logs and email caches. The &lt;code&gt;--all_data&lt;/code&gt; allows all data to be copied, unsurprisingly.&lt;/dd&gt;
  &lt;dt&gt;&lt;code&gt;-c, --current_domain &amp;lt;OLD DOMAIN&amp;gt;&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;The domain being moved from. In the example above it would be &lt;code&gt;deeden.tld&lt;/code&gt;. In the case where the domain isn&amp;#8217;t changing simply leave this option out.&lt;/dd&gt;
  &lt;dt&gt;&lt;code&gt;-n, --new_domain &amp;lt;NEW DOMAIN&amp;gt;&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;The domain being moved to. In the example above it would be &lt;code&gt;deeden.co.uk&lt;/code&gt;. In the case where the domain isn&amp;#8217;t changing simply leave this option out as well.&lt;/dd&gt;
  &lt;dt&gt;&lt;code&gt;-s, --current_path &amp;lt;CURRENT SITE PATH&amp;gt;&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;The path to where the old domain lives. If the path isn&amp;#8217;t being changed then leave the option out.&lt;/dd&gt;
  &lt;dt&gt;&lt;code&gt;-p, --new_path &amp;lt;NEW SITE PATH&amp;gt;&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;Specify the new path to the web directory. Again, if this isn&amp;#8217;t being changed simply leave it out.&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;The input file is a &lt;code&gt;mysqldump&lt;/code&gt; file, and the output is the same file with the appropriate changes made. Generally I do a dump of my development database, do a quick scan of the output to see that everything looks alright and them import the new database file into my a fresh database for the live site. Your mileage might vary.&lt;/p&gt;

&lt;p&gt;There are a few things to bear in mind if you do plan to use this script, such as&amp;#8230;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Backup your database.&lt;/li&gt;
&lt;li&gt;I accept no responsibility for any damage this script may do. Use it at your own risk.&lt;/li&gt;
&lt;li&gt;If you find a bug please do report it.&lt;/li&gt;
&lt;li&gt;If you make an enhancement please send it to me, it may be useful to other people.&lt;/li&gt;
&lt;li&gt;Seriously, backup your database.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The most recent version of the script is &lt;a href="http://deeden.co.uk/code/ee_migrator/latest.rb.txt"&gt;version 1.0&lt;/a&gt;.&lt;/p&gt;

      &lt;img src="http://feeds.feedburner.com/~r/deeden/~4/319999190" height="1" width="1"/&gt;</content>
    <feedburner:awareness xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://api.feedburner.com/awareness/1.0/GetItemData?uri=deeden&amp;itemurl=http%3A%2F%2Fdeeden.co.uk%2Farticle%2Fmigrating-expressionengine-from-development-to-production%2F</feedburner:awareness></entry>

    <entry>
      <title>A new beginning</title>
      <link rel="alternate" type="text/html" href="http://deeden.co.uk/article/a-new-beginning/" />
      <id>tag:deeden.co.uk,2008:index.php/site/index/1.565</id>
      <published>2008-06-22T21:48:01Z</published>
      <updated>2008-06-22T22:36:51Z</updated>
      <author>
            <name>Stephen</name>
            <uri>http://deeden.co.uk/</uri>      </author>
      <content type="html" xml:base="http://deeden.co.uk/">
        &lt;p&gt;Many months ago I decided to completely re-&amp;#8220;design&amp;#8221; my site. This decision was made at around the same time I decided to leave my previous employer and move to &lt;a href="http://banjax.com/"&gt;Banjax&lt;/a&gt;. At that time I figured I&amp;#8217;d have my new design in place by the time I started my new job. Clearly, I was wrong. A number of things caused the delay, including one abortive design including some CSS I&amp;#8217;m proud of and some javascript wizardry. Some of that abandoned design will no doubt appear on some other site of mine in the future.&lt;/p&gt;

&lt;p&gt;This version of the site uses &lt;a href="http://www.expressionengine.com/index.php?affiliate=deeden"&gt;ExpressionEngine&lt;/a&gt; as a content management system allowing me to move away from Movable Type. The change was made for a number of different reasons, including frustration at the generally static nature of MT, as well as a desire to play with a different system. I&amp;#8217;d done some work with ExpressionEngine while still at Front and that had piqued my interest enough to make the move. There are still some little niggles, such as some issues to do with &lt;a href="http://en.wikipedia.org/wiki/HTTP_404"&gt;404 errors&lt;/a&gt;, but overall it has been an interesting experience and I&amp;#8217;m happy with the move.&lt;/p&gt;

&lt;p&gt;The site is by no means finished, but it&amp;#8217;s in a much better state that my previous one. There are still some rough edges (in particular with some of the layout) and some sections, such as that for code, are missing, but it&amp;#8217;s in a fit enough state to go live.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ll be releasing a number of different plugins for various systems over the next few weeks as I tidy the last few remaining details. One of these will be the plugin I wrote for EE to display the relative times in the Tweets and Links entries in the middle column. All of this will come in good time though.&lt;/p&gt;

      &lt;img src="http://feeds.feedburner.com/~r/deeden/~4/317677587" height="1" width="1"/&gt;</content>
    <feedburner:awareness xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://api.feedburner.com/awareness/1.0/GetItemData?uri=deeden&amp;itemurl=http%3A%2F%2Fdeeden.co.uk%2Farticle%2Fa-new-beginning%2F</feedburner:awareness></entry>

<feedburner:awareness xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://api.feedburner.com/awareness/1.0/GetFeedData?uri=deeden</feedburner:awareness></feed>
