<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:cc="http://web.resource.org/cc/"
    xmlns="http://purl.org/rss/1.0/">

<channel rdf:about="http://www.shortcuts.nl/index.php/weblog/index/">

    <title>shortcuts</title>
    <link>http://www.shortcuts.nl/index.php/weblog/index/</link>
    <description>A collection of notes, ideas and thoughts from an American in The Netherlands</description>
    <dc:language>en</dc:language>
    <dc:creator>jtrascap@mac.com</dc:creator>
    <dc:date>2011-12-28T09:49:14+00:00</dc:date>
    <admin:generatorAgent rdf:resource="http://www.pmachine.com/" />
    
    <items>
      <rdf:Seq>
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/...snnxxxks_huh_what_month_is_this/" />
      
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/who_wants_to_be_a_millionaire/" />
      
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/ipad_2_-_news_around_the_corner/" />
      
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/get_well_soon_steve/" />
      
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/contract_killer/" />
      
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/whats_your_facebook_footprint/" />
      
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/everything_you_need_to_know_about_fast_food/" />
      
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/project_52/" />
      
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/font_management_in_os_x_10.4-10.6/" />
      
      <rdf:li rdf:resource="http://www.shortcuts.nl/index.php/weblog/multiple_languages_-_a_how-to_using_putyourlightsons_multi-language_mo/" />
      </rdf:Seq>
    </items>

</channel>


    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/...snnxxxks_huh_what_month_is_this/">
      <title>...snnxxxks! Huh? What month is this?</title>
      <link>http://www.shortcuts.nl/index.php/weblog/...snnxxxks_huh_what_month_is_this/</link>
      <description>Yep &#45; I&#8217;ve been busy, hence no writing.</description>
      <description>…not even sure this counts.</description>
      <dc:subject>Idle Chatter</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2011-12-28T09:49:14+00:00</dc:date>
    </item>

    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/who_wants_to_be_a_millionaire/">
      <title>Who wants to be a millionaire?</title>
      <link>http://www.shortcuts.nl/index.php/weblog/who_wants_to_be_a_millionaire/</link>
      <description>The most predictable way to make money on the stock market? Buy Apple stock the days before the event&#8230;</description>
      <description>It&#8217;s tradition. 

1) The press wildly inflates speculation on the new Apple (insert your favorite device here) &#45; eg, iPad with stereo speakers, card reader, dueling cameras, supre&#45;hires screen&#8230;all kinds of stuff

b) Then the speculators and naysayers come out, and also odd bits of personal bad news &#45; eg, standard ram, no card reader, Steve very sick, Jony Ive possibly leaving Apple. The stock take a significant dip. Larger stock groups buy in.

iii) The products come out, the bad news is debunked, and generally the reception to the (product) is good. The stock jumps back up in a few days. Big groups sell out. 

Profit!
Cynical, repeatable profit.</description>
      <dc:subject>Gadgetry, Idle Chatter, Malarkey</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2011-03-02T18:00:08+00:00</dc:date>
    </item>

    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/ipad_2_-_news_around_the_corner/">
      <title>iPad 2 &#45; News around the corner</title>
      <link>http://www.shortcuts.nl/index.php/weblog/ipad_2_-_news_around_the_corner/</link>
      <description>Now that they&#8217;ve dropped the bombshell, I expect Apple to announce the new iPad very, very soon.</description>
      <description>Their modus operandi is to take their medicine and then start serving the treacle. 

I expect to see an announcement card for and event soon, then hear about earnings successes in this months&#8217; conference call, and then the event where the next iPad is announced. Maybe a thinner, DVD&#45;less MacBook Pro (I just got a current MacBook Pro so it&#8217;s time to reveal a new one, of course). 

Boom &#45; boom &#45; boom.

