<?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>Guido Handrick Developers Blog</title>
	<atom:link href="http://blog.guido-handrick.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.guido-handrick.info</link>
	<description>Frontend- and Backend-Development</description>
	<lastBuildDate>Mon, 25 Feb 2013 16:12:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Geo location and reverse geocoding</title>
		<link>http://blog.guido-handrick.info/2013/02/geo-location-and-reverse-geocoding/</link>
		<comments>http://blog.guido-handrick.info/2013/02/geo-location-and-reverse-geocoding/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 16:11:33 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[geo location]]></category>
		<category><![CDATA[reverse geocoding]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=328</guid>
		<description><![CDATA[It&#8217;s very easy to get the address data from a website visitor. At first you need the geo location javascript to get the users lat and lng data. After that you can get the address by reverse geocoding using the &#8230; <a href="http://blog.guido-handrick.info/2013/02/geo-location-and-reverse-geocoding/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s very easy to get the address data from a website visitor. At first you need the <a title="http://code.google.com/p/geo-location-javascript/" href="http://code.google.com/p/geo-location-javascript/" target="_blank">geo location javascript</a> to get the users lat and lng data. After that you can get the address by reverse geocoding using the <a title="https://google-developers.appspot.com/maps/documentation/javascript/" href="https://google-developers.appspot.com/maps/documentation/javascript/" target="_blank">google maps api</a>.</p>
<h2>1. Including JS</h2>
<pre>    &lt;script src="https://maps.googleapis.com/maps/api/js?v=3.exp&amp;amp;sensor=false"&gt;&lt;/script&gt;
    &lt;script src="js/geo-min.js"&gt;&lt;/script&gt;</pre>
<h2>2. Geo location</h2>
<pre>if(geo_position_js.init()){
    geo_position_js.getCurrentPosition(success_callback,error_callback);
}
else{
    do something else;
}
function success_callback(p) {
    see 3.
}
function error_callback() {
    alert('error');
};</pre>
<h2>3. Reverse geocoding</h2>
<pre>function success_callback(p) {
    var lat = p.coords.latitude;
    var lng = p.coords.longitude;

    // reverse geocoding - get address by lat lng
    geocoder = new google.maps.Geocoder();
    var latlng = new google.maps.LatLng(lat, lng);
        geocoder.geocode({'latLng': latlng}, function(results, status) {
        if (status == google.maps.GeocoderStatus.OK) {
            if (results[0]) {
                document.getElementById('address').innerHTML = '&lt;span&gt;Your address: ' + results[0].formatted_address + '&lt;/span&gt;';
            } else {
                document.getElementById('address').innerHTML = '&lt;span&gt;No address found.&lt;/span&gt;';
            }
        } else {
            document.getElementById('address').innerHTML = '&lt;span&gt;Geocoder failed due to: ' + status + '&lt;/span&gt;';
        }
    });
}</pre>
<p>Here you&#8217;ll find a working example: <a href="http://blog.guido-handrick.info/wp-content/uploads/2013/02/geo-location.html" target="_blank">geo-location.html</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2013/02/geo-location-and-reverse-geocoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Foundation Modular Scale in em</title>
		<link>http://blog.guido-handrick.info/2013/02/using-foundation-modular-scale-in-em/</link>
		<comments>http://blog.guido-handrick.info/2013/02/using-foundation-modular-scale-in-em/#comments</comments>
		<pubDate>Tue, 19 Feb 2013 18:57:21 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[Responsive]]></category>
		<category><![CDATA[SASS]]></category>
		<category><![CDATA[compass]]></category>
		<category><![CDATA[foundation]]></category>
		<category><![CDATA[responsive]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=314</guid>
		<description><![CDATA[For a new project i use the amazing Foundation framework to build an large responsive website. And i love it! The framework includes the modular scale approach by Tim Brown. You&#8217;ll find more informations here: http://foundation.zurb.com/docs/typography.php A drawback for responsive &#8230; <a href="http://blog.guido-handrick.info/2013/02/using-foundation-modular-scale-in-em/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>For a new project i use the amazing <a title="http://foundation.zurb.com/" href="http://foundation.zurb.com/" target="_blank">Foundation</a> framework to build an large responsive website. And i love it! The framework includes the modular scale approach by Tim Brown. You&#8217;ll find more informations here: <a href="http://foundation.zurb.com/docs/typography.php" target="_blank">http://foundation.zurb.com/docs/typography.php</a></p>
<p>A drawback for responsive websites is, that Foundation using px to define all font sizes. But we want different font-sizes for different devices and screens. So we have to teach Foundation to speak in em. And that&#8217;s the way:</p>
<h2>1. Define the modular scale parameters</h2>
<p>Set the variables in your _settings.scss file</p>
<pre>$ratio: 1.5;
$baseFontSize: 14px;
$importantModNum: 40px;
$base-size: $baseFontSize $importantModNum;</pre>
<p>and add these variables for the <a title="https://github.com/scottkellum/modular-scale by scottkellum" href="https://github.com/scottkellum/modular-scale by scottkellum" target="_blank">modular scale function</a> by Scott Kellum.</p>
<pre>$round-pixels: false;</pre>
<p>The last variable is missing in the Foundation settings file. But it doesn&#8217;t work correctly without. By default all numbers are floored and that means sometimes you get identical values back.</p>
<h2>2. px2em function</h2>
<p>The modular scale function returns only px values. You need a simple SASS function to convert px to em:</p>
<pre>@function px2em ($font_size, $base_font_size: $baseFontSize) {
  @return ($font_size / $base_font_size) + em;
}</pre>
<p>I used my <a title="http://blog.guido-handrick.info/2011/10/sass-function-px2em/" href="http://blog.guido-handrick.info/2011/10/sass-function-px2em/">px2em function</a> and just change the base-font-size variable. In your .scss files use now px2em(ms(0)) for example to get 1em and px2em(ms(2)) to get 1.5em. Here is a list of all values depending on my parameters: <a href="http://modularscale.com/scale/?px1=14&amp;px2=50&amp;ra1=1.5&amp;ra2=0" target="_blank">http://modularscale.com/scale/?px1=14&amp;px2=50&amp;ra1=1.5&amp;ra2=0</a></p>
<h2>3. Reset all font sizes to em</h2>
<p>Last of all you must change the Foundation font settings to em. By default it&#8217;s your $baseFontSize. Just add this line in your app.scss:</p>
<pre>body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td, section, article, footer, header, nav {
   font-size: 1em;
}</pre>
<p>and set</p>
<pre>html {
   font-size: $baseFontSize;    
}</pre>
<p>After that you can write your media queries for example like that to increase the font size on very large screens:</p>
<pre>@media only screen and (min-width: 1441px) { /* aka very large */
    html {
        font-size: 18px;
    }
}</pre>
<p>Here you can check some different modular scale values: <a href="http://modularscale.com/" target="_blank">http://modularscale.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2013/02/using-foundation-modular-scale-in-em/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New project online: kuechenstud.io</title>
		<link>http://blog.guido-handrick.info/2013/01/new-project-online-kuechenstud-io/</link>
		<comments>http://blog.guido-handrick.info/2013/01/new-project-online-kuechenstud-io/#comments</comments>
		<pubDate>Tue, 22 Jan 2013 13:03:40 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=286</guid>
		<description><![CDATA[After a long time of planing and working yesterday the new &#8220;Küchenstudio&#8221; website was launched. Now the 4 podcasts, produced by Philip Banse, have a new home. &#8220;Küchenradio&#8221;, &#8220;Medienradio&#8221;, &#8220;Studienwahl-TV&#8221; and &#8220;Datenschau&#8221; are now under one platform with the same &#8230; <a href="http://blog.guido-handrick.info/2013/01/new-project-online-kuechenstud-io/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>After a long time of planing and working yesterday the new &#8220;Küchenstudio&#8221; website was launched. Now the 4 podcasts, produced by <a title="http://philipbanse.de" href="http://philipbanse.de" target="_blank">Philip Banse</a>, have a new home. &#8220;Küchenradio&#8221;, &#8220;Medienradio&#8221;, &#8220;Studienwahl-TV&#8221; and &#8220;Datenschau&#8221; are now under one platform with the same straight and clear design.</p>
<p>The whole website was done in association with <a title="http://kosmar.de" href="http://kosmar.de" target="_blank">kosmar</a> and we used the &#8220;<a title="https://github.com/eteubert/podlove" href="https://github.com/eteubert/podlove" target="_blank">Podlove Podcast Publisher</a>&#8221; by eteubert.</p>
<p>My work was to create a WordPress Theme with Podlove Podcast Publisher integration. Setup a Multisite WordpPress installation and migrate all the content from the old websites including comments, ratings etc. One important part was to make sure, that after the launch all old links to media-files, episodes and feeds working well. So at least I configured the rewrite on the old servers.</p>
<p>It&#8217;s still something to do but have a look: <a title="http://www.kuechenstud.io/" href="http://www.kuechenstud.io/" target="_blank">kuechenstud.io</a></p>
<p style="text-align: center;"><a href="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Küchenstudio.jpg" rel="gallery"><img class="size-medium wp-image-289 aligncenter" alt="Küchenstudio" src="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Küchenstudio-300x259.jpg" width="300" height="259" /></a></p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Küchenradio.jpg" rel="gallery"><img class="size-medium wp-image-288 aligncenter" alt="Küchenradio" src="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Küchenradio-300x259.jpg" width="300" height="259" /></a><a href="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Medienradio.jpg" rel="gallery"><img class="size-medium wp-image-290 aligncenter" alt="Medienradio" src="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Medienradio-300x259.jpg" width="300" height="259" /></a><a href="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Studienwahl.tv_.jpg" rel="gallery"><img class="size-medium wp-image-291 aligncenter" alt="Studienwahl.tv" src="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Studienwahl.tv_-300x259.jpg" width="300" height="259" /></a><a href="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Datenschau.jpg" rel="gallery"><img class="size-medium wp-image-287 aligncenter" alt="Datenschau" src="http://blog.guido-handrick.info/wp-content/uploads/2013/01/Datenschau-300x260.jpg" width="300" height="260" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2013/01/new-project-online-kuechenstud-io/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Placeholder services for everyone!</title>
		<link>http://blog.guido-handrick.info/2013/01/placeholder-services-for-everyone/</link>
		<comments>http://blog.guido-handrick.info/2013/01/placeholder-services-for-everyone/#comments</comments>
		<pubDate>Thu, 10 Jan 2013 21:53:38 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[Life & Work]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=267</guid>
		<description><![CDATA[Here comes my list of the best online placeholder services. Thanks to @kosmar and @paulchrablass! 1. Highly customizable: cambelt http://cambelt.co/ &#60;img src="ttp://cambelt.co/200x150/Cambelt?color=234653,eeeeee&#38;font_size=24"&#62; Options: format, text, color, size, font-size, text-color, font-family, https, icons 2. Fit and proper by categories: lorempixel http://lorempixel.com/ &#60;img &#8230; <a href="http://blog.guido-handrick.info/2013/01/placeholder-services-for-everyone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Here comes my list of the best online placeholder services. Thanks to <a href="https://twitter.com/kosmar">@kosmar</a> and <a href="https://twitter.com/paulchrablass">@paulchrablass</a>!</p>
<h2>1. Highly customizable: cambelt</h2>
<p><a title="http://cambelt.co/" href="http://cambelt.co/">http://cambelt.co/</a></p>
<p><img class="alignnone" alt="cambelt" src="http://cambelt.co/200x150/Cambelt?color=234653,eeeeee&amp;font_size=24" width="200" height="150" /></p>
<pre>&lt;img src="ttp://cambelt.co/200x150/Cambelt?color=234653,eeeeee&amp;font_size=24"&gt;</pre>
<p><strong>Options:</strong> format, text, color, size, font-size, text-color, font-family, https, icons</p>
<h2>2. Fit and proper by categories: lorempixel</h2>
<p><a title="http://lorempixel.com/" href="http://lorempixel.com/">http://lorempixel.com/</a></p>
<p><img class="alignnone" alt="lorempixel" src="http://lorempixel.com/200/150/city/2/lorempixel" width="200" height="150" /></p>
<pre>&lt;img src="http://lorempixel.com/200/150/city/2/lorempixel" width="200" height="150"&gt;</pre>
<p><strong>Options:</strong> color/greystyle, size, category, image number, text</p>
<h2>3. Fit and proper by tags: flickholdr</h2>
<p><a title="http://www.flickholdr.com/" href="http://www.flickholdr.com/">http://www.flickholdr.com/</a></p>
<p><img class="alignnone" alt="flickholdr" src="http://www.flickholdr.com/200/150/berlin/4" width="200" height="150" /></p>
<pre> &lt;img src="http:://www.flickholdr.com/200/150/berlin/4"&gt;</pre>
<p><strong>Options:</strong> size, tag, image number</p>
<h2>4. The quick and simple way: placehold.it</h2>
<p><a title="http://placehold.it/" href="http://placehold.it/">http://placehold.it/</a></p>
<p><img class="alignnone" alt="placehold.it" src="http://placehold.it/200x150.png/cccccc/333333&amp;text=placehold.it" width="200" height="150" /></p>
<pre>&lt;img src="http://placehold.it/200x150.png/cccccc/333333&amp;text=placehold.it"&gt;</pre>
<p><strong>Options:</strong> format, text, color, size</p>
<h2>5. For dog lovers at random: placedog</h2>
<p><a title="http://placedog.com/" href="http://placedog.com/">http://placedog.com/</a></p>
<p><img class="alignnone" alt="placedog.com" src="http://placedog.com/200/150" width="200" height="150" /></p>
<pre>&lt;img src="http://placedog.com/200/150" &gt;</pre>
<p><strong>Options:</strong> color/greystyle, size</p>
<h2>6. For cat lovers: placekitten</h2>
<p><a title="http://placekitten.com/" href="http://placekitten.com/">http://placekitten.com/</a></p>
<p><img class="alignnone" alt="placekitten.com" src="http://placekitten.com/200/150" width="200" height="150" /></p>
<pre>&lt;img src="http://placekitten.com/200/150" &gt;</pre>
<p><strong>Options:</strong> color/greystyle, size</p>
<h2>7. For cute puppy lovers: placepupy</h2>
<p><a title="http://placepuppy.it/" href="http://placepuppy.it/">http://placepuppy.it/</a></p>
<p><img class="alignnone" alt="placepuppy.it" src="http://placepuppy.it/200/150&amp;n=2" width="200" height="150" /></p>
<pre>&lt;img src="http://placepuppy.it/200/150&amp;n=2" &gt;</pre>
<p><strong>Options:</strong> size, image number, text, text-bg-color, text-color</p>
<p>To be continued!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2013/01/placeholder-services-for-everyone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Responsive youtube or vimeo content</title>
		<link>http://blog.guido-handrick.info/2013/01/responsive-youtube-or-vimeo-content/</link>
		<comments>http://blog.guido-handrick.info/2013/01/responsive-youtube-or-vimeo-content/#comments</comments>
		<pubDate>Thu, 10 Jan 2013 18:21:52 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[Responsive]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=261</guid>
		<description><![CDATA[Today it&#8217;s very easy to embed some youtube or vimeo content into your website. Just copy and paste the embed code in your HTML files or CMS editor. This works well for static pages, because you can define your custom &#8230; <a href="http://blog.guido-handrick.info/2013/01/responsive-youtube-or-vimeo-content/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Today it&#8217;s very easy to embed some youtube or vimeo content into your website. Just copy and paste the embed code in your HTML files or CMS editor. This works well for static pages, because you can define your custom video dimensions.</p>
<p>But this is not suffient for responsive websites and, if you just define the iframe max-width: 100% by CSS, you still have a problem with the height. The solution is a wrapper around the iframe:</p>
<pre>&lt;div class="video-container"&gt;
  &lt;iframe width="560" height="315" src="http://www.youtube.com/embed/sftuxbvGwiU" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/div&gt;</pre>
<p>and just a simple basic CSS:</p>
<pre>.video-container {
  position: relative;
  padding-bottom: 56,25%;
  height: 0;
  width: 100%;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}</pre>
<p>The video-container has a fluid width and height. The height defines the ratio 16:9. If you need 4:3 just set the padding-bottom: 75%.</p>
<p>If you can&#8217;t wrap the iframe content in your editor, or if you have a lot of old content, it&#8217;s possible to add the wrapper with jQuery:</p>
<pre>$jQuery('iframe[src*="youtube"], iframe[src*="vimeo"]').wrap('&lt;div class="video-container"&gt;');</pre>
<p>This works for youtube and vimeo content.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2013/01/responsive-youtube-or-vimeo-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Project: geschichte-vor-ort.org</title>
		<link>http://blog.guido-handrick.info/2012/10/geschichte-vor-ort/</link>
		<comments>http://blog.guido-handrick.info/2012/10/geschichte-vor-ort/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 17:37:05 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[OSM]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=257</guid>
		<description><![CDATA[A new project ist online! My OSM-Categories WordPress Plugin was used. http://www.geschichte-vor-ort.org]]></description>
				<content:encoded><![CDATA[<p>A new project ist online! My OSM-Categories WordPress Plugin was used.</p>
<p><a href="http://www.geschichte-vor-ort.org" target="_blank">http://www.geschichte-vor-ort.org</a></p>
<p style="text-align: center;"><a href="http://blog.guido-handrick.info/wp-content/uploads/2012/10/Geschichte-vor-Ort-_-Lokale-Geschichtsarbeit-und-europäischer-Austausch.jpg"><img class="size-medium wp-image-258 aligncenter" title="Geschichte vor Ort _ Lokale Geschichtsarbeit und europäischer Austausch" alt="" src="http://blog.guido-handrick.info/wp-content/uploads/2012/10/Geschichte-vor-Ort-_-Lokale-Geschichtsarbeit-und-europäischer-Austausch-300x205.jpg" width="300" height="205" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2012/10/geschichte-vor-ort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Frame Killer</title>
		<link>http://blog.guido-handrick.info/2012/10/frame-killer/</link>
		<comments>http://blog.guido-handrick.info/2012/10/frame-killer/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 17:27:24 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Copyright]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=254</guid>
		<description><![CDATA[A few days ago i found my vegikochbuch.de website under the URL vegikochbuch.eu with some ad-banners and pop-ups and other stuff. After checking the source code i spotted the &#60;iframe&#62; tag thats includes my website. I found the registrant and &#8230; <a href="http://blog.guido-handrick.info/2012/10/frame-killer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A few days ago i found my vegikochbuch.de website under the URL vegikochbuch.eu with some ad-banners and pop-ups and other stuff. After checking the source code i spotted the &lt;iframe&gt; tag thats includes my website.</p>
<p>I found the registrant and the registrar organisation and wrote 2 emails. The registrant dosn&#8217;t replied and the organisation can&#8217;t help because they are only the domain registrar and the server is somewhere else. What you gonna do about it? I found the answer here: <a href="http://http://en.wikipedia.org/wiki/Framekiller " target="_blank">http://en.wikipedia.org/wiki/Framekiller  </a>and these lines of code working perfect for me:</p>
<pre>:css
  html { display : none ; }
:javascript
  if( self == top ) {
    document.documentElement.style.display = 'block' ;
  } else {
    top.location = self.location ;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2012/10/frame-killer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Streetmap Categories WordPress Plugin</title>
		<link>http://blog.guido-handrick.info/2012/08/open-streetmap-categories-wordpress-plugin/</link>
		<comments>http://blog.guido-handrick.info/2012/08/open-streetmap-categories-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 15 Aug 2012 17:32:27 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=237</guid>
		<description><![CDATA[&#160; Today i wrote my first WP plugin. Here you can see it in action. The plugin embed an OpenStreetMap map to a page by using the OpenLayer API with a simple shortcode. For every category in your blog a &#8230; <a href="http://blog.guido-handrick.info/2012/08/open-streetmap-categories-wordpress-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
	  <style>
    #mapdiv img { max-width: none; }
  </style>
  <div id="mapdiv" style="height: 300px; width: 100%;"></div>
    <script src="http://www.openlayers.org/api/OpenLayers.js"></script>
  <script>
    var map;
    var layer, markers, size, offset, icon;
    var currentPopup;
    var zoom;
    var center
    
    // marker popup style
    AutoSizeAnchored = OpenLayers.Class(OpenLayers.Popup.Anchored, {
      'autoSize': true
    });
    
    // inital function for the osm map
    function init(){
      map = new OpenLayers.Map('mapdiv');
      map.addLayer(new OpenLayers.Layer.OSM());       
                 
      markers_13 = new OpenLayers.Layer.Markers('Life &amp; Work');map.addLayer(markers_13);markers_32 = new OpenLayers.Layer.Markers('Responsive');map.addLayer(markers_32);
      map.addControl(new OpenLayers.Control.LayerSwitcher());
      
      // set zoom
      zoom = 12;
      // center map
      center = new OpenLayers.LonLat( 13.4589803,52.5122235 )
              .transform(
                new OpenLayers.Projection("EPSG:4326"), // transform from WGS 1984
                map.getProjectionObject() // to Spherical Mercator Projection
            );
      map.setCenter (center, zoom);

      addMarkers();
    }
    
    function addMarkers() {
      var ll, layer, popupContentHTML;
      
      ll = new OpenLayers.LonLat( 13.442,52.51769 ).transform(new OpenLayers.Projection('EPSG:4326'), map.getProjectionObject());popupContentHTML = '<a href=\'http://blog.guido-handrick.info/2012/01/computerspielemuseum/\'><h3>Computerspielemuseum</h3></a>';layer = markers_13;addMarker(ll, popupContentHTML, layer, false);    }
    
    function addMarker(ll, popupContentHTML, layer, icon) {
      
      // create marker and popup
      var feature = new OpenLayers.Feature(layer, ll); 
      feature.closeBox = true;
      feature.popupClass = AutoSizeAnchored;
      feature.data.popupContentHTML = popupContentHTML;
      feature.data.overflow = "auto";
      if (icon) feature.data.icon = icon;
      
      var marker = feature.createMarker();
      
      var markerClick = function (evt) {
          if (this.popup == null) {
              this.popup = this.createPopup(this.closeBox);
              map.addPopup(this.popup);
              this.popup.show();
          } else {
              this.popup.toggle();
          }
          currentPopup = this.popup;
          OpenLayers.Event.stop(evt);
      };
      
      marker.events.register("mousedown", feature, markerClick); 

      layer.addMarker(marker);
      
    }
    
    // init call
    init();
  </script>
  			<content:encoded><![CDATA[
<p>&nbsp;</p>
<p>Today i wrote my first WP plugin. Here you can see it in action.</p>
<p>The plugin embed an OpenStreetMap map to a page by using the OpenLayer API with a simple shortcode. For every category in your blog a different layer on your map show markers for every article with an geotag. You just have to save the lon and lan parameters in a custom field. It&#8217;s possible to use different marker images for every category.</p>
<p>In the plugin settings page you can make some basic settings like:</p>
<ul>
<li>map dimensions</li>
<li>map center point</li>
<li>initial zoom faktor</li>
<li>exclude categories</li>
<li>article custom field for marker lon and lat parameters</li>
<li>marker popup content</li>
<li>marker images path</li>
</ul>
<p><a href="http://blog.guido-handrick.info/wp-content/uploads/2012/08/screenshot-2.png"><img class="size-medium wp-image-240 alignnone" title="screenshot-2" src="http://blog.guido-handrick.info/wp-content/uploads/2012/08/screenshot-2-300x226.png" alt="" width="300" height="226" /></a></p>
<p>You can download the plugin here: <a href="http://kito.github.com/OSM-Categories/" target="_blank">http://kito.github.com/OSM-Categories/</a> and i added it also to WordPress Developer Center &#8211; just waiting for the request confirmation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2012/08/open-streetmap-categories-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Youtube shortcode for lightbox playing</title>
		<link>http://blog.guido-handrick.info/2012/08/wordpress-youtube-shortcode/</link>
		<comments>http://blog.guido-handrick.info/2012/08/wordpress-youtube-shortcode/#comments</comments>
		<pubDate>Fri, 10 Aug 2012 07:00:33 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Lightbox]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=214</guid>
		<description><![CDATA[This solution to embed a YouTube-Player in your WordPress-Theme was used to show just a preview image and on click play the video in a lightbox.  For the lightbox I used the Easy-Fancybox Plugin. Here is my theme function: function &#8230; <a href="http://blog.guido-handrick.info/2012/08/wordpress-youtube-shortcode/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This solution to embed a YouTube-Player in your WordPress-Theme was used to show just a preview image and on click play the video in a lightbox.  For the lightbox I used the <a href="http://wordpress.org/extend/plugins/easy-fancybox/" target="_blank">Easy-Fancybox Plugin</a>.</p>
<p>Here is my theme function:</p>
<pre>function youtube_shortcode_handler( $atts, $content = null ) {
   extract( shortcode_atts( array(
      'size' =&gt; 'big',  // the image size, just for css styling
      'id' =&gt; 'tOhU7wqWV3E', // the youtube ID
      // ...etc
      ), $atts ) );  

  // check for highest resolution preview image from youtube, the @ disables warnings
  if(@file_get_contents('http://img.youtube.com/vi/'. $id .'/maxresdefault.jpg')) {
    $youtube_img = 'http://img.youtube.com/vi/'. $id .'/maxresdefault.jpg';
  }
  // if highest resolution dosn't exists check for the next
  else if(@file_get_contents('http://img.youtube.com/vi/'. $id .'/hqdefault.jpg')) {
    $youtube_img = 'http://img.youtube.com/vi/'. $id .'/hqdefault.jpg';
  }
  // no high resolution preview images - take the default
  else {
    $youtube_img = 'http://img.youtube.com/vi/'. $id .'/0.jpg';
  } 
  // check for content as title
  if($content) $title = '&lt;div&gt;&lt;h2&gt;&lt;span&gt;'. $content .'&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;'; else $title= '';
  // return html markup    
  return '&lt;div class="youtube '.$size.'"&gt;&lt;a href="http://www.youtube.com/embed/'. $id .'?autoplay=1&amp;wmode=transparent"&gt;'. $title .'&lt;div&gt;&lt;img src="'. $youtube_img .'" alt="'. $content .'"&gt;&lt;/div&gt;&lt;/a&gt;&lt;/div&gt;';    
}

add_shortcode( 'youtube', 'youtube_shortcode_handler' );</pre>
<p>Now you can use this shortcode in your editor:</p>
<p style="text-align: center;"><img class="size-full wp-image-219 aligncenter" title="Edit Post ‹ Guido Handrick Developers Blog — WordPress_1344532325696" alt="" src="http://blog.guido-handrick.info/wp-content/uploads/2012/08/Edit-Post-‹-Guido-Handrick-Developers-Blog-—-WordPress_1344532325696.jpeg" width="555" height="55" /></p>
<p>This will generate the following markup and you can easy style it with CSS. I know the markup can be much more simple, but this was for a special case.</p>
<pre>&lt;div class="youtube medium"&gt;
  &lt;a href="<a href="view-source:http://www.youtube.com/embed/2gq8cwj-Exc?autoplay=1&amp;wmode=transparent">http://www.youtube.com/embed/2gq8cwj-Exc?autoplay=1&amp;wmode=transparent</a>"&gt;
    &lt;div&gt;&lt;h2&gt;&lt;span&gt;DER HOBBIT Trailer German Deutsch | FullHD 2012&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;
    &lt;div&gt;&lt;img src="<a href="view-source:http://img.youtube.com/vi/2gq8cwj-Exc/maxresdefault.jpg">http://img.youtube.com/vi/2gq8cwj-Exc/maxresdefault.jpg</a>" alt="<a>DER HOBBIT Trailer German Deutsch | FullHD 2012</a>"&gt;&lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;</pre>
<div class="youtube medium"><a href="http://www.youtube.com/embed/tOhU7wqWV3E?autoplay=1&wmode=transparent"><div><h2><span>DER HOBBIT: EINE UNERWARTETE REISE &#8211; offizieller Trailer #2 deutsch HD</span></h2></div><div><img src="http://img.youtube.com/vi/tOhU7wqWV3E/maxresdefault.jpg" alt="DER HOBBIT: EINE UNERWARTETE REISE &#8211; offizieller Trailer #2 deutsch HD"></div></a></div>
<p>This is the result of the shortcode below without any additional styling. Here you can find a real example with some styling and a play button: <a href="http://www.optegra-deutschland.de/ueber-uns/movies/" target="_blank">http://www.optegra-deutschland.de/ueber-uns/movies/</a></p>
<p>Don&#8217;t forget to enable Easy-Fancybox for YouTube on the plugin settings page.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2012/08/wordpress-youtube-shortcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress responsive images</title>
		<link>http://blog.guido-handrick.info/2012/08/wordpress-responsive-images/</link>
		<comments>http://blog.guido-handrick.info/2012/08/wordpress-responsive-images/#comments</comments>
		<pubDate>Thu, 09 Aug 2012 16:22:23 +0000</pubDate>
		<dc:creator>Guido</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://blog.guido-handrick.info/?p=207</guid>
		<description><![CDATA[As I worked on my last projects I found a little problem for responsive WordPress-Themes. By default WordPress adds width and height parameters to every image tag. This is very disruptive for responsive themes, because you don&#8217;t want a fixed &#8230; <a href="http://blog.guido-handrick.info/2012/08/wordpress-responsive-images/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>As I worked on my last projects I found a little problem for responsive WordPress-Themes. By default WordPress adds width and height parameters to every image tag. This is very disruptive for responsive themes, because you don&#8217;t want a fixed image size. In your CSS file you set image max-width: 100%, so the images are scaling on different viewport sizes. The width parameter prevents this. It&#8217;s easy to remove these parameters by adding this function to your theme functions.php file:</p>
<pre>function remove_thumbnail_dimensions( $html ) {
  $html = preg_replace( '/(width|height)=\"\d*\"\s/', "", $html );
  return $html;
}

add_filter( 'post_thumbnail_html', 'remove_thumbnail_dimensions', 10 );
add_filter( 'image_send_to_editor', 'remove_thumbnail_dimensions', 10 );</pre>
<p>I found this trick here: <a href="http://css-tricks.com/snippets/wordpress/remove-width-and-height-attributes-from-inserted-images/" target="_blank">http://css-tricks.com/snippets/wordpress/remove-width-and-height-attributes-from-inserted-images/</a> and the original is here: <a href="http://wpdailybits.com/blog/remove-the-width-and-height-attributes-from-wp-image-uploader/539" target="_blank">http://wpdailybits.com/blog/remove-the-width-and-height-attributes-from-wp-image-uploader/539</a></p>
<p>Thanks a lot!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guido-handrick.info/2012/08/wordpress-responsive-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
