<?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>PHUTiLiTY &#187; Programmierung</title>
	<atom:link href="http://www.phutility.de/category/programmierung/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phutility.de</link>
	<description>is resistant.</description>
	<lastBuildDate>Fri, 23 Jul 2010 15:15:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>The Evolution of a Programmer</title>
		<link>http://www.phutility.de/2009/09/25/the-evolution-of-a-programmer/</link>
		<comments>http://www.phutility.de/2009/09/25/the-evolution-of-a-programmer/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 18:08:50 +0000</pubDate>
		<dc:creator>speaker</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://www.phutility.de/?p=968</guid>
		<description><![CDATA[&#60;snip&#62; Experienced Hacker: #include #define S &#34;Hello, World\n&#34; main&#40;&#41;&#123;exit&#40;printf&#40;S&#41; == strlen&#40;S&#41; ? 0 : 1&#41;;&#125; Guru Hacker: % echo &#34;Hello, world.&#34; New Manager: 10 PRINT &#34;HELLO WORLD&#34; 20 END &#60;/snip&#62; (Link)]]></description>
			<content:encoded><![CDATA[<p><code>&lt;snip&gt;</code></p>
<p>Experienced Hacker:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include </span>
<span style="color: #339933;">#define S &quot;Hello, World\n&quot;</span>
main<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>exit<span style="color: #009900;">&#40;</span><span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span>S<span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> strlen<span style="color: #009900;">&#40;</span>S<span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> <span style="color: #0000dd;">0</span> <span style="color: #339933;">:</span> <span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span></pre></div></div>

<p>Guru Hacker:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Hello, world.&quot;</span></pre></div></div>

<p>New Manager:</p>

<div class="wp_syntax"><div class="code"><pre class="qbasic" style="font-family:monospace;"><span style="color: #cc66cc;">10</span> <span style="color: #000066;">PRINT</span> <span style="color: #ff0000;">&quot;HELLO WORLD&quot;</span>
<span style="color: #cc66cc;">20</span> <span style="color: #000066;">END</span></pre></div></div>

<p><code>&lt;/snip&gt;</code><code></code></p>
<p>(<a href="http://www.ariel.com.au/jokes/The_Evolution_of_a_Programmer.html">Link</a>) <img src='http://www.phutility.de/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.phutility.de/2009/09/25/the-evolution-of-a-programmer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PicLens f&#252;r eigene Bilder nutzen</title>
		<link>http://www.phutility.de/2008/07/27/piclens-fuer-eigene-bilder-nutzen/</link>
		<comments>http://www.phutility.de/2008/07/27/piclens-fuer-eigene-bilder-nutzen/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 13:23:04 +0000</pubDate>
		<dc:creator>speaker</dc:creator>
				<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.phutility.de/?p=317</guid>
		<description><![CDATA[Das hervorragende Firefox-Addon PicLens, mit dem sich komfortabel Bilderstrecken und Videos anschauen lassen, ist ja schon l&#228;nger bekannt. Leider wird von Haus aus nicht jede Webseite unterst&#252;tzt, soda&#223; momentan nur die Seiten davon profitieren, die &#8220;PicLens-enabled&#8221; sind. Um das Addon auch mit der eigenen Fotosammlung nutzen zu k&#246;nnen, ist nur das Erstellen und Einbinden eines [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.phutility.de/wp-content/uploads/2008/07/piclens-full.jpg"><img style="margin-right: 10px;" class="rawrahmen size-medium wp-image-318 alignleft" title="PicLens - Fullscreen" src="http://www.phutility.de/wp-content/uploads/2008/07/piclens-full-300x187.jpg" alt="PicLens - Fullscreen" width="300" height="187" /></a>Das hervorragende Firefox-Addon <a href="http://www.piclens.com/">PicLens</a>, mit dem sich komfortabel Bilderstrecken und Videos anschauen lassen, ist ja schon l&#228;nger bekannt. Leider wird von Haus aus nicht jede Webseite unterst&#252;tzt, soda&#223; momentan nur die Seiten davon profitieren, die &#8220;PicLens-enabled&#8221; sind.</p>
<p>Um das Addon auch mit der eigenen Fotosammlung nutzen zu k&#246;nnen, ist nur das Erstellen und Einbinden eines RSS-Feeds n&#246;tig, der alle Bilder auflistet.</p>
<p>Dazu f&#252;gt man im HTML-Header der aufzurufenden Seite folgende Zeile ein:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link id=&quot;gallery&quot; rel=&quot;alternate&quot; href=&quot;photos.rss&quot; type=&quot;application/rss+xml&quot;&gt;</pre></div></div>

<p>Nachdem dann der Feed <code>photo.rss</code> generiert wurde, leuchtet beim n&#228;chsten Seitenaufruf im Firefox das PicLens-Icon oben rechts auch schon blau. <img src='http://www.phutility.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><img src="http://www.phutility.de/wp-content/uploads/2008/07/piclens-icon.png" alt="PicLens-Icon" title="PicLens-Icon" width="137" height="105" class="rahmen alignnone size-full wp-image-320" /></p>
<p>Folgendes Beispiel-Script kann f&#252;r die Feed-Erstellung verwendet werden (das Syntax-Highlighting wird &#252;brigens durch das WordPress-Plugin <a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a> realisiert):</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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// PicLEns Feed Creator</span>
<span style="color: #666666; font-style: italic;">// (c)2008 speaker</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// === Konfiguration ===</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// Dateiname des zu erstellenden RSS-Feeds</span>
<span style="color: #000088;">$filename</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;photos.rss&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Verzeichnispfad, unter dem die Bilder zu finden sind</span>
<span style="color: #666666; font-style: italic;">// (relativ oder absolut)</span>
<span style="color: #000088;">$dir</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;img&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Dateiendung der Bilder</span>
<span style="color: #000088;">$ext</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;jpg&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Suffix, der Thumbnails von den original Bildern unterscheidet</span>
<span style="color: #666666; font-style: italic;">// Beispiel:</span>
<span style="color: #666666; font-style: italic;">// Bild: &quot;original.jpg&quot; - Thumbnail: &quot;original-thumb.jpg&quot;</span>
<span style="color: #666666; font-style: italic;">// -&gt; Suffix: &quot;-thumb&quot;</span>
<span style="color: #000088;">$sfx</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;-thumb&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// === Ab hier nichts mehr ändern! ===</span>
&nbsp;
<span style="color: #000088;">$file</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$filename</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;wb&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$header</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;rss xmlns:media=&quot;http://search.yahoo.com/mrss&quot; version=&quot;2.0&quot;&gt;
  &lt;channel&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$footer</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'
  &lt;/channel&gt;
&lt;/rss&gt;
'</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span><span style="color: #339933;">,</span> <span style="color: #000088;">$header</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">glob</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/*&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sfx</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;.&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$ext</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$thumb</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$pic</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sfx</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$thumb</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$name</span> <span style="color: #339933;">=</span> <span style="color: #990000;">basename</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pic</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$item</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'
    &lt;item&gt;
      &lt;title&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$name</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/title&gt;
      &lt;link&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$pic</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/link&gt;
      &lt;media:thumbnail url=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$thumb</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; /&gt;
      &lt;media:content url=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$pic</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; /&gt;
    &lt;/item&gt;'</span><span style="color: #339933;">;</span>
        <span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span><span style="color: #339933;">,</span> <span style="color: #000088;">$item</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span><span style="color: #339933;">,</span> <span style="color: #000088;">$footer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.phutility.de/2008/07/27/piclens-fuer-eigene-bilder-nutzen/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Scripts mit Notepad++ direkt aufrufen</title>
		<link>http://www.phutility.de/2008/06/10/scripts-mit-notepad-direkt-aufrufen/</link>
		<comments>http://www.phutility.de/2008/06/10/scripts-mit-notepad-direkt-aufrufen/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 22:01:02 +0000</pubDate>
		<dc:creator>speaker</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.phutility.de/?p=247</guid>
		<description><![CDATA[Mein Editor of Choice unter Windows ist definitiv Notepad++. Das Open Source Programm unterst&#252;tzt unter anderem Syntax-Highlighting f&#252;r knapp 50 Programmiersprachen, Code-Folding und -Completion sowie einen Makrorecorder. Au&#223;erdem ist es durch zahlreiche Plugins zB. um eine Funktionsliste, einen Hex-Editor oder XML-Tools erweiterbar. Besonders das standardm&#228;&#223;ig bereits enthaltene Plugin NppExec bringt sinnvolle Funktionalit&#228;t mit sich: Es [...]


Ähnliche Artikel:<ul><li><a href='http://www.phutility.de/2007/12/10/neue-ct-mit-diagnose-cd/' rel='bookmark' title='Permanent Link: Neue c&#8217;t mit Diagnose-CD'>Neue c&#8217;t mit Diagnose-CD</a></li>
<li><a href='http://www.phutility.de/2008/07/27/piclens-fuer-eigene-bilder-nutzen/' rel='bookmark' title='Permanent Link: PicLens f&#252;r eigene Bilder nutzen'>PicLens f&#252;r eigene Bilder nutzen</a></li>
<li><a href='http://www.phutility.de/2009/07/13/alternativen-zum-cisco-vpn-client/' rel='bookmark' title='Permanent Link: Alternativen zum Cisco VPN Client'>Alternativen zum Cisco VPN Client</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Mein Editor of Choice unter Windows ist definitiv <a href="http://notepad-plus.sourceforge.net/">Notepad++</a>. Das Open Source Programm unterst&#252;tzt unter anderem Syntax-Highlighting f&#252;r knapp 50 Programmiersprachen, Code-Folding und -Completion sowie einen Makrorecorder. Au&#223;erdem ist es durch zahlreiche <a href="http://notepad-plus.sourceforge.net/de/download.php?lang=de">Plugins</a> zB. um eine Funktionsliste, einen Hex-Editor oder XML-Tools erweiterbar.</p>
<p>Besonders das standardm&#228;&#223;ig bereits enthaltene Plugin <a href="http://sourceforge.net/project/showfiles.php?group_id=189927&amp;package_id=224034">NppExec</a> bringt sinnvolle Funktionalit&#228;t mit sich: Es erlaubt das Ausf&#252;hren von Scripts oder Programmen direkt im Editor. Dabei wird die Ausgabe in einem Konsolenfenster wiedergegeben, bekannt von IDEs wie Eclipse.</p>
<p><a title="Notepad++ mit NppExec-Plugin" href="http://www.phutility.de/wp-content/uploads/2008/06/nppp.png"><img src="http://www.phutility.de/wp-content/uploads/2008/06/nppp-thumb.png" alt="nppp" width="250" height="212" /></a></p>
<p>Das Plugin erleichtert das Programmieren und Testen ungemein. Zur Konfiguration dr&#252;ckt man die Taste <em>F6</em> und tippt in das daraufhin erscheinende Execute-Fenster folgende Befehle ein (siehe auch Bild):</p>
<blockquote><p><code>NPP_SAVE<br />
C:\Pfad\Interpreter.exe "$(FULL_CURRENT_PATH)"</code></p></blockquote>
<p>Anschlie&#223;end best&#228;tigt man mit <em>OK</em>, worauf im Konsolenfenster die Ausgabe beginnt. Dabei nimmt es genau wie die cmd-Shell Tastatureingaben entgegen, soda&#223; sich Scripts zB. mit <em>STRG+C</em> abbrechen lassen und auch nicht auf Benutzerinteraktion verzichtet werden mu&#223;. Wiederholte Executes k&#246;nnen mit <em>STRG+F6</em> ausgef&#252;hrt werden.</p>


<p>Ähnliche Artikel:<ul><li><a href='http://www.phutility.de/2007/12/10/neue-ct-mit-diagnose-cd/' rel='bookmark' title='Permanent Link: Neue c&#8217;t mit Diagnose-CD'>Neue c&#8217;t mit Diagnose-CD</a></li>
<li><a href='http://www.phutility.de/2008/07/27/piclens-fuer-eigene-bilder-nutzen/' rel='bookmark' title='Permanent Link: PicLens f&#252;r eigene Bilder nutzen'>PicLens f&#252;r eigene Bilder nutzen</a></li>
<li><a href='http://www.phutility.de/2009/07/13/alternativen-zum-cisco-vpn-client/' rel='bookmark' title='Permanent Link: Alternativen zum Cisco VPN Client'>Alternativen zum Cisco VPN Client</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.phutility.de/2008/06/10/scripts-mit-notepad-direkt-aufrufen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Designer-Virus f&#252;r den Mac</title>
		<link>http://www.phutility.de/2008/03/05/designer-virus-fur-den-mac/</link>
		<comments>http://www.phutility.de/2008/03/05/designer-virus-fur-den-mac/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 20:13:23 +0000</pubDate>
		<dc:creator>speaker</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.phutility.de/2008/03/05/designer-virus-fur-den-mac/</guid>
		<description><![CDATA[Oliver hat mich heute auf diesen v&#246;llig sinnfreien, aber auf jeden Fall sehr originellen Virus f&#252;r Macs aufmerksam gemacht, der eigentlich gar keiner ist: Video-Quelle: dezeen.com Die Software bedient sich dabei des Macbook-eigenen internen Gyroskops, das Teil des von Apple patentierten Sudden Motion Sensors (kurz: SMS) ist. Dieses System dient eigentlich dem Schutz der Festplatte [...]


Ähnliche Artikel:<ul><li><a href='http://www.phutility.de/2008/06/06/der-duke-kommt/' rel='bookmark' title='Permanent Link: Der Duke kommt&#8230;'>Der Duke kommt&#8230;</a></li>
<li><a href='http://www.phutility.de/2008/02/29/sicherheitsupdates-fur-den-vlc-media-player/' rel='bookmark' title='Permanent Link: Sicherheitsupdates f&#252;r den VLC Media Player'>Sicherheitsupdates f&#252;r den VLC Media Player</a></li>
<li><a href='http://www.phutility.de/2008/02/23/valid-xhtml-und-get-recent-comments/' rel='bookmark' title='Permanent Link: Valid XHTML und Get Recent Comments'>Valid XHTML und Get Recent Comments</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.aptgetupdate.de/index.php/2008/03/05/mac-endlich-mal-ein-ordentlicher-virus-fuer-den-mac/">Oliver</a> hat mich heute auf diesen v&#246;llig sinnfreien, aber auf jeden Fall sehr originellen <a href="http://www.troika.uk.com/virus.htm">Virus</a> f&#252;r Macs aufmerksam gemacht, der eigentlich gar keiner ist:</p>
<p><img src="" /></p>
<p><em>Video-Quelle: <a href="http://www.dezeen.com/2008/03/03/movie-newton-virus-by-troika/#more-10101">dezeen.com</a></em></p>
<p>Die Software bedient sich dabei des Macbook-eigenen internen Gyroskops, das Teil des von Apple patentierten Sudden Motion Sensors (kurz: SMS) ist. Dieses System dient eigentlich dem Schutz der Festplatte vor Besch&#228;digungen bei pl&#246;tzlicher Bewegung, wobei dann augenblicklich Lese- und Schreibk&#246;pfe geparkt werden. F&#252;r den SMS gibt es neben einigen weiteren kleinen Anwendungen wie zum Beispiel <a href="http://www.suitable.com/tools/seismac.html">SeisMac</a> oder <a href="http://www.osxbook.com/software/sms/smsrotated/">SMSRotateD</a> auch die Java-Bibliothek <a href="http://kortenkamps.net/jilt">jilt</a> zum Umsetzen eigener Ideen.</p>
<p>PS.: Ich merke <a href="http://www.google.de/search?q=jilt+sms">gerade</a>, da&#223; Oliver genau wie ich die Wikipedia und Google befragt, nur dabei das Gleiche schon gute drei Monate <a href="http://www.aptgetupdate.de/index.php/2007/12/30/sms-ich-weiss-wofuer-fuer-sie-gut-sind/">fr&#252;her</a> zum Besten gegeben hat. Macht nix, denk ich mir, déjà vus sind sch&#246;n. <img src='http://www.phutility.de/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' /> </p>


<p>Ähnliche Artikel:<ul><li><a href='http://www.phutility.de/2008/06/06/der-duke-kommt/' rel='bookmark' title='Permanent Link: Der Duke kommt&#8230;'>Der Duke kommt&#8230;</a></li>
<li><a href='http://www.phutility.de/2008/02/29/sicherheitsupdates-fur-den-vlc-media-player/' rel='bookmark' title='Permanent Link: Sicherheitsupdates f&#252;r den VLC Media Player'>Sicherheitsupdates f&#252;r den VLC Media Player</a></li>
<li><a href='http://www.phutility.de/2008/02/23/valid-xhtml-und-get-recent-comments/' rel='bookmark' title='Permanent Link: Valid XHTML und Get Recent Comments'>Valid XHTML und Get Recent Comments</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.phutility.de/2008/03/05/designer-virus-fur-den-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Valid XHTML und Get Recent Comments</title>
		<link>http://www.phutility.de/2008/02/23/valid-xhtml-und-get-recent-comments/</link>
		<comments>http://www.phutility.de/2008/02/23/valid-xhtml-und-get-recent-comments/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 01:32:23 +0000</pubDate>
		<dc:creator>speaker</dc:creator>
				<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.phutility.de/2008/02/23/valid-xhtml-und-get-recent-comments/</guid>
		<description><![CDATA[Da ich zur Konfiguration der letzten Kommentare, die rechts im Sidebar angezeigt werden, ein vern&#252;nftiges Plugin brauchte, habe ich seit einiger Zeit Get Recent Comments in Benutzung, das seinen Zweck gut erf&#252;llt. Ein einziges Problem konnte ich nun trotzdem beobachten: Beim Zusammenspiel mehrerer Faktoren zerst&#246;rt das sonst einwandfrei funktionierende Plugin die XHTML-Validit&#228;t. Das mag den [...]


Ähnliche Artikel:<ul><li><a href='http://www.phutility.de/2008/06/10/scripts-mit-notepad-direkt-aufrufen/' rel='bookmark' title='Permanent Link: Scripts mit Notepad++ direkt aufrufen'>Scripts mit Notepad++ direkt aufrufen</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Da ich zur Konfiguration der letzten Kommentare, die rechts im Sidebar angezeigt werden, ein vern&#252;nftiges Plugin brauchte, habe ich seit einiger Zeit <em><a href="http://wordpress.org/extend/plugins/get-recent-comments/">Get Recent Comments</a></em> in Benutzung, das seinen Zweck gut erf&#252;llt.</p>
<p>Ein einziges Problem konnte ich nun trotzdem beobachten: Beim Zusammenspiel mehrerer Faktoren zerst&#246;rt das sonst einwandfrei funktionierende Plugin die XHTML-Validit&#228;t. Das mag den Durchschnittsblogger nicht interessieren, aber bei mir kam diesbez&#252;glich leider mal wieder der Perfektionismus durch&#8230; <img src='http://www.phutility.de/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' /> </p>
<p align="center"><img src="http://www.phutility.de/wp-content/uploads/2008/02/invalidxhtml.png" alt="invalidxhtml" /></p>
<p>Konkret mu&#223; das Caching von <em>Get Recent Comments</em> aktiviert sein und es m&#252;ssen beide Widgets (Kommentare und Trackbacks) in der Sidebar auftauchen. In diesem Fall werden die zu cachenden Daten bereits beim Aufbau des ersten Widgets vollst&#228;ndig erstellt, was falsche HTML-Tags in <code>$before_widget</code> und <code>$before_title</code> des zweiten Widgets erzeugt (n&#228;mlich die des ersten Widgets). Da sich innerhalb dieser Tags ids befinden, die, wie der Name schon sagt, einzigartig sein m&#252;ssen (was sie ja nicht mehr sind, sobald die gleiche id f&#252;r beide Widgets genutzt wird), ist die Seite nicht mehr XHTML-konform. <img src='http://www.phutility.de/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' /> </p>
<p><a href="http://validator.w3.org/check?uri=referer" title="Validate XHTML"><img src="http://www.phutility.de/wp-content/uploads/2008/02/validxhtml.png" class="rahmen" alt="validxhtml" /></a></p>
<p>Lange Rede, kurzer Sinn: <a href="http://www.phutility.de/wp-content/uploads/2008/02/grc-202-valid-xhtml.patch" title="Get Recent Comments Valid XHTML Patch">Hier</a> mein Patch f&#252;r Version 2.0.2 des Plugins, allen kleinkarierten Gleichgesinnten gewidmet. <img src='http://www.phutility.de/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /><br />
Zur Erneuerung des Caches mu&#223; dieser einmal deaktiviert und, nachdem die Hauptseite neu geladen wurde, wieder aktiviert werden.</p>


<p>Ähnliche Artikel:<ul><li><a href='http://www.phutility.de/2008/06/10/scripts-mit-notepad-direkt-aufrufen/' rel='bookmark' title='Permanent Link: Scripts mit Notepad++ direkt aufrufen'>Scripts mit Notepad++ direkt aufrufen</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.phutility.de/2008/02/23/valid-xhtml-und-get-recent-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