With Cook still working behind the scenes as COO, Ive still designing, Shiller still shilling, Apple continues to fire on all cylinders.</description>
      <dc:subject>Gadgetry, Idle Chatter, IT notes</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2011-01-18T06:52:41+00:00</dc:date>
    </item>

    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/get_well_soon_steve/">
      <title>Get well soon, Steve</title>
      <link>http://www.shortcuts.nl/index.php/weblog/get_well_soon_steve/</link>
      <description>Take time for yourself and relax. Apple&#8217;s in good hands.</description>
      <description></description>
      <dc:subject>Gadgetry, IT notes, Personal</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2011-01-18T06:49:48+00:00</dc:date>
    </item>

    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/contract_killer/">
      <title>Contract Killer</title>
      <link>http://www.shortcuts.nl/index.php/weblog/contract_killer/</link>
      <description>For the record, I hate &#8220;suit&#45;speak&#8221;. It shouldn&#8217;t cost €500 in legal fees to make a contract for a €2500 site. Happily, there&#8217;s a great starting point for contracts&#8230;</description>
      <description>The benefit of working with an independent web developer is the lack of onerous terms and conditions &#45; it&#8217;s a much closer relationship than you&#8217;ll ever see from a company with more than 10 employees. We&#8217;re small and light on our feet, much like a cockroach after a nuclear war, and without the expensive infrastructure to support, small companies can often get far more work done for significantly less money. 

Happily, Andy Clark from Stuff and Nonsense, a UK design site, has taken upon himself to supply us a great starting point: his contract killer, a great starting point for an easily&#45;read, socially&#45;friendly contract that you (probably) won&#8217;t ever need a lawyer for. Of course, it probably wouldn&#8217;t be bad to run it by a lawyer in your part of the world, just in case&#8230;&amp;nbsp;</description>
      <dc:subject>IT notes, Malarkey, Personal</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2011-01-10T19:47:09+00:00</dc:date>
    </item>

    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/whats_your_facebook_footprint/">
      <title>What&#8217;s your Facebook Footprint?</title>
      <link>http://www.shortcuts.nl/index.php/weblog/whats_your_facebook_footprint/</link>
      <description>Did you know you can now download every wall post, every response, every comment, every poke, every photo or video you&#8217;ve ever put on Facebook? What&#8217;s your Facebook Footprint?</description>
      <description>Now you can back up every misstep, every faux pas, every whoopsie you&#8217;ve ever made in public. 

On October 7th, Facebook announced it would begin to let people download all the personal information they&#8217;ve put on Facebook. All you need to do is:
Top Menu: Account
Choose Account Settings
At the bottom of the page is Download your Information
Fill in your password and click Continue

It will take a bit of time for Facebook to compile it, and once you get a note that it&#8217;s ready you&#8217;ll have to prove it&#8217;s your data, but boom &#45; one nicely organized zip file with all your assets. You prove it&#8217;s your data by identifying friends in photos not in your account, so a hacker would have to know you fairly well to download the file. 

Off you go!</description>
      <dc:subject>Idle Chatter, IT notes, Personal</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-11-11T21:51:13+00:00</dc:date>
    </item>

    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/everything_you_need_to_know_about_fast_food/">
      <title>Everything you need to know about Fast Food</title>
      <link>http://www.shortcuts.nl/index.php/weblog/everything_you_need_to_know_about_fast_food/</link>
      <description>Some uncomfortable notes about our life with fast food.</description>
      <description>This is just a bit of an interesting infographic, but as with anything on &#8220;teh interwebs&#8221;, take with some grains of NaCl. For instance, the caloric intake for an average US adult is very likely wrong. A thread on Reddit has noted that the CDC has established an average US adult male consumes &#8220;2475 calories and 1833 calories (per day) for females&#8221;, not 4000&#45;calories per day as in the graphic. There&#8217;s a list of references in the graphic &#45; check them out. 

What this does show however is that while there&#8217;s often skewed information on the net, it can lead to good conversation and fact&#45;checking, especially through sites like Reddit. You just have to learn which &#8220;reddits&#8221; are worth reading and which are snark&#45;factories. 

