<?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>lokalnetz.com</title>
	<atom:link href="http://lokalnetz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lokalnetz.com</link>
	<description></description>
	<lastBuildDate>Mon, 25 Feb 2013 10:09:00 +0000</lastBuildDate>
	<language>de-DE</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Formular Loop Tabindex</title>
		<link>http://lokalnetz.com/formular-loop-tabindex/</link>
		<comments>http://lokalnetz.com/formular-loop-tabindex/#comments</comments>
		<pubDate>Tue, 04 Dec 2012 11:55:22 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=811</guid>
		<description><![CDATA[Catch the Tabindex &#8230; Wer kennt das nicht aus Web-Formularen. Nach dem letzten Tabindex eines Inputs in einem Formular springt der Fokus irgendwo ins Nirvana der aktuellen Seite. Das behebt das folgende kleine feine jQuery &#8211; Script. Nach dem letzten Tabindex springt der Fokus wieder zum ersten Tabindex, vorausgesetzt man nutzt auch die Tabtaste. Rock [...]]]></description>
				<content:encoded><![CDATA[<p>Catch the Tabindex &#8230;<br />
Wer kennt das nicht aus Web-Formularen.<br />
Nach dem letzten Tabindex eines Inputs in einem Formular springt der Fokus irgendwo ins Nirvana der aktuellen Seite.<br />
Das behebt das folgende kleine feine jQuery &#8211; Script.</p>
<p>Nach dem letzten Tabindex springt der Fokus wieder zum ersten Tabindex, vorausgesetzt man nutzt auch die Tabtaste.</p>
<pre class="brush: jscript; title: ; notranslate">
var tabindex = new Array();
var maxTab = '';
var minTab = '';

$('form').find('[tabindex]').each(function(index){
    var num = $(this).attr('tabindex');
    // PUSH ALL TABINDEXES TO AN ARRAY
    tabindex.push(num);
});

// GRAB TABINDEX MAX VALUE
maxTab = Math.max.apply(Math,tabindex);
// GRAB TABINDEX MIN VALUE
minTab = Math.min.apply(Math,tabindex);

$('input[tabindex=' + minTab + ']').focus();

$('input[tabindex=' + maxTab + ']').keydown(function(event) { 
    var keyCode = event.keyCode || event.which;
    // CHECK IF TABKEY ON MAX TABINDEX IS PRESSED
    if (keyCode == 9) {
        //SET FOCUS TO MIN TABINDEX
        event.preventDefault();
        $('input[tabindex=' + minTab + ']').focus();
  } 
});
</pre>
<p><a href="http://jsfiddle.net/telekommander/G3zRc/" title="jsfiddle">Rock das Fiddle.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/formular-loop-tabindex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Check für gerade Nummern</title>
		<link>http://lokalnetz.com/javascript-check-fur-gerade-nummern/</link>
		<comments>http://lokalnetz.com/javascript-check-fur-gerade-nummern/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 11:54:06 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=774</guid>
		<description><![CDATA[&#8230; so simpel: aber echt jetzte &#8230;]]></description>
				<content:encoded><![CDATA[<p>&#8230; so simpel:</p>
<pre class="brush: jscript; title: ; notranslate">
function isEven(value) {
    return (value%2 == 0);
}
</pre>
<p>aber echt jetzte &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/javascript-check-fur-gerade-nummern/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Subway Map &#8211; The Next Generation</title>
		<link>http://lokalnetz.com/subway-map-the-next-generation/</link>
		<comments>http://lokalnetz.com/subway-map-the-next-generation/#comments</comments>
		<pubDate>Thu, 20 Sep 2012 12:53:37 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile App]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Metro Map]]></category>
		<category><![CDATA[Subway Map]]></category>
		<category><![CDATA[Web App]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=762</guid>
		<description><![CDATA[Vergesst ÖPNV Streckenpläne als PDF-Datei. Das Ausdrucken, das Ändern oder Anpassen, Photoshoplizenzen, alles nicht mehr nötig. Hier kommt die nächste Generation. Interaktiv mit modernsten Webtechnologien, lauffähig auf nahezu jedem modernen Endgerät. Kombatibel zu Google-Maps oder Bing-Maps. Auslesen der aktuellen Geolocation, Standort. Übersichtliche wesentliche Informationen Kein visueller Overkill Volle Userinteraktion Zoom in , Zoom out Suche [...]]]></description>
				<content:encoded><![CDATA[<p>Vergesst ÖPNV Streckenpläne als PDF-Datei.<br />
Das Ausdrucken, das Ändern oder Anpassen, Photoshoplizenzen, alles nicht mehr nötig.</p>
<div class="wp-caption alignnone" style="width: 381px"><a href="http://lokalnetz.com/wp-uploads/2012/09/preview_subwaymap.png" rel="lightbox[762]" title="Preview Subway Map"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Preview Subway Map" src="http://lokalnetz.com/wp-uploads/2012/09/preview_subwaymap_thumb.png" alt="preview_subwaymap" width="371" height="270" border="0" /></a><p class="wp-caption-text">Vorschau der Webapplikation</p></div>
<p>Hier kommt die nächste Generation.<br />
Interaktiv mit modernsten Webtechnologien, lauffähig auf nahezu jedem modernen Endgerät.</p>
<ul>
<li>Kombatibel zu Google-Maps oder Bing-Maps.</li>
<li>Auslesen der aktuellen Geolocation, Standort.</li>
<li>Übersichtliche wesentliche Informationen</li>
<li>Kein visueller Overkill</li>
<li>Volle Userinteraktion</li>
<li>Zoom in , Zoom out</li>
<li>Suche</li>
<li>Abfahrtszeiten</li>
<li>Ein- und Ausblenden von Strecken</li>
<li>Natürlich auch Ausdruckbar, Teilbereiche oder Voll</li>
<li>Änderungen in wenigen Minuten gegenüber des PDF-Pendants umsetzbar</li>
<li>… und jede Menge zusätzliche Features geplant.</li>
</ul>
<p>Sei noch zu erwähnen, Developing in Progress !</p>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/subway-map-the-next-generation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome &#8211; Viewportberechnung</title>
		<link>http://lokalnetz.com/google-chrome-viewportberechnung/</link>
		<comments>http://lokalnetz.com/google-chrome-viewportberechnung/#comments</comments>
		<pubDate>Tue, 11 Sep 2012 16:13:59 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Bug]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=717</guid>
		<description><![CDATA[Die aktuell zu Verfügung stehenden Maße des Viewports sollen bei versteckten Scrollbars des &#60;body&#62; berechnet werden um einen  &#60;div&#62; - Container auf dessen entsprechende Länge und  Breite zu ziehen. Chrome entpuppt sich hier als kleines Miststück, denn zur Berechnung der Höhe ist unter Umständen die Chrome-Statusbar im weg. Es fehlen schlichtweg einfach die 16 Pixel die die [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://lokalnetz.com/wp-uploads/2012/09/screen_11_09_2012-23.png" rel="lightbox[717]" title="chrome missing 16px"><img class="size-thumbnail wp-image-728 alignleft" title="chrome missing 16px" src="http://lokalnetz.com/wp-uploads/2012/09/screen_11_09_2012-23-120x120.png" alt="" width="120" height="120" /></a>Die aktuell zu Verfügung stehenden Maße des Viewports sollen bei versteckten Scrollbars des <code>&lt;<em>body</em>&gt;</code> berechnet werden um einen  <code>&lt;<em>div</em>&gt;</code> - Container auf dessen entsprechende Länge und  Breite zu ziehen.</p>
<p>Chrome entpuppt sich hier als kleines Miststück, denn zur Berechnung der Höhe ist unter Umständen die Chrome-Statusbar im weg. Es fehlen schlichtweg einfach die 16 Pixel die die Höhe der Statusbar ausmachen.</p>
<p>Merkwürdig ist auch, dreht man die Berechnung um, erst die Breite dann die Höhe, zeigt sich dieser Effekt bei der vertikalen Seite, dann fehlen dort die 16 Pixel, muss man nicht verstehen.</p>
<p>Nicht schön, nicht schlimm aber ärgerlich und sieht komisch aus.</p>
<p>Zum nachvollziehen:</p>
<pre class="brush: jscript; title: ; notranslate">
	// FIX HEIGHT OF THE CONTAINER
    var calcHeight = function() {
		$('#selector').height($(window).height());
    }

	// FIX WIDTH OF THE CONTAINER
    var calcWidth = function() {
        $('#selector').width($(window).width());
    }

	// FIRE UP FUNCTIONS
	$(document).ready(function()
	{
	    $(window).resize(function() {
	        calcHeight();
	        calcWidth();
	    }).load(function() {
	        calcHeight();
	        calcWidth();
	        //calcHeight(); // run again !
	    });
	});

</pre>
<pre class="brush: css; title: ; notranslate">body {
overflow: hidden;
}
</pre>
<p><strong>Lösung:</strong></p>
<p>Entweder die Berechnung wird gleich nochmal ausgeführt oder man checkt, wenn man es komplizierter möchte, den aktuellen Browser und fügt einer Variable die fehlenden 16 Pixel hinzu.</p>
<pre class="brush: jscript; title: ; notranslate">
	// DETECT IF IS CHROME
	function isChrome(){
  		$.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase());
		var additionalPx = 0;
		if($.browser.chrome){
			console.log('Yes, this is chrome');
			var additionalPx = 16;
			return (true);
		}
	}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/google-chrome-viewportberechnung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Realtime CPU Shellmon</title>
		<link>http://lokalnetz.com/server-realtime-cpu-shellmon/</link>
		<comments>http://lokalnetz.com/server-realtime-cpu-shellmon/#comments</comments>
		<pubDate>Sun, 17 Jun 2012 20:01:11 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=562</guid>
		<description><![CDATA[Für ein aktuelles Projekt sollte die CPU Last eines Debian Servers dargestellt werden. Die simple Darstellung via &#8220;uptime&#8221; war aber zu statisch und genügte den Ansprüchen, auch meinen, nicht. Die cpu.php macht nichts anderes als die aktuelle Last zu auszulesen. Via jQuery und einem Refreshintervall wird dieser Wert aktualisiert und dargestellt. Die Formatierung übernimmt das [...]]]></description>
				<content:encoded><![CDATA[<p>Für ein aktuelles Projekt sollte die CPU Last eines Debian Servers dargestellt werden. Die simple Darstellung via &#8220;uptime&#8221;  war aber zu statisch und genügte den Ansprüchen, auch meinen, nicht. Die <code>cpu.php</code> macht nichts anderes als die aktuelle Last zu auszulesen. Via jQuery und einem Refreshintervall wird dieser Wert aktualisiert und dargestellt. Die Formatierung übernimmt das Stylesheet.<br />
Mit einer Aktualisierung von 5 Sekunden läuft die Sache recht stabil. Bei kleineren Timerwerten kann es zu einem &#8216;Schluckauf&#8217; kommen und falscher oder, im Extremfall, gar keiner Darstellung.</p>
<p>Sei noch erwähnt das es ausschliesslich auf eigenen (Debian-)Servern läuft. Hoster verbieten in der Regel das Ausführen von irgendwelchen Kommandos, wie hier <code>exec</code>.</p>
<p><a href="http://lokalnetz.com/server-realtime-cpu-shellmon/cpu_shellmon/" rel="attachment wp-att-621"><img src="http://lokalnetz.com/wp-uploads/2012/06/cpu_shellmon.png" alt="" title="cpu shellmon" width="509" height="108" class="alignnone size-full wp-image-621" /></a></p>
<pre class="brush: php; title: cpu.php; notranslate">
&lt;?php     
exec('ps aux', $processes);     
foreach($processes as $process)     
{         
    $cols = split(' ', ereg_replace(' +', ' ', $process));         
        if (strpos($cols[2], '.') --&gt; -1)
        {
            $cpuUsage += floatval($cols[2]);
        }
    }
    print($cpuUsage);
?&gt;
</pre>
<pre class="brush: xml; title: index.php; notranslate">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
	&lt;title&gt;Server CPU Load&lt;/title&gt;

	&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js&quot;&gt;&lt;/script&gt;
	&lt;script src=&quot;cpuload.js&quot;&gt;&lt;/script&gt;

	&lt;link href=&quot;style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;
	&lt;div id=&quot;cpuload&quot;&gt;
		&lt;!-- ADDS THE CPULOAD BAR --&gt;
	&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<pre class="brush: css; highlight: [1,10,19]; title: style.css; notranslate">#cpuload {
	background: #F1F1F1;
	border: 1px solid #DDDDDD;
	position: relative;
	height: 100px;
	width: 500px;
	background: repeating-linear-gradient(to bottom right, red, red 5px, white 5px, white 10px);
}

.barcontainer {
	display: block;
	width: 5px;
	height: 100px;
	float: left;
	position: relative;
	overflow: hidden;
}

.bar {
	display: block;
	width: 4px;
	position: absolute;
	bottom: 0;
	border-right: 1px solid white;
	background: #70883E; /* Old browsers */
	background: -moz-linear-gradient(top,  #e2513b 0%, #f4ee42 51%, #70883e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2513b), color-stop(51%,#f4ee42), color-stop(100%,#70883e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e2513b 0%,#f4ee42 51%,#70883e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e2513b 0%,#f4ee42 51%,#70883e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e2513b 0%,#f4ee42 51%,#70883e 100%); /* IE10+ */
	background: linear-gradient(top,  #e2513b 0%,#f4ee42 51%,#70883e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2513b', endColorstr='#70883e',GradientType=0 ); /* IE6-9 */
	background-size: 4px 100px;
	background-position: bottom;
}</pre>
<pre class="brush: jscript; title: cpuload.js; notranslate">
$(document).ready(function() {
	var refreshId = setInterval(function() {
		$.ajax({
			url: &quot;cpu.php&quot;,
			cache: false,
			success: function(text) {

				// Enable this for testing
				// var text = Math.floor(Math.random()*101)

				var trimmed = text.replace(/^\s+|\s+$/g, '') ;
				$(&quot;#cpuload&quot;).prepend('&lt;div class=&quot;barcontainer&quot;&gt;&lt;span style=&quot;height:' + trimmed + 'px&quot; class=&quot;bar&quot;&gt;&lt;/span&gt;&lt;/div&gt;');

				var count = $(&quot;#cpuload .barcontainer&quot;).length;
				if (count &gt; 100) {
					$('#cpuload .barcontainer:last-child').remove();
				}
			}
		})
   }, 5000); // REFRESH TIMER, USE CAREFULLY WITH A LOWER TIMER VALUE!
   $.ajaxSetup({ cache: false });
});
</pre>
<p>Download @ <a href="https://github.com/telekommander/webbased-server-realtime-cpu-shellmon" title="Github">Github</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/server-realtime-cpu-shellmon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InSync Win7 Systray Status Icon Mod</title>
		<link>http://lokalnetz.com/insync-win7-systray-status-icon-mod/</link>
		<comments>http://lokalnetz.com/insync-win7-systray-status-icon-mod/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 18:37:42 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=504</guid>
		<description><![CDATA[Wochenend-Pixelschubsen für die InSync Systray-Status-Icons. InSync, Synchronisation eines lokalen Verzeichnisses mit Google-Docs. Allerdings waren die sichtbaren Statusicons im Systray nicht zu erkennen, wenn das entsprechende Win7 Theme auch &#8220;dunkelschwarz&#8221; eingestellt ist. Abhilfe schafft diese kleine InSync Ressourcen Modifizierung. Damit passt sich InSync den Windows 7 Systray Icons an und wird erkennbar. Instruktionen im Ziparchiv siehe [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://lokalnetz.com/wp-uploads/2012/01/insync_systray_preview.png" rel="lightbox[504]" title="InSync Systray Preview"><img src="http://lokalnetz.com/wp-uploads/2012/01/insync_systray_preview-120x120.png" alt="Insync Win 7 Systray Preview" title="InSync Systray Preview" width="120" height="120" class="alignleft size-thumbnail wp-image-505" /></a>Wochenend-Pixelschubsen für die InSync Systray-Status-Icons.</p>
<p><a href="https://www.insynchq.com">InSync</a>, Synchronisation eines lokalen Verzeichnisses mit <a href="https://docs.google.com/">Google-Docs</a>. Allerdings waren die sichtbaren Statusicons im Systray nicht zu erkennen, wenn das entsprechende Win7 Theme auch &#8220;dunkelschwarz&#8221; eingestellt ist. Abhilfe schafft diese kleine InSync Ressourcen Modifizierung. Damit passt sich InSync den Windows 7 Systray Icons an und wird erkennbar. Instruktionen im Ziparchiv siehe readme.txt.</p>
<p>Download: <a href="http://lokalnetz.com/downloads/insync_systrayicon_mod.zip" title="Insync Systray Icons">Insync Systray Icons</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/insync-win7-systray-status-icon-mod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix Google+ &#8211; WP Lifestream Plugin</title>
		<link>http://lokalnetz.com/fix-google-plus-wp-lifestream-plugin/</link>
		<comments>http://lokalnetz.com/fix-google-plus-wp-lifestream-plugin/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 11:13:05 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=485</guid>
		<description><![CDATA[Im WordPress Lifestream Plugin funktioniert der G+ Lifestream nicht (mehr). Das lässt sich ändern. Im File extension.inc.php unter ../wp-content/plugins/lifestream/extensions/googleplus/ die URL in Zeile 25 ändern von http://plusfeed.appspot.com/ in http://googleplusrss.nodester.com/ Update: Nachdem auch dieser Dienst eingestellt wurde, heisst es Umzug zum nächsten Dienst. Auf Dauer ist es natürlich lästig, ständig irgendwas zu ändern, zumal man es [...]]]></description>
				<content:encoded><![CDATA[<p>Im <a title="Worpress Lifestream Plugin" href="http://wordpress.org/extend/plugins/lifestream/">WordPress Lifestream Plugin</a> funktioniert der G+ Lifestream nicht (mehr). Das lässt sich ändern.</p>
<p>Im File <code>extension.inc.php</code> unter<br />
<code>../wp-content/plugins/lifestream/extensions/googleplus/</code><br />
die URL in Zeile 25 ändern von</p>
<p><del datetime="2012-01-26T11:02:49+00:00"><code>http://plusfeed.appspot.com/</code></del><br />
in<br />
<del><code>http://googleplusrss.nodester.com/</code></del></p>
<p><strong>Update:<br />
</strong>Nachdem auch dieser Dienst eingestellt wurde, heisst es Umzug zum nächsten Dienst.<br />
Auf Dauer ist es natürlich lästig, ständig irgendwas zu ändern, zumal man es nicht immer sofort mitbekommt, ob und wann irgendein Dienst eingestellt worden ist.</p>
<p>Neuer Dienst:</p>
<pre>http://rss2lj.net/g+/</pre>
<p>Bin gespannt wie lange dieser Dienst seine Arbeit aufrechterhält.<br />
So schauts dann aus:</p>
<pre class="brush: php; title: php; notranslate">
function get_url()
{
//  Obsolete Service
//  return &quot;http://googleplusrss.nodester.com/&quot;. $this-&gt;get_option('id');

//  Curent Service
    return &quot;http://rss2lj.net/g+/&quot;. $this-&gt;get_option('id');
}
</pre>
<p>Done.</p>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/fix-google-plus-wp-lifestream-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Network Profile an eigene Domain binden</title>
		<link>http://lokalnetz.com/social-network-profile-an-eigene-domain-binden/</link>
		<comments>http://lokalnetz.com/social-network-profile-an-eigene-domain-binden/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 16:35:32 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=390</guid>
		<description><![CDATA[Sieht auch weitaus schicker aus, die Profile aus Social-Netzwerken unter der eigenen Domain aufzurufen. Dazu ist ein Eintrag in der .htaccess nötig um die Domain-Weiterleitung zu aktivieren: Für Google+&#8230; &#8230; oder auch für XING via Diese URL sieht doch schon besser aus: http://lokalnetz.com/+]]></description>
				<content:encoded><![CDATA[<p>Sieht auch weitaus schicker aus, die Profile aus Social-Netzwerken unter der eigenen Domain aufzurufen. Dazu ist ein Eintrag in der .htaccess nötig um die Domain-Weiterleitung zu aktivieren:<br />
Für Google+&#8230;</p>
<pre class="brush: plain; title: ; notranslate">
Redirect 302 /+ https://plus.google.com/u/0/PROFIL-NUMMER-HIER/posts
Redirect 302 /plus https://plus.google.com/u/0/PROFIL-NUMMER-HIER/posts
</pre>
<p>&#8230; oder auch für XING</p>
<pre class="brush: plain; title: ; notranslate">
Redirect 302 /xing https://www.xing.com/profile/PROFILNAME-HIER
</pre>
<p><a href="http://www.eisy.eu/trend-google-plus-profile-als-verlinken/" title="via">via</a></p>
<p>Diese URL sieht doch schon besser aus:<br />
<a href="http://lokalnetz.com/+">http://lokalnetz.com/+</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/social-network-profile-an-eigene-domain-binden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XING Statusmessage Bookmarklet</title>
		<link>http://lokalnetz.com/xing-statusmessage-bookmarklet/</link>
		<comments>http://lokalnetz.com/xing-statusmessage-bookmarklet/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 15:01:15 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Social Network]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=304</guid>
		<description><![CDATA[Zum schnellen absetzen eine Statusnachricht über XING muss ich wohl nicht viele Worte verlieren. Mich hat aber gestört, dass immer der aktuelle Workflow unterbrochen werden muss. Entweder zurück zur XING-Startseite oder es muss ein neues Tab bzw. Fenster geöffnet werden. Mit einem kleinen Bookmarklet, dass auf die mobile Version von XING zurückgreift, kann man eine [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://lokalnetz.com/wp-uploads/2011/10/xing_status_message.png" rel="lightbox[304]" title="XING Status Message Bookmarklet"><img src="http://lokalnetz.com/wp-uploads/2011/10/xing_status_message-e1319360629421-120x120.png" alt="XING Status Message" title="XING Status Message Bookmarklet" width="120" height="120" class="alignleft size-thumbnail wp-image-334" /></a>Zum schnellen absetzen eine Statusnachricht über XING muss ich wohl nicht viele Worte verlieren. Mich hat aber gestört, dass immer der aktuelle Workflow unterbrochen werden muss. Entweder zurück zur XING-Startseite oder es muss ein neues Tab bzw. Fenster geöffnet werden. Mit einem kleinen Bookmarklet, dass auf die <a href="https://mobile.xing.com/" title="XING Mobile">mobile Version von XING</a> zurückgreift, kann man eine <a href="https://mobile.xing.com/entrystatus.do" title="XING Mobile Statusmessage">Statusmeldung</a> direkt absetzen, unabhängig davon auf welcher Seite man sich gerade befindet.</p>
<p>Einfach den folgenden Link in die Bookmarktoolbar ziehen: <a href="javascript:var d=document,w=window,f='https://mobile.xing.com/entrystatus.do',l=d.location;a=function(){if(!w.open(f,'xingstatus','toolbar=0,resizable=0,scrollbars=0,status=0,width=242,height=460'))l.href=f;};if (/Firefox/.test(navigator.userAgent)) setTimeout(a, 0); else a();void(0)" title="XING Statusmessage Bookmarklet">XING Status</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/xing-statusmessage-bookmarklet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Abhängige Select-Elemente via jQuery</title>
		<link>http://lokalnetz.com/abhangige-select-elemente-via-jquery/</link>
		<comments>http://lokalnetz.com/abhangige-select-elemente-via-jquery/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 17:55:58 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://lokalnetz.com/?p=222</guid>
		<description><![CDATA[Für ein aktuelles Projekt wurden abhängige Select-Boxen benötigt. Das heisst, in der ersten Box sollte ein Vorauswahl selektiert werden, die zweite Box soll die entsprechenden Einträge dazu anzeigen und unnötige entfernen. Da nicht jedesmal ein Datenbankabfrage gestartet werden soll bietet sich hier jQuery mit etwas CSS optimal an. Nach dem der Inhalt der ersten Box [...]]]></description>
				<content:encoded><![CDATA[<p>Für ein aktuelles Projekt wurden abhängige Select-Boxen benötigt.<br />
Das heisst, in der ersten Box sollte ein Vorauswahl selektiert werden, die zweite Box soll die entsprechenden Einträge dazu anzeigen und unnötige entfernen. Da nicht jedesmal ein Datenbankabfrage gestartet werden soll bietet sich hier jQuery mit etwas CSS optimal an.</p>
<pre class="brush: xml; title: Html; notranslate">
&lt;select id=&quot;s1&quot;&gt;
    &lt;option value=&quot;1&quot;&gt;Option 1&lt;/option&gt;
    &lt;option value=&quot;2&quot;&gt;Option 2&lt;/option&gt;
    &lt;option value=&quot;3&quot;&gt;Option 3&lt;/option&gt;
&lt;/select&gt;

&lt;select id=&quot;s2&quot; size=&quot;3&quot;&gt;
    &lt;option class=&quot;val_1&quot; value=&quot;1/1&quot;&gt;Option 1/1&lt;/option&gt;
    &lt;option class=&quot;val_1&quot; value=&quot;1/2&quot;&gt;Option 2/1&lt;/option&gt;
    &lt;option class=&quot;val_2&quot; value=&quot;2/1&quot;&gt;Option 2/1&lt;/option&gt;
    &lt;option class=&quot;val_2&quot; value=&quot;2/2&quot;&gt;Option 2/2&lt;/option&gt;
    &lt;option class=&quot;val_2&quot; value=&quot;2/3&quot;&gt;Option 2/3&lt;/option&gt;
    &lt;option class=&quot;val_3&quot; value=&quot;3/1&quot;&gt;Option 3/1&lt;/option&gt;
    &lt;option class=&quot;val_3&quot; value=&quot;3/2&quot;&gt;Option 3/2&lt;/option&gt;
&lt;/select&gt;
</pre>
<p>Nach dem der Inhalt der ersten Box (#s1) sich geändert hat, werden die Inhalte der zweiten Box (#s2) gefiltert, wobei unnötige Einträge mittels entsprechender Klasse über &#8220;display: none&#8221; versteckt werden.</p>
<pre class="brush: jscript; title: jQuery; notranslate">
$('#s1').change(function() {
    var value = $(this).val();
    $('#s2 option').siblings().css('display', 'none');
    $(this).siblings('select').children('option').each(function() {
        if ($(this).hasClass('val_' + value)) {
            $(this).css('display', 'block')  
        }
    });
});
</pre>
<p><a href="http://jsfiddle.net/telekommander/MZh8R/3/" title="Run Code on jsFiddle">Run this Code on jsFiddle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lokalnetz.com/abhangige-select-elemente-via-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
