<?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>Der Blog von Benny Neugebauer &#187; HTML</title>
	<atom:link href="http://www.bennyn.de/programmierung/html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bennyn.de</link>
	<description>Alles über die Informatik &#38; Co.</description>
	<lastBuildDate>Fri, 18 May 2012 10:09:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Get user agent with Server Side Includes</title>
		<link>http://www.bennyn.de/programmierung/html/get-user-agent-with-server-side-includes.html</link>
		<comments>http://www.bennyn.de/programmierung/html/get-user-agent-with-server-side-includes.html#comments</comments>
		<pubDate>Wed, 25 Apr 2012 12:32:48 +0000</pubDate>
		<dc:creator>bennyn</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Server Side Includes]]></category>
		<category><![CDATA[SSI]]></category>
		<category><![CDATA[user agent]]></category>

		<guid isPermaLink="false">http://www.bennyn.de/?p=3495</guid>
		<description><![CDATA[This is how you can show the user agent with Server Side Includes: &#60;!DOCTYPE html&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta charset=&#34;utf-8&#34; /&#62; &#60;title&#62;SSI Page&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;!--#echo var=&#34;HTTP_USER_AGENT&#34; --&#62; &#60;/body&#62; &#60;/html&#62;]]></description>
			<content:encoded><![CDATA[<p>This is how you can show the user agent with Server Side Includes:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;!DOCTYPE html&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
  &lt;head&gt;
    &lt;meta charset=&quot;utf-8&quot; /&gt;
    &lt;title&gt;SSI Page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;!--#echo var=&quot;HTTP_USER_AGENT&quot; --&gt;
  &lt;/body&gt;   
&lt;/html&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bennyn.de/programmierung/html/get-user-agent-with-server-side-includes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom website image and description for Facebook Share</title>
		<link>http://www.bennyn.de/programmierung/html/custom-website-image-and-description-for-facebook-share.html</link>
		<comments>http://www.bennyn.de/programmierung/html/custom-website-image-and-description-for-facebook-share.html#comments</comments>
		<pubDate>Thu, 19 Apr 2012 17:09:26 +0000</pubDate>
		<dc:creator>bennyn</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[description]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.bennyn.de/?p=3458</guid>
		<description><![CDATA[If you share a link of a website on Facebook, then Facebook will display the title, description and an image of that website. If you are a webmaster, then you can define what will be shown on Facebook. Let&#8217;s have a look at my example: &#60;title&#62;Der Blog von Benny Neugebauer&#60;/title&#62; &#60;meta name=&#34;description&#34; content=&#34;Benny Neugebauer schreibt [...]]]></description>
			<content:encoded><![CDATA[<p>If you share a link of a website on Facebook, then Facebook will display the title, description and an image of that website. If you are a webmaster, then you can define what will be shown on Facebook. Let&#8217;s have a look at my example:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;title&gt;Der Blog von Benny Neugebauer&lt;/title&gt;
&lt;meta name=&quot;description&quot; content=&quot;Benny Neugebauer schreibt in seinem Blog über Tipps und Tricks in der Webentwicklung. Zu den Themen zählen JavaScript, Java, PHP, HTML5, SEO und Photoshop.&quot; /&gt;
&lt;meta name=&quot;medium&quot; content=&quot;blog&quot; /&gt;
&lt;link rel=&quot;image_src&quot; href=&quot;http://www.bennyn.de/images/logo.png&quot; / &gt;</pre></div></div>

<p><strong>Explanation:</strong></p>
<ol>
<li>Facebook will show the standard HTML title of your webpage.</li>
<li>You can set description, which will be shown. It can be 160 characters long but to be compatible with the Google search, it should not be longer than 130 characters.</li>
<li>It is recommended to determine the type of your website. Possible values are: audio, image, video, blog, news and mult (multiple).
<li>Finally you can set a thumbnail picture for your website. The size should be 100&#215;100 pixels.</li>
</ol>
<p><strong>Here is the final result of my customization:</strong></p>
<p><a href="http://www.bennyn.de/wp-content/uploads/facebook-vars.png"><img src="http://www.bennyn.de/wp-content/uploads/facebook-vars.png" alt="" title="facebook-vars" width="500" height="288" class="alignnone size-full wp-image-3461" /></a></p>
<p>More information can be found in the <a href="https://developers.facebook.com/docs/share/">Facebook Share documentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bennyn.de/programmierung/html/custom-website-image-and-description-for-facebook-share.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use Server Side Includes</title>
		<link>http://www.bennyn.de/programmierung/html/how-to-use-server-side-includes.html</link>
		<comments>http://www.bennyn.de/programmierung/html/how-to-use-server-side-includes.html#comments</comments>
		<pubDate>Wed, 11 Apr 2012 10:14:15 +0000</pubDate>
		<dc:creator>bennyn</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[mod_ssi]]></category>
		<category><![CDATA[Server Side Includes]]></category>
		<category><![CDATA[SSI]]></category>

		<guid isPermaLink="false">http://www.bennyn.de/?p=3411</guid>
		<description><![CDATA[Server Side Includes (SSI) is a server-side scripting language which runs on Apache (with mod_ssi), some Java Application Servers (see Server Side Include in GlassFish) and also on Microsoft Internet Information Services (IIS). Here are a few examples of how to use SSI: &#60;!DOCTYPE html&#62; &#60;html&#62; &#60;head&#62; &#60;meta charset=&#34;utf-8&#34; /&#62; &#60;title&#62;Server Side Includes&#60;/title&#62; &#60;style type=&#34;text/css&#34;&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Server Side Includes (SSI) is a server-side scripting language which runs on Apache (with mod_ssi), some Java Application Servers (see <a href="https://blogs.oracle.com/swchan/entry/server_side_include_in_glassfish">Server Side Include in GlassFish</a>) and also on Microsoft Internet Information Services (IIS). Here are a few examples of how to use SSI:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;meta charset=&quot;utf-8&quot; /&gt;
    &lt;title&gt;Server Side Includes&lt;/title&gt;
    &lt;style type=&quot;text/css&quot;&gt;
      * { margin: 0; padding: 0; border: 0; }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;  
    &lt;!-- http://httpd.apache.org/docs/2.0/howto/ssi.html --&gt;
&nbsp;
    &lt;!--#set var=&quot;name&quot; value=&quot;Benny Neugebauer&quot; --&gt; 
    &lt;!--#set var=&quot;text&quot; value=&quot;My name is ${name}.&quot; --&gt; 
    &lt;!--#set var=&quot;accountBalance&quot; value=&quot;\$72.72&quot; --&gt; 
&nbsp;
    &lt;p&gt;
      &lt;!--#echo var=&quot;name&quot; --&gt;&lt;br/&gt;
      &lt;!--#echo var=&quot;text&quot; --&gt;&lt;br/&gt;
      My account balance is: &lt;!--#echo var=&quot;accountBalance&quot; --&gt;
      &lt;br/&gt;&lt;br/&gt;
      &lt;!--#if expr=&quot;${name} == 'Benny Neugebauer'&quot; --&gt;
      &lt;b&gt;Hey Benny!&lt;/b&gt;
      &lt;!--#else --&gt;
      &lt;em&gt;Who are you??&lt;/em&gt;
      &lt;!--#endif --&gt; 
      &lt;br/&gt;
      &lt;!--#if expr=&quot;{$name} = /[a-zA-Z]/&quot; --&gt;
      Your name contains just letters. Yay!
      &lt;!--#endif --&gt;
      &lt;br/&gt;&lt;br/&gt;
    &lt;/p&gt;
&nbsp;
    &lt;p&gt;
      &lt;!-- Print some CGI variables... --&gt;
      &lt;!--#echo var=&quot;HTTP_USER_AGENT&quot; --&gt;&lt;br/&gt;
      &lt;!--#echo var=&quot;SERVER_NAME&quot; --&gt;&lt;br/&gt;
      &lt;!--#echo var=&quot;REMOTE_ADDR&quot; --&gt;&lt;br/&gt;
    &lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bennyn.de/programmierung/html/how-to-use-server-side-includes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Div Element horizontal und vertikal zentrieren</title>
		<link>http://www.bennyn.de/programmierung/css/div-element-horizontal-und-vertikal-zentrieren.html</link>
		<comments>http://www.bennyn.de/programmierung/css/div-element-horizontal-und-vertikal-zentrieren.html#comments</comments>
		<pubDate>Fri, 27 Jan 2012 12:16:14 +0000</pubDate>
		<dc:creator>bennyn</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[horizontal]]></category>
		<category><![CDATA[vertikal]]></category>
		<category><![CDATA[zentrieren]]></category>

		<guid isPermaLink="false">http://www.bennyn.de/?p=3140</guid>
		<description><![CDATA[Ein Code sagt mehr als tausend Worte: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 &#60;!DOCTYPE html&#62; &#60;html&#62; &#60;head&#62; &#60;meta charset=&#34;utf-8&#34; /&#62; &#60;title&#62;Centering a Div horizontally and vertically&#60;/title&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Ein Code sagt mehr als tausend Worte:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;!</span>DOCTYPE html<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta charset<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;utf-8&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;</span>title<span style="color: #339933;">&gt;</span>Centering a Div horizontally and vertically<span style="color: #339933;">&lt;/</span>title<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>style type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/css&quot;</span><span style="color: #339933;">&gt;</span>
      html
      <span style="color: #009900;">&#123;</span>
        background<span style="color: #339933;">-</span>color<span style="color: #339933;">:</span> black<span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      body
      <span style="color: #009900;">&#123;</span>
        width<span style="color: #339933;">:</span> <span style="color: #cc66cc;">100</span><span style="color: #339933;">%;</span>
        height<span style="color: #339933;">:</span> <span style="color: #cc66cc;">100</span><span style="color: #339933;">%;</span>
        position<span style="color: #339933;">:</span> static<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/* don't make it relative! */</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      <span style="color: #666666; font-style: italic;">#centered
</span>      <span style="color: #009900;">&#123;</span>
        position<span style="color: #339933;">:</span> absolute<span style="color: #339933;">;</span>
        height<span style="color: #339933;">:</span> 396px<span style="color: #339933;">;</span>
        width<span style="color: #339933;">:</span> 400px<span style="color: #339933;">;</span>
        margin<span style="color: #339933;">:</span> <span style="color: #339933;">-</span>198px 0px 0px <span style="color: #339933;">-</span>200px<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/* 50% height, 0px, 0px, 50% width */</span>
        top<span style="color: #339933;">:</span> <span style="color: #cc66cc;">50</span><span style="color: #339933;">%;</span>
        left<span style="color: #339933;">:</span> <span style="color: #cc66cc;">50</span><span style="color: #339933;">%;</span>
        background<span style="color: #339933;">-</span>color<span style="color: #339933;">:</span> violet<span style="color: #339933;">;</span>
        border<span style="color: #339933;">:</span> 1px solid white<span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #339933;">&lt;/</span>style<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;</span>body<span style="color: #339933;">&gt;</span>  
    <span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;centered&quot;</span><span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;/</span>body<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bennyn.de/programmierung/css/div-element-horizontal-und-vertikal-zentrieren.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer Kompatibilitätsansicht verhindern</title>
		<link>http://www.bennyn.de/programmierung/html/internet-explorer-kompatibilitatsansicht-verhindern.html</link>
		<comments>http://www.bennyn.de/programmierung/html/internet-explorer-kompatibilitatsansicht-verhindern.html#comments</comments>
		<pubDate>Thu, 10 Nov 2011 10:38:08 +0000</pubDate>
		<dc:creator>bennyn</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Compatibility Mode]]></category>
		<category><![CDATA[EmulateIE7]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Kompatibilitätsansicht]]></category>
		<category><![CDATA[X-UA-Compatible]]></category>

		<guid isPermaLink="false">http://www.bennyn.de/?p=2926</guid>
		<description><![CDATA[Mit dem Internet Explorer 8 hat Microsoft die Kompatibilitätsansicht eingeführt. Mit der Kompatibilitätsansicht wird die Rendering-Engine des Internet Explorers auf eine Vorversion gestellt, wodurch Webseiten, die für ältere IE-Versionen entworfen wurden, besser angezeigt werden können. Der &#8220;Compatibility Mode&#8221; wird durch ein Icon in der Adresszeile eingeschaltet. Kompatibilitätsansicht im IE9 Für Webdesigner ist das Icon der [...]]]></description>
			<content:encoded><![CDATA[<p>Mit dem <strong>Internet Explorer 8</strong> hat Microsoft die <strong>Kompatibilitätsansicht</strong> eingeführt. Mit der Kompatibilitätsansicht wird die Rendering-Engine des Internet Explorers auf eine Vorversion gestellt, wodurch Webseiten, die für ältere IE-Versionen entworfen wurden, besser angezeigt werden können. Der &#8220;Compatibility Mode&#8221; wird durch ein Icon in der Adresszeile eingeschaltet.</p>
<div class="aligncenter"><a href="http://www.bennyn.de/wp-content/uploads/compatibility_mode.png"><img src="http://www.bennyn.de/wp-content/uploads/compatibility_mode.png" alt="" title="compatibility_mode" width="205" height="109" style="border:1px solid black;" class="size-full wp-image-2930" /></a><br/><em>Kompatibilitätsansicht im IE9</em></div>
<p>Für Webdesigner ist das <strong>Icon der Kompatibilitätsansicht</strong> ein Dorn im Auge, da es aussieht wie ein zerrissenes Dokument und dadurch der Eindruck entsteht, dass etwas mit der eigenen Webseite nicht in Ordnung ist. Um das Icon zu entfernen, muss die eigene Webseite selbst den Kompatibilitätsmodus bestimmen. Dazu wird der kompatible User-Agent als Meta-Tag für den Internet Explorer im head-Bereich der Seite angegeben:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;head&gt;
  &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=EmulateIE7&quot; &gt;
  &lt;title&gt;My Web Page&lt;/title&gt;
&lt;/head&gt;</pre></td></tr></table></div>

<p>Die gezeigte Variante stellt die Render-Engine des Internet Explorers auf die Version von Internet Explorer 7 um, was dazu führt dass beispielsweise ein Internet Explorer 9 die Webseite anzeigt wie der IE7.</p>
<p>Möchte man sich nicht auf eine spezielle IE-Version festlegen, sondern immer die Aktuellste benutzen, so muss folgender Eintrag gemacht werden:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;/&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bennyn.de/programmierung/html/internet-explorer-kompatibilitatsansicht-verhindern.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