Ultimately, it seems that the goal of the Internet is actually working &#45; that the demographic born to the Internet is smarter, more politically active and more willing to share America, but that&#8217;s another post&#8230;</description>
      <dc:subject>Idle Chatter</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-08-12T07:05:01+00:00</dc:date>
    </item>

    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/project_52/">
      <title>Project 52&#8230;</title>
      <link>http://www.shortcuts.nl/index.php/weblog/project_52/</link>
      <description>So what does it mean when the person starting an initiative doesn&#8217;t have time for it?</description>
      <description>Project 52 was a bit of an eye&#45;opener. Think it&#8217;s hard to write? Try forcing yourself to write once a week, on something of value. 

It seems the initiative died last week, or month&#8230;hard to tell&#8230;and the connecting website that makes all of this possible just disappeared. It&#8217;s probably not the workload for writing, but instead I believe there was a great underestimation of how much coordination was required to get this going. 

I too found myself lost for words. Hopefully should this happen again, we&#8217;ll all be better prepared.&amp;nbsp;  

Until that time, I return to my regularly unscheduled schedule.</description>
      <dc:subject>Idle Chatter, Personal, Project 52</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-06-14T01:01:50+00:00</dc:date>
    </item>

    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/font_management_in_os_x_10.4-10.6/">
      <title>Font Management in OS X, 10.4&#45;10.6</title>
      <link>http://www.shortcuts.nl/index.php/weblog/font_management_in_os_x_10.4-10.6/</link>
      <description>Fonts in OS X seems to change in every version. They&#8217;re a mystery, wrapped in a puzzle, often dotted with a umlaut and an accent&#45;grave. Whether you&#8217;re a a Flash developer wondering why your final Helvetica looks larger than it should be, or a print designer who&#8217;s output looks strangely un&#45;kerned, this link is for you&#8230;</description>
      <description>I know nothing about JKL Studios other than they&#8217;ve got the most detailed and easy&#45;to&#45;understand overview I&#8217;ve seen about Mac font management. 

Read it. 
Learn it. 
Live it. 

And download the PDF for when you stupidly remove the LucidaGrande.dfont from your /System/Library/Fonts/ directory. 

No&#8230;I admit to nothing.</description>
      <dc:subject>Gadgetry, IT notes, Project 52</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-05-31T07:28:14+00:00</dc:date>
    </item>

    <item rdf:about="http://www.shortcuts.nl/index.php/weblog/multiple_languages_-_a_how-to_using_putyourlightsons_multi-language_mo/">
      <title>Multiple Languages &#45; a &#8220;How&#45;To&#8221; using PutYourLightsOn&#8217;s Multi&#45;Language module</title>
      <link>http://www.shortcuts.nl/index.php/weblog/multiple_languages_-_a_how-to_using_putyourlightsons_multi-language_mo/</link>
      <description>I&#8217;m building a dual&#45;language website now that will feature English and Dutch, and I&#8217;ve been digging and culling information on this for a few weeks now. I&#8217;m putting my experiences down into this &#8220;How&#45;To&#8221; help others stuck at 2am.</description>
      <description>The focus on this is specifically using the Multi Language Module from PutYourLightOn but there are enough smaller tips in here that it&#8217;s worth putting in one place. There are also other means to do multiple languages that don&#8217;t require a commercial module, but this worked for me. YMMV. If this isn&#8217;t the right place, admins, let me know and I&#8217;ll move it. 

Caveats:
• This was developed  for the EE 1.6x but it should be very similar in 2.1x installations
• Requires the use of jQuery for the Control Panel extension and the commercial Multi&#45;Language Module from PutYourLightsOn.net
• This presumes 2 languages, but more can be used following the guide
• We try for pure EE&#45;solutions whenever possible &#45; no hacking or php/js and exposing the security
• Since we&#8217;re describing EE tags, normally they can&#8217;t be displayed inline (because the system immediately processes them). Using the code tag will ruin the reading, so when you see something like [base_path] realize the parenthesis are replaced by brackets.

Start &#45; Setting&#45;up the different language paths and removing the index.php from the URL:

