<?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>Geronimo89.dk &#187; tutorials</title>
	<atom:link href="http://geronimo89.dk/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://geronimo89.dk</link>
	<description>A blog about me, my doings and everything I think deserves attention.</description>
	<lastBuildDate>Sun, 29 Jan 2012 12:02:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Twitter: Day #5 Tools</title>
		<link>http://geronimo89.dk/2011/05/31/how-to-twitter-day-5-tools/</link>
		<comments>http://geronimo89.dk/2011/05/31/how-to-twitter-day-5-tools/#comments</comments>
		<pubDate>Tue, 31 May 2011 06:37:56 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/?p=2078</guid>
		<description><![CDATA[Clients A client is an application you use twitter through. A great example for that is tweetdeck, because it has multiple columns and you can get it on Windows and MacOS, because it is written in Adobe AIR. I like to keep track of my friends timeline, my mentions and a facebook newsfeed. The fourth [...]]]></description>
			<content:encoded><![CDATA[<h2>Clients</h2>
<p>A client is an application you use twitter through. A great example for that is <a href="http://tweetdeck.com/">tweetdeck</a>, because it has multiple columns and you can get it on Windows and MacOS, because it is written in Adobe AIR. I like to keep track of my friends timeline, my mentions and a facebook newsfeed. The fourth column changes between different lists and searches.</p>
<p><img class="alignnone size-full wp-image-2081" title="tweetdeck screenshot" src="http://geronimo89.dk/blog/wp-content/tweetdeck-screenshot.png" alt="tweetdeck screenshot How to Twitter: Day #5 Tools" width="670" height="407" /></p>
<h2>Link shorteners</h2>
<p>If you’ve been tweeting and including links in your tweets, you may have noticed that links take a big chunk of the overall tweet length, which is limited to 140 characters after all. Link shorteners will be your friend. There are multiple services for that out there, I personally use <a href="http://bit.ly">bit.ly</a>, because it&#8217;s widely spread and easy to integrate to tweetdeck or available as a <a href="https://chrome.google.com/webstore/detail/iabeihobmhlgpkcgjiloemdbofjbdcic">plugin</a> for Chrome/Chromium.</p>
<h2>Analysis</h2>
<p>There are different tools for analyzing your or others accounts. A service which is fairly new and very powerful is <a href="http://beta.klout.com/#/geronimo89">Klout</a>. It calculates how you impact twitter with your tweets upon how much reaction like mentions or retweets you produce. It also analyzes your style, if you mostly tweet links, mention other users and so on. There is a <a href="https://chrome.google.com/webstore/detail/jjaakbhpcbpmojkhpiaacepfcaniglak">ranking plugin</a> available for Chrome to see other peoples Klout score directly on the twitter website.</p>
<p><img class="alignnone size-full wp-image-2084" title="klout style" src="http://geronimo89.dk/blog/wp-content/klout-style.png" alt="klout style How to Twitter: Day #5 Tools" width="649" height="575" /></p>
<h2>Connect</h2>
<p>I can only recommend you chain your facebook profile to your twitter account and let your friends there know what you&#8217;re posting on twitter. Just go to the <a href="http://apps.facebook.com/twitter/">twitter application</a>.</p>
<p><img class="alignnone size-full wp-image-2085" title="facebook-twitter-connect" src="http://geronimo89.dk/blog/wp-content/facebook-twitter-connect.png" alt="facebook twitter connect How to Twitter: Day #5 Tools" width="630" height="295" /></p>
<p>These were the first five days of How to Twitter. If you have any questions or suggestions, feel free to comment <img src='http://geronimo89.dk/blog/wp-includes/images/smilies/icon_wink.gif' alt="icon wink How to Twitter: Day #5 Tools" class='wp-smiley' title="How to Twitter: Day #5 Tools" />  Thanks to everybody who followed through so far!</p>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2012/01/11/nyndesigns-social-media-done-wrong/" rel="bookmark" class="crp_title">Nyndesigns: social media done wrong</a></li><li><a href="http://geronimo89.dk/2011/05/27/how-to-twitter-day-1-vocabulary-2/" rel="bookmark" class="crp_title">How to Twitter: Day #1 Vocabulary</a></li><li><a href="http://geronimo89.dk/2011/05/28/how-to-twitter-day-2-why/" rel="bookmark" class="crp_title">How to Twitter: Day #2 Why?</a></li><li><a href="http://geronimo89.dk/2010/06/19/testing-chromium-for-real-day-1/" rel="bookmark" class="crp_title">Testing Chromium for real: day 1</a></li><li><a href="http://geronimo89.dk/2011/11/03/why-diaspora-rocks/" rel="bookmark" class="crp_title">Why Diaspora rocks</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2011/05/31/how-to-twitter-day-5-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Twitter: Day #4 No Go’s</title>
		<link>http://geronimo89.dk/2011/05/30/how-to-twitter-day-4-no-go%e2%80%99s/</link>
		<comments>http://geronimo89.dk/2011/05/30/how-to-twitter-day-4-no-go%e2%80%99s/#comments</comments>
		<pubDate>Mon, 30 May 2011 07:13:24 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/?p=2058</guid>
		<description><![CDATA[Content is king, don’t kill it with boredom. It’s been a long time since my last status update, so here we go: looking for breakfast. When you’re a blogger, you should add some personality to your blog, that’s correct. If you don’t have a blog and are worried that your twitter account has some spider [...]]]></description>
			<content:encoded><![CDATA[<h2>Content is king,</h2>
<p>don’t kill it with boredom.</p>
<blockquote><p>It’s been a long time since my last status update, so here we go: looking for breakfast.</p></blockquote>
<p>When you’re a blogger, you should add some personality to your blog, that’s correct. If you don’t have a blog and are worried that your twitter account has some spider webs on it, use it as motivation. Get up, do something, tweet that.</p>
<h2>Duplicate content is a fool</h2>
<p>Of course it is, so don’t retweet somebody a lot of your followers are following, it will just annoy them and flood their timeline.<br />
Furthermore, don’t link the same post/site twice without telling you have tweeted it before. <strong>Include a memorable title</strong>, or users will be disappointed the second time they visit one of your links, they believed to be new.</p>
<h2>Don&#8217;t hate</h2>
<blockquote><p>All you miserable maggots will bite to dust and I&#8217;ll impale you with a bamboo stick!</p></blockquote>
<p>If you try to stand out as a professional, discuss, don’t harass. What you tweet about is very sensitive. Don’t tweet that you hate work, when you just got hired by a firm and you have no side-projects, don’t put a bounty on peoples head, imagine your audience sitting in front of you. To get away from you, they just have to click <strong>unfollow</strong> instead of leaving the room and giving you the possibility to question why, like in the physical world.</p>
<p><strong>Don&#8217;t whine too much.</strong> It&#8217;s very irritating to see people bitching around all the time. To be on the subject and being still critical is not impossible <img src='http://geronimo89.dk/blog/wp-includes/images/smilies/icon_wink.gif' alt="icon wink How to Twitter: Day #4 No Go’s" class='wp-smiley' title="How to Twitter: Day #4 No Go’s" /> </p>
<p>For further bad tweets see: <a href="http://www.telegraph.co.uk/technology/twitter/5250680/Top-10-worst-tweets.html">Top 10 worst tweets</a></p>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2011/05/27/how-to-twitter-day-1-vocabulary-2/" rel="bookmark" class="crp_title">How to Twitter: Day #1 Vocabulary</a></li><li><a href="http://geronimo89.dk/2011/05/28/how-to-twitter-day-2-why/" rel="bookmark" class="crp_title">How to Twitter: Day #2 Why?</a></li><li><a href="http://geronimo89.dk/2010/08/04/status-and-music/" rel="bookmark" class="crp_title">Status and Music</a></li><li><a href="http://geronimo89.dk/2012/01/11/nyndesigns-social-media-done-wrong/" rel="bookmark" class="crp_title">Nyndesigns: social media done wrong</a></li><li><a href="http://geronimo89.dk/2011/05/31/how-to-twitter-day-5-tools/" rel="bookmark" class="crp_title">How to Twitter: Day #5 Tools</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2011/05/30/how-to-twitter-day-4-no-go%e2%80%99s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Twitter: Day #3 How?</title>
		<link>http://geronimo89.dk/2011/05/29/how-to-twitter-day-3-how/</link>
		<comments>http://geronimo89.dk/2011/05/29/how-to-twitter-day-3-how/#comments</comments>
		<pubDate>Sun, 29 May 2011 07:22:33 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/?p=2044</guid>
		<description><![CDATA[This is a lot depending on what you want to achieve. A podcaster I follow uses twitter to organise with the people he meets around Germany. Others promote their newest content, their firms launched products, etc. I’ll just leave out talking about puppies or that you just had breakfast, because these you should do rarely, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-2050" title="tweet button" src="http://geronimo89.dk/blog/wp-content/tweet-button.png" alt="tweet button How to Twitter: Day #3 How?" width="528" height="166" /></p>
<p>This is a lot depending on what you want to achieve. A podcaster I follow uses twitter to organise with the people he meets around Germany. Others promote their newest content, their firms launched products, etc. I’ll just leave out talking about puppies or that you just had breakfast, because these you should do rarely, if you’re not breeding dogs or a dedicated food blogger.  Your bio(graphy) is also important, so potential followers get a quick overview, what they’re going to read when they follow you. I’ll just use my current as an example:</p>
<blockquote><p>PhotoDesignCode-Junkie, currently at the Nordic Multimedia Academy. Free for shootings and projects, speak to me in: EN/DE/DA. Follow me for more insights.</p></blockquote>
<p>I consider it short, summarising my interests, revealing my current occupation, that I’m open for work, trilingual and inviting to follow me.</p>
<p>Try to connect with people you know in real life, people from the same area or field of interest. This will give you opportunities to jump into conversations, help or just get interesting updates. As this is a medium that leans so close against the pulse of the net as no other, being there when something happens or at least on a daily basis, you should make routine out of checking your account, mentions and retweets on a daily basis.</p>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2011/05/28/how-to-twitter-day-2-why/" rel="bookmark" class="crp_title">How to Twitter: Day #2 Why?</a></li><li><a href="http://geronimo89.dk/2011/05/27/how-to-twitter-day-1-vocabulary-2/" rel="bookmark" class="crp_title">How to Twitter: Day #1 Vocabulary</a></li><li><a href="http://geronimo89.dk/2011/05/30/how-to-twitter-day-4-no-go%e2%80%99s/" rel="bookmark" class="crp_title">How to Twitter: Day #4 No Go’s</a></li><li><a href="http://geronimo89.dk/2011/05/31/how-to-twitter-day-5-tools/" rel="bookmark" class="crp_title">How to Twitter: Day #5 Tools</a></li><li><a href="http://geronimo89.dk/2012/01/11/nyndesigns-social-media-done-wrong/" rel="bookmark" class="crp_title">Nyndesigns: social media done wrong</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2011/05/29/how-to-twitter-day-3-how/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Twitter: Day #2 Why?</title>
		<link>http://geronimo89.dk/2011/05/28/how-to-twitter-day-2-why/</link>
		<comments>http://geronimo89.dk/2011/05/28/how-to-twitter-day-2-why/#comments</comments>
		<pubDate>Sat, 28 May 2011 11:29:53 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/?p=2037</guid>
		<description><![CDATA[Why should you use a twitter account? There are a couple of good answers. Most business people will now be looking for a combination of “will”, “increase” and “sales”, but it’s not that simple. If you do it right, it might create a better relation to your customers, empowers you for more direct communication and [...]]]></description>
			<content:encoded><![CDATA[<h2>Why should you use a twitter account?</h2>
<p>There are a couple of good answers. Most business people will now be looking for a combination of “will”, “increase” and “sales”, but it’s not that simple. If you do it right, it might create a better relation to your customers, empowers you for more direct communication and that also only if your target group uses twitter. Furthermore will it not help throwing out random links to your homepage or products, if it is not new, relaunched, changed, or in a conversation. Sounds easy? No, but that’s why there are multimedia designers like me <img src='http://geronimo89.dk/blog/wp-includes/images/smilies/icon_smile.gif' alt="icon smile How to Twitter: Day #2 Why?" class='wp-smiley' title="How to Twitter: Day #2 Why?" /><br />
As a private user you can promote your private projects, network close and instantly with friends or <del>just stay up to date with your favourite celebrities breakfast sandwich</del>. BOOOORING. At least the last.<br />
If you, like me, are becoming a multimedia designer, study something in relation marketing, no matter if it is internet related or not, you definitely should have a Twitter account. If you ever, possibly by a client, boss, co-worker or a just a possible client at a party at very unlikely circumstances could be confronted with the question: “What about social media?”.<br />
Sounds like it’s never gonna happen? Don’t think so. <a href="http://twitter.com/geronimo89">I</a>’m not a god of social media and I don’t even have a lot of followers, but my count is growing (feel free to <a href="http://twitter.com/geronimo89">follow</a> if you find the first peek at my time line interesting <img src='http://geronimo89.dk/blog/wp-includes/images/smilies/icon_smile.gif' alt="icon smile How to Twitter: Day #2 Why?" class='wp-smiley' title="How to Twitter: Day #2 Why?" /> ).</p>
<p>I use Twitter connected to other social communities which makes my tweets, apart from retweets and mentions visible on for example facebook. When I find something interesting or funny, that my friends could like, I tweet it, if I find it has not been seen, is brand new or just legendary. Furthermore I tweet new blog entries (more in depth about new things or things new to me) or portfolio entries with sets of photos, posters or code snippets.</p>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2011/05/27/how-to-twitter-day-1-vocabulary-2/" rel="bookmark" class="crp_title">How to Twitter: Day #1 Vocabulary</a></li><li><a href="http://geronimo89.dk/2012/01/11/nyndesigns-social-media-done-wrong/" rel="bookmark" class="crp_title">Nyndesigns: social media done wrong</a></li><li><a href="http://geronimo89.dk/2011/05/30/how-to-twitter-day-4-no-go%e2%80%99s/" rel="bookmark" class="crp_title">How to Twitter: Day #4 No Go’s</a></li><li><a href="http://geronimo89.dk/2011/05/29/how-to-twitter-day-3-how/" rel="bookmark" class="crp_title">How to Twitter: Day #3 How?</a></li><li><a href="http://geronimo89.dk/2011/05/31/how-to-twitter-day-5-tools/" rel="bookmark" class="crp_title">How to Twitter: Day #5 Tools</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2011/05/28/how-to-twitter-day-2-why/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Twitter: Day #1 Vocabulary</title>
		<link>http://geronimo89.dk/2011/05/27/how-to-twitter-day-1-vocabulary-2/</link>
		<comments>http://geronimo89.dk/2011/05/27/how-to-twitter-day-1-vocabulary-2/#comments</comments>
		<pubDate>Fri, 27 May 2011 16:31:16 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/?p=2026</guid>
		<description><![CDATA[Here comes the first day of my little Twitter introduction. I think everybody on my education (multimedia designers) should experience Twitter and know how to use it, because our education includes knowledge about internet branding and social media. Let’s start out from scratch. No really, this is aiming for the point of account creation. If you’re [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-2027" title="480px-Twitter_2010_logo" src="http://geronimo89.dk/blog/wp-content/480px-Twitter_2010_logo.png" alt="480px Twitter 2010 logo How to Twitter: Day #1 Vocabulary" width="288" height="66" />Here comes the first day of my little Twitter introduction. I think everybody on my education (multimedia designers) should experience Twitter and know how to use it, because our education includes knowledge about internet branding and social media. Let’s start out from scratch. No really, this is aiming for the point of account creation. If you’re further and know the terms, just skip this part.</p>
<p><strong>Twitter</strong><br />
Twitter is a microblogging service run by the Twitter Inc. It gives people the ability to share messages of exactly 140 characters.<br />
Wikipedia says:</p>
<blockquote><p>Twitter was produced in March 2006 by Jack Dorsey and launched in July. Since then Twitter has gained popularity worldwide and is estimated to have 200 million users, generating 65 million tweets a day and handling over 800,000 search queries per day.</p></blockquote>
<p><strong>tweet</strong><br />
A short message sent through twitter.</p>
<p><strong>retweet</strong><br />
A retweet is a repetition of somebody else’ tweet, you chose to spread to your followers.</p>
<p><strong>TL / timeline</strong><br />
A timeline is a chronical collection of tweets. Your timeline would consist of your tweets and retweets. Your friends timeline a collection of theirs and so on.</p>
<p><strong>hashtag / tag</strong><br />
These are used to flag certain content that belongs to a specific topic or field. If I’d be tweeting about a new lense, I bought for my camera, I’d add #photography #lense #Tamron (just to make a point) and to make it easy to find for people, looking for tweets on a certain topic.</p>
<p><strong>lists</strong><br />
You can create lists to sort people after location, topic or something you think connects them. Lists are followable, as persons.</p>
<p>For more basics, visit the twitter help center: <a href="http://support.twitter.com">http://support.twitter.com</a></p>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2011/05/30/how-to-twitter-day-4-no-go%e2%80%99s/" rel="bookmark" class="crp_title">How to Twitter: Day #4 No Go’s</a></li><li><a href="http://geronimo89.dk/2012/01/11/nyndesigns-social-media-done-wrong/" rel="bookmark" class="crp_title">Nyndesigns: social media done wrong</a></li><li><a href="http://geronimo89.dk/2011/05/31/how-to-twitter-day-5-tools/" rel="bookmark" class="crp_title">How to Twitter: Day #5 Tools</a></li><li><a href="http://geronimo89.dk/2011/05/28/how-to-twitter-day-2-why/" rel="bookmark" class="crp_title">How to Twitter: Day #2 Why?</a></li><li><a href="http://geronimo89.dk/2011/05/29/how-to-twitter-day-3-how/" rel="bookmark" class="crp_title">How to Twitter: Day #3 How?</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2011/05/27/how-to-twitter-day-1-vocabulary-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML class 1: The Beginning</title>
		<link>http://geronimo89.dk/2010/09/29/1482/</link>
		<comments>http://geronimo89.dk/2010/09/29/1482/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 14:36:08 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[web developement]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/?p=1482</guid>
		<description><![CDATA[Thanks to Miss Ragno from Merox.dk as our host for the first little web class we had together and of course everybody that participated.&#62; I want to put up a quick sum-up what we did for everybody that is interested or who couldn&#8217;t come. Concept and Technique Concept Technique Sender You or your client Webserver [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to Miss Ragno from <a href="http://bit.ly/9HshAR">Merox.dk</a> as our host for the first little web class we had together and of course everybody that participated.&gt;<br />
I want to put up a quick sum-up what we did for everybody that is interested or who couldn&#8217;t come.</p>
<h2>Concept and Technique</h2>
<table border="0" width="400">
<tbody>
<tr>
<th scope="col"></th>
<th scope="col">Concept</th>
<th scope="col">Technique</th>
</tr>
<tr>
<th scope="row">Sender</th>
<td>You or your client</td>
<td>Webserver</td>
</tr>
<tr>
<th scope="row">Message</th>
<td>Do / buy something</td>
<td>HTML</td>
</tr>
<tr>
<th scope="row">Receiver</th>
<td>User</td>
<td>Browser</td>
</tr>
</tbody>
</table>
<h3>Clean Code</h3>
<p>What you should think of when starting to write a website is that you should use native html elements if possible, like h1, h2, blockquote and so on. Also very important that you devide content and style.<br />
Bad:</p>
<pre class="brush: xml; title: ; notranslate">&lt;body background=&quot;#ff0000&quot;&gt;</pre>
<p>good:</p>
<blockquote><p>&lt;body&gt; and additionally in .css file: body {background:#ff0000;}</p></blockquote>
<h3>Comments</h3>
<p>Comments are extremely supportive when it comes to coding and learning at once, here the comment markup for HTML and CSS comments:</p>
<blockquote><p>&lt;!&#8211; navigation section, this is a HTML comment &#8211;&gt;</p>
<p>/* multi row comments in CSS<br />
for example: this not working in IE */</p></blockquote>
<h3>Validation</h3>
<p>Validation is useful to get used to common guidelines. It&#8217;s not the ultimate solution, but sticking to the W3C rules is a good starting point. You can always add a browser switch for single browsers after that. (Eyeballing IE here)<br />
Links for validation:</p>
<ul>
<li>HTML: <a href="http://validator.w3.org/">http://validator.w3.org/</a></li>
<li>CSS: <a href="http://jigsaw.w3.org/css-validator/">http://jigsaw.w3.org/css-validator/</a></li>
</ul>
<p>Also very important: remember your <a href="http://www.w3schools.com/tags/tag_DOCTYPE.asp">Doctype</a>! (HTML5 not listed)</p>
<h3>Sketches</h3>
<p><img class="alignnone size-full wp-image-1483" title="webdesign sketch" src="http://geronimo89.dk/blog/wp-content/webdesign-sketch.png" alt="webdesign sketch HTML class 1: The Beginning" width="325" height="375" /></p>
<p>Make sketches, in hand or digitally, just very roughly to define elements and layout. This will help you not to overload the page and stay focussed on your goal along the process.</p>
<h3>Inspiration</h3>
<p>Gathering inspiration is not really a big deal when it comes to web design. Check out the <a href="http://browse.deviantart.com/designs/web/">category for Web Interfaces on deviantART</a> for example.</p>
<h2>Resources</h2>
<h3>Editors</h3>
<p><img class="alignnone size-full wp-image-1484" title="text wrangler syntax highlightning screenshot" src="http://geronimo89.dk/blog/wp-content/text-wrangler-syntax-highlightning-screenshot.png" alt="text wrangler syntax highlightning screenshot HTML class 1: The Beginning" width="569" height="364" /></p>
<p>Important when you choose your editor is that it supports syntax highlightning.<br />
I recommend <a href="http://notepad-plus-plus.org/">Notepad++</a> for Windows and <a href="http://www.apple.com/downloads/macosx/productivity_tools/textwrangler.html">Text Wrangler</a> for Mac OS. Linux users: You know where to go, your packet manager gives you tons of possibilities.</p>
<h3>Browser Extensions</h3>
<p>Really useful, they help you debug, increase your workflow (and some of them actually look pretty sexy <img src='http://geronimo89.dk/blog/wp-includes/images/smilies/icon_wink.gif' alt="icon wink HTML class 1: The Beginning" class='wp-smiley' title="HTML class 1: The Beginning" /> ).<br />
My beginner recommendations:</p>
<ul>
<li><a href="http://getfirebug.com">Firebug</a> (Firefox only)</li>
<li>Window Resizer, <a href="https://addons.mozilla.org/en-US/firefox/addon/1985/">Firefox version</a> / <a href="https://chrome.google.com/extensions/detail/kkelicaakdanhinjdeammmilcgefonfh">Chrome version</a></li>
<li>Web Developer, <a href="https://addons.mozilla.org/en-US/firefox/addon/60/">Firefox version</a> / <a href="https://chrome.google.com/extensions/detail/bfbameneiokkgbdmiekhjnmfkcnldhhm">Chrome version</a></li>
</ul>
<h3>Tutorials</h3>
<p>Examples for great websites that have massive collections of tutorials and knowledge:</p>
<ul>
<li><a href="http://net.tutsplus.com">net.tutsplus.com</a></li>
<li><a href="http://www.smashingmagazine.com/">smashing magazine</a></li>
</ul>
<h3>CSS References</h3>
<p>Just a must-have for looking up how things are done and what can be done with different elements.</p>
<ul>
<li>CSS3.info:
<ul>
<li><a href="http://www.css3.info/">http://www.css3.info/</a></li>
</ul>
</li>
<li>W3Schools:
<ul>
<li><a href="http://www.w3schools.com/css/css_reference.asp">http://www.w3schools.com/css/css_reference.asp</a></li>
</ul>
</li>
<li>CSS-Ref.com
<ul>
<li><a href="http://www.css-ref.com/">http://www.css-ref.com/</a></li>
</ul>
</li>
</ul>
<h2>Vocabulary:</h2>
<ul>
<li>HTML = HyperText Markup Language</li>
<li>CSS = Cascading Style Sheets</li>
</ul>
<p>Thank you for reading! Leave a comment with wishes for future lessons and general feedback please!</p>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2010/06/19/testing-chromium-for-real-day-1/" rel="bookmark" class="crp_title">Testing Chromium for real: day 1</a></li><li><a href="http://geronimo89.dk/2010/10/02/css3-close-up-transition/" rel="bookmark" class="crp_title">CSS3 Close Up: transition</a></li><li><a href="http://geronimo89.dk/2008/08/27/css-box-with-graphic-borders/" rel="bookmark" class="crp_title">CSS box, with graphic borders</a></li><li><a href="http://geronimo89.dk/2010/09/19/more-fun-chrome-chromium-extensions/" rel="bookmark" class="crp_title">more fun chrome / chromium extensions</a></li><li><a href="http://geronimo89.dk/2010/06/21/testing-chromium-for-real-day-3/" rel="bookmark" class="crp_title">Testing Chromium for real: day 3</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2010/09/29/1482/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSS reading and how to use it efficiently</title>
		<link>http://geronimo89.dk/2010/09/19/rss-reading-and-how-to-use-it-efficiently/</link>
		<comments>http://geronimo89.dk/2010/09/19/rss-reading-and-how-to-use-it-efficiently/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 12:41:23 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[atom]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[feedreader]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/?p=1405</guid>
		<description><![CDATA[Vocabulary RSS (or atom) Feeds are a really powerful tool to either stay in touch with information you value, get updates real quick and spend less time on getting information you want. About every blog, online gallery or news site has its own feed. Here a quick sum up how to use this efficiently, both [...]]]></description>
			<content:encoded><![CDATA[<h2>Vocabulary</h2>
<p><img class="size-full wp-image-1409 alignleft" title="feed_icon" src="http://geronimo89.dk/blog/wp-content/feed_icon.png" alt="feed icon RSS reading and how to use it efficiently" width="82" height="82" />RSS (or atom) Feeds are a really powerful tool to either stay in touch with information you value, get updates real quick and spend less time on getting information you want. About every blog, online gallery or news site has its own feed. Here a quick sum up how to use this efficiently, both as reader and as a publisher (artist, blogger, or if you run a community).</p>
<p>Rss, atom <strong>feed</strong> = a stream of information divided into different parts like headline, content, attachment.</p>
<p><strong>Aggregator</strong> = a synonym for feedreader, program that handles feeds</p>
<p><strong>subscribe</strong> = you start reading a newsfeed, like signing up for a newsletter</p>
<h2>For readers</h2>
<h3>Why use this technique in the first place?</h3>
<p>Because <strong>it saves you time</strong> and makes managing your inputs of information easily. You don&#8217;t want to visit every site you like, where there could be new content daily. You have a chance that there is no new content and you leave again, without any gain. Further, <strong>you don&#8217;t have to remember</strong> all the places for valuable information around the internet, you just subscribe to the feeds and will be noticed when there is new content to see or read.</p>
<h3>How do I use it then?</h3>
<p>Many programs support feeds, browsers (like IE, <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a>, Opera, Chrome) mail clients (like <a href="http://www.mozillamessaging.com/en-US/thunderbird/">Thunderbird</a> or Windows Live Mail) or dedicated feed readers (like <a href="http://www.utsire.com/shrook/">Shrook</a> for Mac, Liferea and Akregator for Linux or <a href="http://www.feedreader.com/">Feedreader</a> for Windows). There are also online services that collect your feeds in your browser window, accessible from everywhere (example: <a href="http://www.bloglines.com/">bloglines</a>, <a href="http://www.google.com/reader/">google reader</a>, <a href="http://www.netvibes.com/">netvibes</a>).</p>
<p>Just look out for this icon: <img class="alignnone size-full wp-image-1413" title="feed-icon-14x14" src="http://geronimo89.dk/blog/wp-content/feed-icon-14x14.png" alt="feed icon 14x14 RSS reading and how to use it efficiently" width="14" height="14" /> it will support you with information or the feed URL from that site. For this blog it is: <a class="feed" href="http://geronimo89.dk/feed/">http://geronimo89.dk/feed/</a></p>
<p>Example how to subscribe to a website with Firefox:</p>
<p><img class="alignnone size-full wp-image-1417" title="subscribe_ff_1" src="http://geronimo89.dk/blog/wp-content/subscribe_ff_1.png" alt="subscribe ff 1 RSS reading and how to use it efficiently" width="600" height="282" /></p>
<p><img class="alignnone size-full wp-image-1418" title="subscribe_ff_2" src="http://geronimo89.dk/blog/wp-content/subscribe_ff_2.png" alt="subscribe ff 2 RSS reading and how to use it efficiently" width="600" height="282" /></p>
<p><img class="alignnone size-full wp-image-1419" title="subscribe_ff_3" src="http://geronimo89.dk/blog/wp-content/subscribe_ff_3.png" alt="subscribe ff 3 RSS reading and how to use it efficiently" width="600" height="282" /></p>
<h2>For writers</h2>
<p>Why you should run a website or use a service (countless, like deviantART, flickr, blogger, blogspot, livejournal, wordpress) that supports feeds is because you reach your readers fast and you have a better chance that people that like what you do will come back or stay in touch through this feed. They might want to subscribe to your feed, but not visit your website manually every day to check if there are updates. If you post content (like photos, poems, blogposts) irregularly it will increase the number of your readers.</p>
<h3>How will I know if people use this feature?</h3>
<p>Simple: if your sites views go up, minutes after you have submitted new content, people have very probably subscribed to your feed. I see it myself, when I promote new content through links with <a href="http://geronimo89.dk/2010/06/30/bit-ly-hits-kontrollieren/">bit.ly</a> I have more readers online than clicked the link that lead to the article. These are readers that have subscribed. Another option is to use a service like <a href="http://feedburner.google.com/">Feedburner</a> to monitor readers. Also there are plugins for most content management systems that show referrers or count hits on your feed-url.</p>
<h3>But I want people to visit the website!</h3>
<p>No problem, you can distribute a short summary of the article and not the whole content through the feed, which only gives the user a headline and the summary, if they want to read the whole article, they have to go to that article, by clicking the link. If you are not depending on advertisement on your website, I recommend you distribute all the content though. Below a screenshot of the wordpress rss settings.</p>
<p><img class="alignnone size-full wp-image-1420" title="wp_rss_settings" src="http://geronimo89.dk/blog/wp-content/wp_rss_settings.png" alt="wp rss settings RSS reading and how to use it efficiently" width="352" height="361" /></p>
<p>Links:</p>
<ul>
<li><a href="http://www.feedicons.com/">feedicons.com</a> for graphics in various colours</li>
<li><a href="http://en.wikipedia.org/wiki/Comparison_of_feed_aggregators">http://en.wikipedia.org/wiki/Comparison_of_feed_aggregators</a> Wikipedia list of feed readers</li>
</ul>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2007/07/31/feedreader-sucking-at-the-vessels-of-information/" rel="bookmark" class="crp_title">feedreader, sucking at the vessels of information</a></li><li><a href="http://geronimo89.dk/2010/06/21/testing-chromium-for-real-day-3/" rel="bookmark" class="crp_title">Testing Chromium for real: day 3</a></li><li><a href="http://geronimo89.dk/2011/01/23/feedsharing-stuff-and-people-i-follow/" rel="bookmark" class="crp_title">feedsharing: stuff and people I follow</a></li><li><a href="http://geronimo89.dk/2010/09/19/more-fun-chrome-chromium-extensions/" rel="bookmark" class="crp_title">more fun chrome / chromium extensions</a></li><li><a href="http://geronimo89.dk/2007/11/08/iflock-im-flogging-this/" rel="bookmark" class="crp_title">iFlock, I’m flogging this!</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2010/09/19/rss-reading-and-how-to-use-it-efficiently/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>shooting in the rain</title>
		<link>http://geronimo89.dk/2010/08/29/shooting-in-the-rain/</link>
		<comments>http://geronimo89.dk/2010/08/29/shooting-in-the-rain/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 23:18:35 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[camera bag]]></category>
		<category><![CDATA[rain]]></category>
		<category><![CDATA[shooting]]></category>
		<category><![CDATA[UV filter]]></category>
		<category><![CDATA[water]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/?p=1234</guid>
		<description><![CDATA[As you can see on the image above, it&#8217;s shot in the rain, but how do you protect your loved camera in this shitty weather? How do you keep drops on your lense from ruining your pictures or forcing you to spend hours retouching them? What you will need is a UV-Filter (like the hama [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://geronimo89.deviantart.com/art/a-rain-noir-177185341"><img class="size-full wp-image-1235 alignnone" title="drops" src="http://geronimo89.dk/blog/wp-content/drops.jpg" alt="drops shooting in the rain" width="500" height="753" /></a></p>
<p>As you can see on the image above, it&#8217;s shot in the rain, but how do you protect your loved camera in this shitty weather? How do you keep drops on your lense from ruining your pictures or forcing you to spend hours retouching them?</p>
<p><img class="size-full wp-image-1237 alignnone" title="UV-Filter" src="http://geronimo89.dk/blog/wp-content/UV-Filter.jpg" alt="UV Filter shooting in the rain" width="500" height="250" /></p>
<p>What you will need is a UV-Filter (like the hama you see here) fitting your lense. I bought one for my EOS 18-55mm Kit lense which has a 58mm diameter. UV-Filters are extremely handy for protecting your lense from dust, rain or other fluids, plus they are a lot easier to keep clean. You have to watch out for more reflections though. The prize of this one was about 13€, so it&#8217;s one of the cheap ones, but will do quite well. The second thing you need is a package of cleaning wipes for glasses, you probably know them if you wear glasses yourself. They are fairly cheap, so just stop by your local supermarket and see what they have.With your UV-Filter attached, out in the rain, you just wipe off drops with the cleaning wipes, it will dry in seconds! That is because of the chemicals used, leaving no marks behind.<br />
<strong>Important:</strong> Don&#8217;t ever do that to your lense! You&#8217;ll risk scratching it or harming the coating!</p>
<p><img class="alignnone size-full wp-image-1236" title="Tasche" src="http://geronimo89.dk/blog/wp-content/Tasche.jpg" alt="Tasche shooting in the rain" width="500" height="250" /><br />
About the rest of the camera: most DSLR bodies don&#8217;t bother much when they get a few drops of water, check your manual for further details.</p>
<p>After shooting, put your camera back into your bag, clean it later, if necessary. My camera bag isn&#8217;t waterproof, but it&#8217;s thick enough to keep the rain out for a good amount of time. In case of unplanned, longer stays in wet weather or really heavy rain, I keep a small plastic bag in there, I can pull over, which keeps it dry.<br />
As you can see, this equiptment is very low budget (my camera bag was about 20€) so I guess it&#8217;s worth trying.<br />
Thank you all for reading and I hope you can benefit a little from my experience</p>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2010/09/03/optimising-pngs-with-pngcrush/" rel="bookmark" class="crp_title">Optimising PNGs with pngcrush</a></li><li><a href="http://geronimo89.dk/2010/11/18/assignment-dump/" rel="bookmark" class="crp_title">assignment dump</a></li><li><a href="http://geronimo89.dk/2010/09/07/stuff-and-ive-got-a-new-baby/" rel="bookmark" class="crp_title">Stuff and I&#8217;ve got a new baby!</a></li><li><a href="http://geronimo89.dk/2011/05/27/how-to-twitter-day-1-vocabulary-2/" rel="bookmark" class="crp_title">How to Twitter: Day #1 Vocabulary</a></li><li><a href="http://geronimo89.dk/2010/12/30/xmas-post-2010/" rel="bookmark" class="crp_title">xmas post 2010</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2010/08/29/shooting-in-the-rain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch editing html or text files</title>
		<link>http://geronimo89.dk/2010/05/12/batch-editing-html-files/</link>
		<comments>http://geronimo89.dk/2010/05/12/batch-editing-html-files/#comments</comments>
		<pubDate>Wed, 12 May 2010 15:18:07 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web developement]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[batch replace]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/blog/?p=397</guid>
		<description><![CDATA[At work, I&#8217;ve been more than once exposed to older web sites that had to be changed. Problematic about this was, that I would have to edit about 30 html files to change an email address or change a part of the menu that was stored on every single html page. As I thought, that [...]]]></description>
			<content:encoded><![CDATA[<p>At work, I&#8217;ve been more than once exposed to older web sites that had to be changed. Problematic about this was, that I would have to edit about 30 html files to change an email address or change a part of the menu that was stored on every single html page. As I thought, that this was far too annoaying, I decided to write a script for it.</p>
<p>The stream editor (sed) that is pretty much standard on basically every distribution and a core element offers the search and replace function, but I will stop to annoy you and just give you the script:</p>
<pre class="brush: bash; title: ; notranslate">#!/bin/bash
# a little help by Jonathan M. Hethey
# use:
# 1. put in directory with files to edit
# 2. change variables replace and with
# declare the variable you want to have replaced
replace=&quot;old_pic.png&quot;
# and the string you want to replace it with
with=&quot;new_pic.png&quot;
# the script will do it on all files with a certain file suffix, .html in this case
for filename in *.html
# loop it for all files found with .html
do
# search and replace it
sed -i &quot;s/$replace/$with/g&quot; $filename
# echo all files processed, this gives you information which files were worked on (probably all .html files, because sed will read all, but only work on the ones where there is something to be replaced.
echo $filename
# end the loop
done;</pre>
<p>A little struggle was to get the variables (I only added for you, my readers) to work. It&#8217;s all about using &#8221; instead of &#8216; because bash does not interpret variables inside &#8216;.<br />
Download: <a href="http://geronimo89.dk/blog/wp-content/replacer.sh.zip">replacer.sh</a></p>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2010/12/20/call-for-links/" rel="bookmark" class="crp_title">call for links</a></li><li><a href="http://geronimo89.dk/2008/08/27/first-website-and-navigation-with-php/" rel="bookmark" class="crp_title">First website and navigation with PHP</a></li><li><a href="http://geronimo89.dk/2010/05/12/up-for-today/" rel="bookmark" class="crp_title">Up for today</a></li><li><a href="http://geronimo89.dk/2010/10/02/css3-close-up-transition/" rel="bookmark" class="crp_title">CSS3 Close Up: transition</a></li><li><a href="http://geronimo89.dk/2008/01/30/how-the-danish-ministery-of-education-discriminates-linux-users/" rel="bookmark" class="crp_title">How the Danish Ministry of Education discriminates Linux users.</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2010/05/12/batch-editing-html-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First website and navigation with PHP</title>
		<link>http://geronimo89.dk/2008/08/27/first-website-and-navigation-with-php/</link>
		<comments>http://geronimo89.dk/2008/08/27/first-website-and-navigation-with-php/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 10:52:35 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/blog/?p=184</guid>
		<description><![CDATA[This little tutorial will teach you how to build a website with multiple pages with PHP. When I started trying to make websites, I used frames/iframes which are BAD and not valid html code. So we now we want to use the PHP function include(), which gives us the ability to display other documents inside [...]]]></description>
			<content:encoded><![CDATA[<p>This little tutorial will teach you how to build a website with multiple pages with PHP. When I started trying to make websites, I used frames/iframes which are BAD and not valid html code. So we now we want to use the PHP function <em>include()</em>, which gives us the ability to display other documents inside another.</p>
<p>So let&#8217;s start out with a standard xhtml document called index.php:</p>
<blockquote><p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221; lang=&#8221;en&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Navigation with PHP&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p></blockquote>
<p>Before the doctype we now insert a list of our files. Let&#8217;s say we have files called &#8220;news.php&#8221; &#8220;home.php&#8221; and &#8220;about.php&#8221;.</p>
<blockquote><p>&lt;?php<br />
$section = array();<br />
$section['home'] = &#8220;home.php&#8221;;<br />
$section['news'] = &#8220;news.php&#8221;;<br />
$section['about'] = &#8220;about.php&#8221;;?&gt;</p></blockquote>
<p>Now this &#8220;list&#8221; actually puts all these as entries into an array in PHP. We&#8217;ll need that later. Now we head down to the <em>&lt;body&gt;</em> tag and insert some php code here. What we&#8217;ve done until now is only creating a list with the files we may want to show inside our website. So if we want to display our content, we should add the next part where you want the content to appear.</p>
<blockquote><p>&lt;div id=&#8221;content&#8221;&gt;&lt;?php<br />
if (isset($_GET['section'], $section[$_GET['section']])) {<br />
include $section[$_GET['section']];<br />
} else {<br />
include $section['home'];<br />
}?&gt;<br />
&lt;/div&gt;</p></blockquote>
<p>Now our website has the ability to include the listed files and make them appear as a part of the site. I&#8217;ve already created a &lt;div&gt; around it, you don&#8217;t have to do that. The last thing to do is to add the navigation with the links that tells the PHP script which file to load. If there are no or no valid options given, it does include $section['home'];. This first of all makes the script include home.php when only index.php is opened and makes the site safer, because no not listed files can be included like /etc/passwd. <img src='http://geronimo89.dk/blog/wp-includes/images/smilies/icon_wink.gif' alt="icon wink First website and navigation with PHP" class='wp-smiley' title="First website and navigation with PHP" /> </p>
<blockquote><p>&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;index.php?section=home&#8221;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;index.php?section=news&#8221;&gt;News&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;index.php?section=about&#8221;&gt;About&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</p></blockquote>
<p>I&#8217;ve already put the links in a list, you don&#8217;t have to do that, but it looks nicer. The part between the &lt;a&gt; and &lt;/a&gt; is the essential one. Through opening <em>index.php?section=news</em> you tell the index.php to include the file saved with the array entry news.</p>
<p>That&#8217;s basically it. You&#8217;ve learned how to avoid frames and create a website with multiple pages!</p>
<ul>
<li><a href="http://geronimo89.dk/tutorials/php-navi/">Check out example</a> (Only added some css here)<a href="http://geronimo89.dk/tutorials/php-navi/"><br />
</a></li>
</ul>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2008/08/27/css-box-with-graphic-borders/" rel="bookmark" class="crp_title">CSS box, with graphic borders</a></li><li><a href="http://geronimo89.dk/2010/05/12/batch-editing-html-files/" rel="bookmark" class="crp_title">Batch editing html or text files</a></li><li><a href="http://geronimo89.dk/2010/09/29/1482/" rel="bookmark" class="crp_title">HTML class 1: The Beginning</a></li><li><a href="http://geronimo89.dk/2011/04/27/use-enigmail-with-cryptophane/" rel="bookmark" class="crp_title">Use Enigmail with Cryptophane</a></li><li><a href="http://geronimo89.dk/2010/11/09/status-and-sneak-peaks-for-november-2010/" rel="bookmark" class="crp_title">Status and sneak peeks for november 2010</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2008/08/27/first-website-and-navigation-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS box, with graphic borders</title>
		<link>http://geronimo89.dk/2008/08/27/css-box-with-graphic-borders/</link>
		<comments>http://geronimo89.dk/2008/08/27/css-box-with-graphic-borders/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 10:51:12 +0000</pubDate>
		<dc:creator>Jonathan Hethey</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://geronimo89.dk/blog/?p=179</guid>
		<description><![CDATA[First of all, we need a graphic as a basis how our css box is going to look. I&#8217;ve just chosen a box with a dropshadow. Now we use the help lines in GIMP or Photoshop to divide it into 3 pieces and save these parts into new files. 1: top.png, 2: middle.png, 3: bottom.png. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://geronimo89.dk/blog/wp-content/box-marked.png"><img class="alignnone size-medium wp-image-180" title="box-marked" src="http://geronimo89.dk/blog/wp-content/box-marked-295x300.png" alt="box marked 295x300 CSS box, with graphic borders" width="295" height="300" /></a></p>
<p>First of all, we need a graphic as a basis how our css box is going to look. I&#8217;ve just chosen a box with a dropshadow. Now we use the help lines in GIMP or Photoshop to divide it into 3 pieces and save these parts into new files. 1: top.png, 2: middle.png, 3: bottom.png. Now we got our 3 different graphics, we can start the CSS work. First of all we need a basic html file.</p>
<blockquote><p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221; lang=&#8221;en&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Our nice CSS box&lt;/title&gt;&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p></blockquote>
<p>To this we start adding a div container for the box, right below the body tag. In the box, I added a heading &lt;h1&gt; and a placeholder div for the bottom graphic.</p>
<blockquote><p>&lt;div class=&#8221;box&#8221;&gt;&lt;h1&gt;heading&lt;/h1&gt;<br />
&lt;p&gt;Yourcontent<br />
&lt;/p&gt;<br />
&lt;div class=&#8221;bottom&#8221;&gt;&lt;/div&gt;<br />
&lt;/div&gt;</p></blockquote>
<p>Now we can start defining the css attributes of the different html objects. You can link an external css file, or just paste the css into the html file. For this simple project I will just insert the css directly into the head of the html file. Generally you should use external css files to keep everything tidy and clear.</p>
<p>So, here&#8217;s the code I use in the head tag:</p>
<blockquote><p>&lt;style type=&#8221;text/css&#8221;&gt;<br />
h1 {<br />
background-image: url(top.png);<br />
background-repeat: no-repeat;<br />
height: 44px;<br />
width: 266px;<br />
font-family: Verdana;<br />
font-size: 12px;<br />
margin:0px;<br />
padding: 0px;<br />
}</p>
<p>.box p {<br />
background-image: url(middle.png);<br />
background-repeat: repeat-y;<br />
min-height: 400px;<br />
margin: 0px;<br />
padding: 16px;<br />
font-family: Verdana;<br />
font-size: 10px;<br />
max-width: 250px;<br />
}</p>
<p>.box {<br />
margin: 0px;<br />
padding-top: 44px;<br />
}</p>
<p>.bottom {<br />
height: 39px;<br />
width: 266px;<br />
background-image: url(bottom.png);<br />
background-repeat: no-repeat;<br />
background-position: bottom;<br />
}<br />
&lt;/style&gt;</p></blockquote>
<p>If I skip some of the css code explanation here, just try it out yourself or look it up in a <a href="http://www.w3schools.com/css/">css reference</a>. Noteable css code: We use <em>padding:0;</em> and <em>margin:0;</em> to force the elements to be without spacings inside and outside them. Another thing is, that we control the background image very explicit. We define exactly if and how it&#8217;s going to be repeated. In <em>box p {}</em> we add <em>padding: 16px;</em> because we need some spacing because of the graphic. As we can see below, we can&#8217;t use the full area of the graphic, because we don&#8217;t want text on the drop-shadow.</p>
<p><a href="http://geronimo89.dk/blog/wp-content/middle_marked.png"><img class="alignnone size-medium wp-image-183" title="middle_marked" src="http://geronimo89.dk/blog/wp-content/middle_marked.png" alt="middle marked CSS box, with graphic borders" width="266" height="203" /></a><br />
A thing you can do for optimization is, that you scale your middle.png to 1px height. It will probably look the same, but increase the loading speed of your website a little bit. By the way, Internet Explorer 6 doesn&#8217;t support transparent pngs so you should maybe add a Firefox/Opera/whateverbrowser link to your website.</p>
<ul>
<li><a href="http://geronimo89.dk/tutorials/tutcssbox/">check out example now</a></li>
</ul>
<div id="crp_related"><h4>Related Posts:</h3><ul><li><a href="http://geronimo89.dk/2008/08/27/first-website-and-navigation-with-php/" rel="bookmark" class="crp_title">First website and navigation with PHP</a></li><li><a href="http://geronimo89.dk/2010/12/09/html-info-graphic-padding-and-margin/" rel="bookmark" class="crp_title">html info graphic: padding and margin</a></li><li><a href="http://geronimo89.dk/2010/10/02/css3-close-up-transition/" rel="bookmark" class="crp_title">CSS3 Close Up: transition</a></li><li><a href="http://geronimo89.dk/2010/09/29/1482/" rel="bookmark" class="crp_title">HTML class 1: The Beginning</a></li><li><a href="http://geronimo89.dk/2010/08/29/little-web-clock/" rel="bookmark" class="crp_title">little web clock</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://geronimo89.dk/2008/08/27/css-box-with-graphic-borders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

