<?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>google | Nerdpress.org</title>
	<atom:link href="https://nerdpress.org/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>https://nerdpress.org</link>
	<description>...dev, tech problems and solutions.</description>
	<lastBuildDate>Sun, 03 Feb 2013 10:06:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Create Google XML (Image) Sitemaps in PHP</title>
		<link>https://nerdpress.org/2012/10/20/create-google-xml-image-sitemaps-in-php/</link>
					<comments>https://nerdpress.org/2012/10/20/create-google-xml-image-sitemaps-in-php/#comments</comments>
		
		<dc:creator><![CDATA[Max Girkens]]></dc:creator>
		<pubDate>Sat, 20 Oct 2012 17:09:06 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[xml sitemaps]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=2260</guid>

					<description><![CDATA[<p>Ever wanted to create a Google XML Image Sitemap? This is how it could be done with PHP: That&#8217;s about it. I found it kind of tricky to figure out how to use googles namespaces when working with SimpleXML, so hopefully this might help someone :)</p>
The post <a href="https://nerdpress.org/2012/10/20/create-google-xml-image-sitemaps-in-php/">Create Google XML (Image) Sitemaps in PHP</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Ever wanted to create a Google XML <a title="Image Sitemaps" href="http://support.google.com/webmasters/bin/answer.py?hl=en&amp;answer=178636">Image Sitemap</a>?</p>
<p>This is how it could be done with PHP:<span id="more-2260"></span><br /><script src="https://gist.github.com/3924036.js"></script><noscript><pre><code class="language-php php">header(&quot;Content-type: text/xml; charset=utf-8&quot;);

//create your XML document, using the namespaces
$urlset = new SimpleXMLElement(&#039;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;urlset xmlns=&quot;http://www.sitemaps.org/schemas/sitemap/0.9&quot; xmlns:image=&quot;http://www.google.com/schemas/sitemap-image/1.1&quot; /&gt;&lt;!--?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?--&gt;&#039;);

//iterate over your sites pages or whatever you like

foreach (getMyPagesOrWhatEver() as $item):

    //add the page URL to the XML urlset
    $url = $urlset-&gt;addChild(&#039;url&#039;);
    $url-&gt;addChild(&#039;loc&#039;, $item-&gt;URL&nbsp;);
    $url-&gt;addChild(&#039;lastmod&#039;, $item-&gt;LASTMOD );
    $url-&gt;addChild(&#039;changefreq&#039;, &#039;daily&#039;); &nbsp;//weekly etc.
    $url-&gt;addChild(&#039;priority&#039;, &#039;1.0&#039;);

    //add an image
    if ( $item-&gt;IMAGE ):
        $image = $url-&gt;addChild(&#039;image:image&#039;, null, &#039;http://www.google.com/schemas/sitemap-image/1.1&#039;);
        $image-&gt;addChild(&#039;image:loc&#039;,$item-&gt;IMAGE-&gt;URL, &#039;http://www.google.com/schemas/sitemap-image/1.1&#039;);
        $image-&gt;addChild(&#039;image:caption&#039;,$item-&gt;IMAGE-&gt;ALT_OR_TITLE&nbsp;, &#039;http://www.google.com/schemas/sitemap-image/1.1&#039;);
    endif;

endforeach;

//add whitespaces to xml output (optional, of course)
$dom = new DomDocument();
$dom-&gt;loadXML($urlset-&gt;asXML());
$dom-&gt;formatOutput = true;
//output xml

echo $dom-&gt;saveXML();</code></pre></noscript></p>
<p>That&#8217;s about it.</p>
<p>I found it kind of tricky to figure out how to use googles namespaces when working with SimpleXML, so hopefully this might help someone :)</p>The post <a href="https://nerdpress.org/2012/10/20/create-google-xml-image-sitemaps-in-php/">Create Google XML (Image) Sitemaps in PHP</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
					<wfw:commentRss>https://nerdpress.org/2012/10/20/create-google-xml-image-sitemaps-in-php/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Google&#8217;s closure Tools jetzt opensource</title>
		<link>https://nerdpress.org/2009/11/06/googles-closure-tools-jetzt-opensource/</link>
		
		<dc:creator><![CDATA[Max Girkens]]></dc:creator>
		<pubDate>Fri, 06 Nov 2009 15:09:12 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[closure]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=516</guid>

					<description><![CDATA[<p>Google wirft seine Closure Tools in den open source Topf. Das ist einmal die Closure Library, ein JS Framework. Wenn ich das auf den ersten Blick richtig erkannt habe, geht das in eine ähnliche Richtung wie zb. jQuery UI. Der Closure Compiler ist ein Javascript Optimizer der Code viel viel viel schneller machen soll. Um &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2009/11/06/googles-closure-tools-jetzt-opensource/" class="more-link">Continue reading<span class="screen-reader-text"> "Google&#8217;s closure Tools jetzt opensource"</span></a></p>
The post <a href="https://nerdpress.org/2009/11/06/googles-closure-tools-jetzt-opensource/">Google’s closure Tools jetzt opensource</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Google <a href="http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html">wirft</a> seine Closure Tools in den open source Topf.</p>
<p>Das ist einmal die <a href="http://code.google.com/closure/library">Closure Library</a>, ein JS Framework. Wenn ich das auf den ersten Blick richtig erkannt habe, geht das in eine ähnliche Richtung wie zb. jQuery UI.</p>
<p>Der <a href="http://code.google.com/closure/compiler">Closure Compiler</a> ist ein Javascript Optimizer der Code viel viel viel schneller machen soll.<br />
Um den dann auch weiterhin debuggen zu können gibt es den <a href="http://code.google.com/closure/compiler/docs/inspector.html">Closure Inspector</a> in Form einer Firebug Extension direkt dazu.<span id="more-516"></span></p>
<p>Desweiteren gehören auch noch die <a href="http://code.google.com/closure/templates">Closure Templates</a> zu dem Release, ein &#8220;sprachunabhängiges&#8221; Template System.</p>
<p>Mindestens die ersten beiden davon klingen durchaus interessant, vor allem wenn der Compiler mal hält was google verspricht.</p>
<blockquote><p>The compiler removes dead code, then rewrites and minimizes what&#8217;s left so that it will run fast on browsers&#8217; JavaScript engines. The compiler also checks syntax, variable references, and types, and warns about other common JavaScript pitfalls. These checks and optimizations help you write apps that are less buggy and easier to maintain.</p></blockquote>The post <a href="https://nerdpress.org/2009/11/06/googles-closure-tools-jetzt-opensource/">Google’s closure Tools jetzt opensource</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Google gegen IE</title>
		<link>https://nerdpress.org/2009/09/25/google-gegen-ie/</link>
					<comments>https://nerdpress.org/2009/09/25/google-gegen-ie/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 25 Sep 2009 20:22:49 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<guid isPermaLink="false">https://nerdpress.org/2009/09/25/google-gegen-ie/</guid>

					<description><![CDATA[<p>Wer an der erweiterten Beta-Testphase von Wave teilnehmen will, die in der nächsten Woche beginnt, wird auf Chrome, Safari oder Firefox umsteigen oder Chrome Frame installieren müssen. Viele Stunden, die man in der Vergangenheit mit Wave-Anpassungen für den Internet Explorer verbracht hat, will man in Zukunft in die Verbesserung von Wave für alle Nutzer stecken.</p>
<p>http://www.heise.de/newsticker/Microsoft-warnt-vor-Googles-Chrome-Plugin--/meldung/145891</p>
The post <a href="https://nerdpress.org/2009/09/25/google-gegen-ie/">Google gegen IE</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<blockquote><p>Wer an der erweiterten Beta-Testphase von Wave teilnehmen will, die in der nächsten Woche beginnt, wird auf Chrome, Safari oder Firefox umsteigen oder Chrome Frame installieren müssen. Viele Stunden, die man in der Vergangenheit mit Wave-Anpassungen für den Internet Explorer verbracht hat, will man in Zukunft in die Verbesserung von Wave für alle Nutzer stecken.</p></blockquote>The post <a href="https://nerdpress.org/2009/09/25/google-gegen-ie/">Google gegen IE</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
					<wfw:commentRss>https://nerdpress.org/2009/09/25/google-gegen-ie/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