We&#8217;re presuming you have a default language (in my case English) set in your General Preferences &gt; Site Language setting. All you need to do is add the module, add the extra languages and add some files to make sure the [base_url] starts out of the correct path. 

• Install the module (follow the directions on that &#45; easy enough)

• Add a additional language in the module using the correct ISO 639&#45;1 code for your extra language (en = english, nl = dutch, es = spanish, etc) 

• Add a directory to the root of your site for each additional language using the matching ISO 639&#45;1 code. This is always lower&#45;case. 

• Modify your path.php file to add 2 new variables [base_url] &amp;amp; [user_language]. The important bit is at the bottom:


$global_vars&amp;nbsp;=&amp;nbsp;array();&amp;nbsp;//&amp;nbsp;This&amp;nbsp;array&amp;nbsp;must&amp;nbsp;be&amp;nbsp;associative&amp;nbsp;



changes to point to your default language (replace &#8220;mysite&#8221; with your site and your particular base language)


//&amp;nbsp;$global_vars&amp;nbsp;=&amp;nbsp;array();&amp;nbsp;//&amp;nbsp;This&amp;nbsp;array&amp;nbsp;must&amp;nbsp;be&amp;nbsp;associative&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$global_vars&amp;nbsp;=&amp;nbsp;array(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;base_url&quot;&amp;nbsp;=&amp;gt;&amp;nbsp;&quot;http://www.mysite.com/&quot;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;user_language&quot;&amp;nbsp;=&amp;gt;&amp;nbsp;&quot;en&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&amp;nbsp;



• Now add .htaccess to the root using the EXCLUDE LIST method of removing the index.php. You&#8217;re including only the directories you want the system to look into:


RewriteEngine&amp;nbsp;onRewriteCond&amp;nbsp;$1&amp;nbsp;!^(nl|css|images|system|themes|index.php)&amp;nbsp;&#91;NC&#93;RewriteRule&amp;nbsp;^(.*)$&amp;nbsp;/index.php/$1&amp;nbsp;&#91;L&#93;&amp;nbsp;



• The module comes with spanish and italian directory file example &#45; use one of them and move the 3 files to the server
 &#45; index.php  = you can leave alone
 &#45; .htaccess = modify the path in the Rewrite Rule to point to your desired language, in my case it&#8217;s Dutch

RewriteRule&amp;nbsp;^(.*)$&amp;nbsp;/nl/index.php/$1&amp;nbsp;&#91;L&#93;&amp;nbsp;


 &#45; path.php = modify the last lines like the above default language, but this time to add the new language path

$global_vars&amp;nbsp;=&amp;nbsp;array(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;base_url&quot;&amp;nbsp;=&amp;gt;&amp;nbsp;&quot;http://www.mysite.com/nl/&quot;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;user_language&quot;&amp;nbsp;=&amp;gt;&amp;nbsp;&quot;nl&quot;);&amp;nbsp;//&amp;nbsp;This&amp;nbsp;array&amp;nbsp;must&amp;nbsp;be&amp;nbsp;associative&amp;nbsp;



There are enough folks out there having trouble with removing index.php &#45; removing two of them is worth pointing out. This caught me a few times. 

The module&#8217;s instructions are clear enough; there are 2 basic methods for language replacement: the tag method, where you add a tag via the module and it does the swapping: 

&#123;exp:multi_language:phrase&amp;nbsp;index=&quot;hello&quot;&#125;&amp;nbsp;



and Conditionals based on your current [base_path]:

&#123;exp:weblog:entries&amp;nbsp;weblog=&quot;my_weblog&quot;&#125;&#123;if&amp;nbsp;user_language&amp;nbsp;==&amp;nbsp;&quot;en&quot;&#125;&#123;title&#125;&#123;if:else&#125;&#123;title_&#123;user_language&#125;&#125;&#123;/if&#125;&#123;/exp:weblog:entries&#125;&amp;nbsp;



You&#8217;ll note that it uses the default [title] but also an alternative [title_] field. In my custom fields, right after title I&#8217;ve added a title_nl field, keeping the lowercase iso convention. This is the method of doing dynamic content &#45; each language element having its own field (I loop through using a FieldFrame set, for example). 

Links are your first enemy in multiple languages, so you need to find an alternative to [permalink] and [auto_path]. Let&#8217;s re&#45;write that example to add a link:


&#123;exp:weblog:entries&amp;nbsp;weblog=&quot;my_weblog&quot;&#125;&amp;lt;a&amp;nbsp;href=&quot;&#123;base_url&#125;template_dir/template/&#123;url_title&#125;&quot;&amp;gt;&amp;nbsp;&amp;nbsp;&#123;if&amp;nbsp;user_language&amp;nbsp;==&amp;nbsp;&quot;en&quot;&#125;&#123;title&#125;&amp;nbsp;&amp;nbsp;&#123;if:else&#125;&#123;title_&#123;user_language&#125;&#125;&amp;nbsp;&amp;nbsp;&#123;/if&#125;&amp;lt;/a&amp;gt;&#123;/exp:weblog:entries&#125;&amp;nbsp;



So what happens here is that depending on your current [base_path], the link does away with the [title_permalink] and rebuilds the path from the root up to the article. If I had a templates directory called &#8220;site&#8221; and in there an article view page called &#8220;view&#8221;, it&#8217;d look like this:


&amp;lt;a&amp;nbsp;href=&quot;&#123;base_url&#125;site/view/&#123;url_title&#125;&quot;&amp;gt;&amp;nbsp;&amp;nbsp;&#123;if&amp;nbsp;user_language&amp;nbsp;==&amp;nbsp;&quot;en&quot;&#125;&#123;title&#125;&amp;nbsp;&amp;nbsp;&#123;if:else&#125;&#123;title_&#123;user_language&#125;&#125;&amp;nbsp;&amp;nbsp;&#123;/if&#125;&amp;lt;/a&amp;gt;&amp;nbsp;



Pagination doesn&#8217;t use [title_permalink] but rather [auto_path]. Specifically for Pagination, you&#8217;d want to add a new [paginate_base] parameter to your [entries] tag:


&#123;exp:weblog:entries&amp;nbsp;weblog=&quot;workshops&quot;&amp;nbsp;limit=&quot;5&quot;&amp;nbsp;status=&quot;open&quot;&amp;nbsp;paginate_base=&quot;&#123;if&amp;nbsp;user_language&amp;nbsp;!=&amp;nbsp;&#39;en&#39;&#125;&#123;user_language&#125;&#123;/if&#125;/template_group/template&quot;&#125;&amp;nbsp;



This points the Pagination auto links used by [if next_page] [if previous_page] to the correct language. 

The next time you&#8217;ll see [auto_path] is in a site search, and unfortunately there doesn&#8217;t seem to be a similar method for a search_base. What I&#8217;ve done in this situation is to use the weblog_id to point me to the correct category link: 


&#123;if&amp;nbsp;weblog_id&amp;nbsp;==&amp;nbsp;&quot;3&quot;&#125;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;width=&quot;30%&quot;&amp;nbsp;valign=&quot;top&quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;a&amp;nbsp;href=&quot;&#123;base_url&#125;site/static/&#123;url_title&#125;&quot;&amp;gt;&#123;title&#125;&amp;lt;/a&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&#123;if:elseif&amp;nbsp;weblog_id&amp;nbsp;==&amp;nbsp;&quot;4&quot;&#125;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;width=&quot;30%&quot;&amp;nbsp;valign=&quot;top&quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;a&amp;nbsp;href=&quot;&#123;base_url&#125;site/workshop/&#123;url_title&#125;&quot;&amp;gt;&#123;title&#125;&amp;lt;/a&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&#123;/if&#125;&amp;nbsp;



and then just use different results pages for each language.</description>
      <dc:subject>IT notes, Project 52</dc:subject>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-03-24T06:53:24+00:00</dc:date>
    </item>


</rdf:RDF>
