<?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>Stefan&#039;s Blog</title>
	<atom:link href="http://www.stefan-motz.de/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stefan-motz.de/wordpress</link>
	<description>coding, scouting, diy, ideas …</description>
	<lastBuildDate>Wed, 25 Apr 2012 21:31:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A clock made with QR codes</title>
		<link>http://www.stefan-motz.de/wordpress/2012/04/a-clock-made-with-qr-codes/</link>
		<comments>http://www.stefan-motz.de/wordpress/2012/04/a-clock-made-with-qr-codes/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 21:31:56 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[common]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=316</guid>
		<description><![CDATA[While discussing funny widgets for Pebbles with my colleagues, we came up with a clock face made of a qr code. And now there&#8217;s the online version of it: qr-clock.com Have fun!]]></description>
			<content:encoded><![CDATA[<p>While discussing funny widgets for <a href="http://www.kickstarter.com/projects/597507018/pebble-e-paper-watch-for-iphone-and-android?ref=live">Pebbles</a> with my colleagues, we came up with a clock face made of a qr code.</p>
<p>And now there&#8217;s the online version of it: <a href="http://qr-clock.com">qr-clock.com</a></p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2012/04/a-clock-made-with-qr-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating KML Image Overlay from GeoTIFF or tfw file</title>
		<link>http://www.stefan-motz.de/wordpress/2012/04/creating-kml-image-overlay-from-geotiff-or-tfw-file/</link>
		<comments>http://www.stefan-motz.de/wordpress/2012/04/creating-kml-image-overlay-from-geotiff-or-tfw-file/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 15:52:43 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[common]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=317</guid>
		<description><![CDATA[As stated in my previous post my wife came around with a large map from work. After compressing the image we wanted to visualize the map within Google Earth. I was quite surprised to see, that there is no small, common tool for that, so I sat down and wrote some (php) code, which I [...]]]></description>
			<content:encoded><![CDATA[<p>As stated in my <a title="Converting/scaling large TIFF images from a GIS" href="http://www.stefan-motz.de/wordpress/2012/04/convertingscaling-large-tiff-images-from-a-gis/">previous post</a> my wife came around with a large map from work.</p>
<p>After compressing the image we wanted to visualize the map within Google Earth. I was quite surprised to see, that there is no small, common tool for that, so I sat down and wrote some (php) code, which I would like to share with you. (Be warned: all the scripts only work for UTM.)</p>
<p>This is, what we will have in the end:</p>
<pre class="brush: php; title: ; notranslate">
    $image = &quot;~/Desktop/geo-image-overlay.tif&quot;;
    $geoData = getGeoTIFF($image);
    $kml = geoTiffToKML($exifData, array(&quot;title&quot; =&gt; &quot;GeoTIFF&quot;, &quot;imgFile&quot; =&gt; &quot;~/Desktop/geo-image-overlay.tif&quot;));
    print $kml;
</pre>
<p>&nbsp;</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!--?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?--&gt;

GeoTIFF

    ~/Desktop/geo-image-overlay.tif

    51.5724
    51.2639
    7.1835
    6.9287
</pre>
<p>The KML-code can be copied an pasted into Google Earth.</p>
<p>First of all, the geographic reference must be obtained either from the image&#8217;s EXIF-Data or from the separate <a href="http://en.wikipedia.org/wiki/World_file">WorldFile</a>, which, by convention has the same name as the original image but it&#8217;s own extension (tfw for tif images, jpw for jpg).</p>
<p>The easy way: use GeoTIFF information and read it with <a href="http://www.sno.phy.queensu.ca/~phil/exiftool/">exiftool</a> by Phil Harvey.</p>
<pre class="brush: php; title: ; notranslate">
define(&quot;EXIFTOOL_BIN&quot;, &quot;/usr/bin/env exiftool&quot;);
function getGeoTIFF($file) {
    $data = array();
    $cmd = sprintf(EXIFTOOL_BIN.&quot; -GeoTIFF:* -EXIF:* -json '%s'&quot;, $file);
    exec($cmd, $data, $val);
    if ($val == 0) {
        $geo = json_decode(implode(&quot;\n&quot;, $data), true);
        return $geo[0];
    } else {
        return array();
    }
}
</pre>
<p>It&#8217;s a little strange, but part of the relevant &#8220;GeoTIFF&#8221; information is stored in an images &#8220;EXIF&#8221; data.</p>
<p>If you don&#8217;t use exiftool but if you have a WorldFile for your image, you might as well use zthe following function:</p>
<pre class="brush: php; title: ; notranslate">
define(&quot;UTM_DEFAULT_ZONE&quot;, 32);

function tfw2GeoTIFF($file, $zone=UTM_DEFAULT_ZONE) {
    $tfwPath = substr($file, 0, strrpos($file, &quot;.&quot;)).&quot;.tfw&quot;;
    $tifPath = substr($file, 0, strrpos($file, &quot;.&quot;)).&quot;.tif&quot;;

    $tfw = file($tfwPath);
    list($w, $h) = getimagesize($tifPath, $info);

    $data = array();
    $data['SourceFile'] = $tifPath;
    $data['Projection'] = &quot;UTM zone &quot;.$zone;
    $data['ModelTiePoint'] = sprintf(&quot;%f %f 0 %f %f 0&quot;, $tfw[1], $tfw[2], $tfw[4] + (0), $tfw[5]);
    $data['PixelScale'] = sprintf(&quot;%f %f 0&quot;, $tfw[0], $tfw[3]);
    $data['ImageHeight'] = $h;
    $data['ImageWidth'] = $w;

    return $data;
}
</pre>
<p>The main problem is, that the WorldFile doesn&#8217;t contain any information about the reference system and units used within the file &#8211; you just have to know it. Who on earth defines such a &#8220;format&#8221;?<br />
I just assumed to get UTM geo information and you have to assume the right zone.<br />
For convenience the function uses the same attribute names as the GeoTIFF spec.</p>
<p>As said, I just assumed UTM data. As KML files have to contain coordinates as WGS84 I searched for a <a href="http://stackoverflow.com/questions/9203295/open-source-php-function-for-converting-utm-coordinates-to-latitude-and-longtitu">conversion script which I found on stack overflow</a>.<br />
Here is the PHP adaption:</p>
<pre class="brush: php; title: ; notranslate">
function utm2wgs84($utmZone,$east,$north) {
  // This is the lambda knot value in the reference
  $LngOrigin = deg2rad($utmZone * 6 - 183);

  // The following set of class constants define characteristics of the
  // ellipsoid, as defined my the WGS84 datum.  These values need to be
  // changed if a different dataum is used.

  $FalseNorth = 0.;   // South or North?
  //if (lat &lt; 0.) FalseNorth = 10000000.  // South or North?   //else          FalseNorth = 0.   $Ecc = 0.081819190842622;       // Eccentricity   $EccSq = $Ecc * $Ecc;   $Ecc2Sq = $EccSq / (1. - $EccSq);   $Ecc2 = sqrt($Ecc2Sq);      // Secondary eccentricity   $E1 = ( 1 - sqrt(1-$EccSq) ) / ( 1 + sqrt(1-$EccSq) );   $E12 = $E1 * $E1;   $E13 = $E12 * $E1;   $E14 = $E13 * $E1;   $SemiMajor = 6378137.0;         // Ellipsoidal semi-major axis (Meters)   $FalseEast = 500000.0;          // UTM East bias (Meters)   $ScaleFactor = 0.9996;          // Scale at natural origin   // Calculate the Cassini projection parameters   $M1 = ($north - $FalseNorth) / $ScaleFactor;   $Mu1 = $M1 / ( $SemiMajor * (1 - $EccSq/4.0 - 3.0*$EccSq*$EccSq/64.0 -     5.0*$EccSq*$EccSq*$EccSq/256.0) );   $Phi1 = $Mu1 + (3.0*$E1/2.0 - 27.0*$E13/32.0) * sin(2.0*$Mu1)     + (21.0*$E12/16.0 - 55.0*$E14/32.0)           * sin(4.0*$Mu1)     + (151.0*$E13/96.0)                          * sin(6.0*$Mu1)     + (1097.0*$E14/512.0)                        * sin(8.0*$Mu1);   $sin2phi1 = sin($Phi1) * sin($Phi1);   $Rho1 = ($SemiMajor * (1.0-$EccSq) ) / pow(1.0-$EccSq*$sin2phi1,1.5);   $Nu1 = $SemiMajor / sqrt(1.0-$EccSq*$sin2phi1);   // Compute parameters as defined in the POSC specification.  T, C and D   $T1 = tan($Phi1) * tan($Phi1);   $T12 = $T1 * $T1;   $C1 = $Ecc2Sq * cos($Phi1) * cos($Phi1);   $C12 = $C1 * $C1;   $D  = ($east - $FalseEast) / ($ScaleFactor * $Nu1);   $D2 = $D *  $D;   $D3 = $D2 * $D;   $D4 = $D3 * $D;   $D5 = $D4 * $D;   $D6 = $D5 * $D;   // Compute the Latitude and Longitude and convert to degrees   $lat = $Phi1 - $Nu1*tan($Phi1)/$Rho1 *     ( $D2/2.0 - (5.0 + 3.0*$T1 + 10.0*$C1 - 4.0*$C12 - 9.0*$Ecc2Sq)*$D4/24.0      + (61.0 + 90.0*$T1 + 298.257223563*$C1 + 45.0*$T12 - 252.0*$Ecc2Sq - 3.0*$C12)*$D6/720.0 );   $lat = rad2deg($lat);   $lon = $LngOrigin +     ( $D - (1.0 + 2.0*$T1 + $C1)*$D3/6.0       + (5.0 - 2.0*$C1 + 28.0*$T1 - 3.0*$C12 + 8.0*$Ecc2Sq + 24.0*$T12)*$D5/120.0) / cos($Phi1);   $lon = rad2deg($lon);   // Returns a PC_LatLon object   return array(&quot;lat&quot; =&gt; $lat, &quot;lon&quot; =&gt; $lon);
}
</pre>
<p>And finally here comes the main function to produce the <a href="http://en.wikipedia.org/wiki/Keyhole_Markup_Language">KML</a>.<br />
(Sorry for the lame tempting mechanism&#8230;)</p>
<pre class="brush: php; title: ; notranslate">
define(&quot;KML_TEMPLATE&quot;, '&lt;!--?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?--&gt;

%s

    %s

    %f
    %f
    %f
    %f

');

function geoTiffToKML($geoTiff, $options = array()) {
    $scale = isset($options['imgScale'])?1/$options['imgScale']:1;
    $file = isset($options['imgFile'])?$options['imgFile']:$geoTiff['SourceFile'];
    $title = isset($options['title'])?$options['title']:&quot;No Name&quot;;

    // calculate n, s, w, e

    // projection analysis
    if (substr($geoTiff['Projection'], 0, 8) == &quot;UTM zone&quot;) {
        $zone = intval(substr($geoTiff['Projection'], 8));

        list($rot1, $rot2, $u1, $eUTM, $nUTM, $u2) = explode(&quot; &quot;, trim($geoTiff['ModelTiePoint']));
        list($scaleNS, $scaleWE, $u) = explode(&quot; &quot;, trim($geoTiff['PixelScale']));

        $iw = $geoTiff['ImageWidth'];
        $ih = $geoTiff['ImageHeight'];

        $wUTM = abs($scale * $scaleWE * $iw) + $eUTM;
        $sUTM = $nUTM - abs($scale * $scaleNS * $ih);

        $ne = utm2wgs84($zone,$eUTM,$nUTM);
        $n = $ne['lat'];
        $e = $ne['lon'];
        $sw = utm2wgs84($zone,$wUTM,$sUTM);
        $s = $sw['lat'];
        $w = $sw['lon'];

        return sprintf(KML_TEMPLATE, $title, $file, max($n, $s), min($n, $s), max($e, $w), min($e, $w));

    } else {
        die('No support for other projections than UTM');
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2012/04/creating-kml-image-overlay-from-geotiff-or-tfw-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting/scaling large TIFF images from a GIS</title>
		<link>http://www.stefan-motz.de/wordpress/2012/04/convertingscaling-large-tiff-images-from-a-gis/</link>
		<comments>http://www.stefan-motz.de/wordpress/2012/04/convertingscaling-large-tiff-images-from-a-gis/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 23:18:13 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[common]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=309</guid>
		<description><![CDATA[My wife works as in a land surveying office. This weekend she brought a compressed TIFF image, which was a rasterized version of a cities GIS data. In compression mode, the file took about 90MB space, but as the image is 56706 px by 47255 px in 8Bit greyscale, it holds a little less than [...]]]></description>
			<content:encoded><![CDATA[<p>My wife works as in a land surveying office. This weekend she brought a compressed TIFF image, which was a rasterized version of a cities GIS data.</p>
<p>In compression mode, the file took about 90MB space, but as the image is 56706 px by 47255 px in 8Bit greyscale, it holds a little less than 2.5 GB of information.</p>
<p>There was no chance opening it in Photoshop, nor was ImageMagick able to create a scaled version.</p>
<p>Finally vips (<a href="http://www.vips.ecs.soton.ac.uk">VIPS &#8211; VipsWiki</a>) did the job:</p>
<p><span style="font-family: monospace;">vips im_affinei_all input.tif output.tif vsqbs 0.4 0 0 0.4 0 0</span></p>
<p>Vips offers different interpolators: nearest, bilinear, bicubic, lbb, nohalo, vsqbs; the latest worked best for our original material.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2012/04/convertingscaling-large-tiff-images-from-a-gis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DropBox Gallery Demo</title>
		<link>http://www.stefan-motz.de/wordpress/2011/07/dropbox-gallery-demo/</link>
		<comments>http://www.stefan-motz.de/wordpress/2011/07/dropbox-gallery-demo/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 17:19:10 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=300</guid>
		<description><![CDATA[It&#8217;s been a while since I first mentioned my Dropbox Gallery Plugin. Up to today I did not release it for two major reasons: You have to get your own dropbox developer key to use the plugin . That&#8217;s a barrier for most users. I did not manage to (and didn&#8217;t really try to) optimize [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I first mentioned my Dropbox Gallery Plugin.</p>
<p>Up to today I did not release it for two major reasons:</p>
<ol>
<li>You have to get your own dropbox developer key to use the plugin . That&#8217;s a barrier for most users.</li>
<li>I did not manage to (and didn&#8217;t really try to) optimize memory consumption when the images are cached. Right now you have to reload the page several times, until all images are cached. That&#8217;s a real show stopper.</li>
</ol>
<p>After all I do know, that some people might like to use the plugin nevertheless and perhaps they might even optimize it.</p>
<p>Please drop me a line if you use the Dropbox gallery , enhanced it or even pushed it to github or google code.</p>
<p><a href="http://www.stefan-motz.de/wordpress/wp-content/uploads/2011/07/dropbox-gallery.tar.gz">dropbox-gallery.tar.gz</a></p>
<p>If you ant to use the plugin, make sure to configure it and to get a Dropbox API-Key.<br />
It&#8217;s recommended to use <a title="WP-prettyPhoto" href="http://wordpress.org/extend/plugins/wp-prettyphoto/">WP-prettyPhoto</a> along with the dropbox gallery.</p>
<a class="dropbox_gallery_link" rel="wp-prettyPhoto[c77cc17daa697fe71e59e19d8974dafe]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_cd11a4f603b256adecd46343f9cf78d0"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_f5c702e67803467b7c4c19a33f73b01e"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[c77cc17daa697fe71e59e19d8974dafe]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_6710cb3b5d63b1d6a2a1ded2dc3952ea"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_e70feb591c72bd953df5616968b9beb6"/></a>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2011/07/dropbox-gallery-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery.printQr: use QR-Codes for your Print-Stylesheet with Google Charts API and jQuery</title>
		<link>http://www.stefan-motz.de/wordpress/2011/03/use-qr-codes-for-your-print-stylesheet-with-google-charts-api-and-jquery/</link>
		<comments>http://www.stefan-motz.de/wordpress/2011/03/use-qr-codes-for-your-print-stylesheet-with-google-charts-api-and-jquery/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 23:41:38 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[common]]></category>
		<category><![CDATA[printQr]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=291</guid>
		<description><![CDATA[It&#8217;s a common practice to make the URIs of links visible in a print styleheets via CSS: Quite often you would not like to type a cryptic url by hand. Here is what you may utilize jQuery.printQr for. Here is all you have to do: These lines of code will add QR Codes for all [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a common practice to make the URIs of links visible in a print styleheets via CSS:</p>
<pre class="brush: css; title: ; notranslate">
@media print {
a:after {
content: &quot; (&quot; attr(href) &quot;)&quot;;
}
}
</pre>
<p>Quite often you would not like to type a cryptic url by hand. Here is what you may utilize jQuery.printQr  for.</p>
<p>Here is all you have to do:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script src=&quot;jquery.printqr.js&quot; type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
$(document).ready(function() {
    $('a').printQr();
});
&lt;/script&gt;
</pre>
<p>These lines of code will add QR Codes for all links to the bottom of the page when you print it.<br />
I built a little <a title="printQr jQuery Plugin" href="http://www.stefan-motz.de/oss/printQR/" target="_blank">demo page</a>.</p>
<p>Have fun with it, I&#8217;m interested in some feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2011/03/use-qr-codes-for-your-print-stylesheet-with-google-charts-api-and-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magic Earth: Unsere Welt in 3D</title>
		<link>http://www.stefan-motz.de/wordpress/2011/03/magic-earth-unsere-welt-in-3d/</link>
		<comments>http://www.stefan-motz.de/wordpress/2011/03/magic-earth-unsere-welt-in-3d/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 22:46:04 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[common]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=285</guid>
		<description><![CDATA[Seit ein paar Tagen ist das Buch &#8220;Magic Earth: Unsere Welt in 3D&#8221; im Handel erhältlich, in dem auch eine meiner Peru-3D-Aufnahmen abgedruckt ist. Mein Beleg-Exemplar ist auch bei mir angekommen. Ein wenig schade ist, dass die Bilder über die Doppelseite und damit über den Falz gehen. Dafür gibt es schöne Fotos und Relief-Karten in [...]]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://rcm-de.amazon.de/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;nou=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=02331net-21&#038;o=3&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;asins=3577145099" style="float:right;width:120px;height:240px;margin-left:10px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
<p>Seit ein paar Tagen ist das Buch &#8220;Magic Earth: Unsere Welt in 3D&#8221; im Handel erhältlich, in dem auch eine meiner Peru-3D-Aufnahmen abgedruckt ist. Mein Beleg-Exemplar ist auch bei mir angekommen.</p>
<p>Ein wenig schade ist, dass die Bilder über die Doppelseite und damit über den Falz gehen.</p>
<p>Dafür gibt es schöne Fotos und Relief-Karten in 3D rund um den Globus.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2011/03/magic-earth-unsere-welt-in-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image Galleries from DropBox</title>
		<link>http://www.stefan-motz.de/wordpress/2011/03/image-galleries-from-dropbox/</link>
		<comments>http://www.stefan-motz.de/wordpress/2011/03/image-galleries-from-dropbox/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 23:17:09 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[common]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=280</guid>
		<description><![CDATA[My previous post gave a little sneak peek to my very first wordpress plugin &#8220;Dropbox Gallery&#8221;. Although it is not ready for press right now, I&#8217;ll tell you about its features and advantages. No (manual) upload needed All you do is drag a file to your Dropbox folder. You should upload an image with a [...]]]></description>
			<content:encoded><![CDATA[<p>My previous post gave a little sneak peek to my very first wordpress plugin &#8220;Dropbox Gallery&#8221;.<br />
Although it is not ready for press right now, I&#8217;ll tell you about its features and advantages.</p>
<p><strong>No (manual) upload needed</strong><br />
All you do is drag a file to your Dropbox folder. You should upload an image with a reasonable filesize, so don&#8217;t use your 20 megapixel raw image. Thumbnailing is done by dropbox.</p>
<p><strong>Caching, not copying</strong><br />
The images from your Dropbox are cached for faster access. The cache has a configurable lifetime.</p>
<p><strong>Update galleries or individual pictures</strong><br />
On the other hand every new revision of an image is detected and updated. You altered your image in Photoshop? No need to update your image in WordPress.</p>
<p><strong>Choose any folder from your Dropbox account</strong><br />
You may choose any folder to create an image gallery out of its contents. All images of the folder you chose are displayed in your article.</p>
<p><strong>And here is what you get</strong><br />
<a class="dropbox_gallery_link" rel="wp-prettyPhoto[6d74d400679488e8b58409fb2d553ad1]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_79af3ccfd8ab3ccef6bbe44202550744"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_8fd071deac0d04f709af29188cd0eeda"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[6d74d400679488e8b58409fb2d553ad1]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_023c983748c3ede4144506e17aac729c"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_2a4e1a64c3936d2b23284f372d5f95ef"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[6d74d400679488e8b58409fb2d553ad1]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_f847bfd8f97719edaa73079c7ca50025"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_91da6c7e569a0f9fdef4073c5f2b3d01"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[6d74d400679488e8b58409fb2d553ad1]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_2ed9bcb888cbce6fd2072d52d6dd8d83"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_afd0daa55b07ef63026e9803e36d901d"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[6d74d400679488e8b58409fb2d553ad1]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_1a4773dc77556125dda430c71c89c43f"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_a3a508bba43cd14733ed322c06159410"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2011/03/image-galleries-from-dropbox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Connect Photo Galleries from DropBox with your WordPress Blog</title>
		<link>http://www.stefan-motz.de/wordpress/2010/08/connect-photo-galleries-from-dropbox-with-your-wordpress-blog/</link>
		<comments>http://www.stefan-motz.de/wordpress/2010/08/connect-photo-galleries-from-dropbox-with-your-wordpress-blog/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 21:17:06 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[common]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=273</guid>
		<description><![CDATA[Today I wrote a tiny Plug-In to incorporate Dropbox Photo-Folders into a WordPress Blog.]]></description>
			<content:encoded><![CDATA[<p>Today I wrote a tiny Plug-In to incorporate Dropbox Photo-Folders into a WordPress Blog.</p>
<a class="dropbox_gallery_link" rel="wp-prettyPhoto[aef04e0014869cf0add4ab103c6ce4ed]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_c62f3b20a1fd709f26469440c295480a"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_4327945f300ebc1dd4a6dc996ff63dac"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[aef04e0014869cf0add4ab103c6ce4ed]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_ca05930e78944d62ba01fc02d728dcf4"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_8352cd4a0f0060cd100dfc5208366a10"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[aef04e0014869cf0add4ab103c6ce4ed]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_da71fe4d3f3adcfa5be8867d1e95f7c7"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_c730929d389851ad73607011e8b0ac6b"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[aef04e0014869cf0add4ab103c6ce4ed]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_9ae5bf086ab1586c44c0f30cf989344d"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_26c006299314b93a9877146d0c777fc4"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[aef04e0014869cf0add4ab103c6ce4ed]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_9ad57654b03cb801fe130c1538339c45"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_c8eddf6e3ebca1d6a8430d3fe4f7c0ae"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[aef04e0014869cf0add4ab103c6ce4ed]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_57a0ae5ab8fa762d0db157b77583afeb"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_6e6bc0355925d76974fca42ea5cdb4fc"/></a><a class="dropbox_gallery_link" rel="wp-prettyPhoto[aef04e0014869cf0add4ab103c6ce4ed]" href="http://www.stefan-motz.de/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_be3cb968590ce76fda312fa9cba89ae9"><img src="/wordpress/wp-content/plugins/dropbox-gallery/dropbox_gallery_image.php?hash=dbgc_8d7605104dd21eb3c343c761718786ee"/></a>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2010/08/connect-photo-galleries-from-dropbox-with-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ein Nachmittag im Zoo in 3D</title>
		<link>http://www.stefan-motz.de/wordpress/2010/08/ein-nachmittag-im-zoo-in-3d/</link>
		<comments>http://www.stefan-motz.de/wordpress/2010/08/ein-nachmittag-im-zoo-in-3d/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 14:25:16 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[common]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=252</guid>
		<description><![CDATA[Der erste Beitrag im Jahr 2010 &#8211; hatte fast vergessen, dass ich ein Blog habe&#8230; Anbei einige 3D Fotos aus dem Wuppertaler Zoo.]]></description>
			<content:encoded><![CDATA[<p>Der erste Beitrag im Jahr 2010 &#8211; hatte fast vergessen, dass ich ein Blog habe&#8230;</p>
<p>Anbei einige 3D Fotos aus dem <a href="http://zoo-wuppertal.de/">Wuppertaler Zoo</a>.</p>
<p><a href="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Pinguintunnel-3D.jpg" rel="wp-prettyPhoto[g252]"><img class="alignleft size-thumbnail wp-image-259" title="Pinguintunnel-3D" src="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Pinguintunnel-3D-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Löwinnen-3D.jpg"><img class="alignleft size-thumbnail wp-image-258" title="Löwinnen-3D" src="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Löwinnen-3D-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Erdmännchen-3D.jpg"><img class="alignleft size-thumbnail wp-image-257" title="Erdmännchen-3D" src="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Erdmännchen-3D-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Elefantenbulle-3D.jpg" rel="wp-prettyPhoto[g252]"><img class="alignleft size-thumbnail wp-image-256" title="Elefantenbulle-3D" src="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Elefantenbulle-3D-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Elefanten_2-3D.jpg" rel="wp-prettyPhoto[g252]"><img class="alignleft size-thumbnail wp-image-254" title="Elefanten_2-3D" src="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Elefanten_2-3D-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Eisbären-3D.jpg"><img class="alignleft size-thumbnail wp-image-253" title="Eisbären-3D" src="http://www.stefan-motz.de/wordpress/wp-content/uploads/2010/03/Eisbären-3D-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2010/08/ein-nachmittag-im-zoo-in-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Suche mit dem REST-API von pfadis.com</title>
		<link>http://www.stefan-motz.de/wordpress/2009/12/suche-mit-der-rest-api-von-pfadis-com/</link>
		<comments>http://www.stefan-motz.de/wordpress/2009/12/suche-mit-der-rest-api-von-pfadis-com/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 18:28:36 +0000</pubDate>
		<dc:creator>moldi</dc:creator>
				<category><![CDATA[pfadis.com]]></category>

		<guid isPermaLink="false">http://www.stefan-motz.de/wordpress/?p=245</guid>
		<description><![CDATA[Fortsetzung von &#8220;API für pfadis.com&#8221; Suche mit Orts- oder Stammesnamen Nachfolgend ein Beispiel zur Suche mit der pfadis.com API: http://pfadis.com/app/api/rest/Unit?q= schwerte&#38;short=true Wie unschwer zu erkennen ist, ist &#8220;q&#8221; der Suchparameter. Mit &#8220;short=true&#8221; wird ein übersichtliches Ergebnis ohne weitere Infos zu den gefundenen Stämmen/Bezirken/etc. geliefert: Die Suche hat genau ein Ergebnis geliefert: den Stamm St. Marien [...]]]></description>
			<content:encoded><![CDATA[<p>Fortsetzung von &#8220;<a href="http://www.stefan-motz.de/wordpress/2009/12/api-fur-pfadis-com/">API für pfadis.com</a>&#8221;</p>
<p><strong>Suche mit Orts- oder Stammesnamen</strong></p>
<p>Nachfolgend ein Beispiel zur Suche mit der pfadis.com API:</p>
<p><a href="http://pfadis.com/app/api/rest/Unit?q=schwerte&amp;short=true">http://pfadis.com/app/api/rest/Unit?q= schwerte&amp;short=true</a></p>
<p>Wie unschwer zu erkennen ist, ist &#8220;q&#8221; der Suchparameter. Mit &#8220;short=true&#8221; wird ein übersichtliches Ergebnis ohne weitere Infos zu den gefundenen Stämmen/Bezirken/etc. geliefert:</p>
<pre class="brush: jscript; title: ; notranslate">
{
    &quot;result&quot;: [
        {
            &quot;id&quot;:507,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/507&quot;,
            &quot;fullname&quot;:&quot;16\/02\/04 | Stamm St. Marien (Schwerte)&quot;,
            &quot;type&quot;:&quot;Unit&quot;
        }
    ],
    &quot;page&quot;:1,
    &quot;rpp&quot;:20,
    &quot;total&quot;:1,
    &quot;previous_page&quot;:null,
    &quot;next_page&quot;:null,
    &quot;q&quot;:&quot;schwerte&quot;
}
</pre>
<p>Die Suche hat genau ein Ergebnis geliefert: den Stamm St. Marien Schwerte. Gesucht werden kann nach Stammesnamen und Ortsbezeichnungen.</p>
<p><strong>Suche mit geografischem Bezug</strong></p>
<p>Als Suchparameter &#8220;q&#8221; eignen sich auch Ortsbezogene Angaben. So können Stämme (bzw, um genau zu sein, Stämme, denen eine Adresse zugeordnet ist) in der Nähe eines bestimmten PLZ-Bereiches gefunden werden:</p>
<p><a href="http://pfadis.com/app/api/rest/Unit?q=58239&amp;dist=10&amp;short=true">http://pfadis.com/app/api/rest/Unit?q=58239&amp;dist=10&amp;short=true</a></p>
<p>Der Parameter &#8220;dist&#8221; gibt den Radius in Kilometern an, in dem gesucht werden soll.</p>
<pre class="brush: jscript; title: ; notranslate">
{
    &quot;result&quot;:[
        {
            &quot;id&quot;:507,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/507&quot;,
            &quot;fullname&quot;:&quot;16\/02\/04 | Stamm St. Marien (Schwerte)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:0
        },
        {
            &quot;id&quot;:514,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/514&quot;,
            &quot;fullname&quot;:&quot;16\/01\/21 | Stamm Berghofen (Dortmund-Berghofen)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:5.98
        },
        {
            &quot;id&quot;:526,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/526&quot;,
            &quot;fullname&quot;:&quot;16\/01\/07 | Stamm Dortmund-Soelde (Dortmund-Soelde)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:6.26
        },
        {
            &quot;id&quot;:516,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/516&quot;,
            &quot;fullname&quot;:&quot;16\/01\/19 | Stamm Bonifaten 80 (Dortmund-Lichtendorf\/S\u00f6lderholz)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:6.26
        },
        {
            &quot;id&quot;:518,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/518&quot;,
            &quot;fullname&quot;:&quot;16\/01\/17 | Stamm St. Ewaldi (Dortmund-Aplerbeck)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:6.76
        },
        {
            &quot;id&quot;:508,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/508&quot;,
            &quot;fullname&quot;:&quot;16\/02\/03 | Stamm Hagen-Boele (Hagen-Boele\/Helfe)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:7.3
        },
        {
            &quot;id&quot;:509,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/509&quot;,
            &quot;fullname&quot;:&quot;16\/02\/02 | Stamm St. Bonifatius (Hagen-Hohenlimburg)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:8.24
        },
        {
            &quot;id&quot;:522,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/522&quot;,
            &quot;fullname&quot;:&quot;16\/01\/13 | Stamm Marcel Callo (Dortmund-H\u00f6rde)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:8.35
        },
        {
            &quot;id&quot;:498,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/498&quot;,
            &quot;fullname&quot;:&quot;16\/02\/16 | Stamm Arche (Iserlohn)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:9.06
        },
        {
            &quot;id&quot;:506,
            &quot;url&quot;:&quot;http:\/\/pfadis.com\/app\/api\/rest\/Unit\/506&quot;,
            &quot;fullname&quot;:&quot;16\/02\/06 | Stamm St. Elisabeth (Hagen)&quot;,
            &quot;type&quot;:&quot;Unit&quot;,
            &quot;distance&quot;:9.59
        }
    ],
    &quot;page&quot;:1,
    &quot;rpp&quot;:20,
    &quot;total&quot;:10,
    &quot;previous_page&quot;:null,
    &quot;next_page&quot;:null,
    &quot;q&quot;:&quot;58239&quot;
}
</pre>
<p>Der Suchparameter &#8220;q&#8221; nimmt auch zwei mit Semikolon getrennte Dezimalzahlen entgegen und interpretiert diese dann als geografischen Punkt:</p>
<p><a href="http://pfadis.com/app/api/rest/Unit?q=51.4;7.6&#038;dist=10&#038;short=true">http://pfadis.com/app/api/rest/Unit?q=51.4;7.6&#038;dist=10&#038;short=true</a></p>
<p>Konkrete Codebeispiele folgen.</p>
<p>Viel Spaß beim Testen &#8211; Feedback ist erwünscht.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stefan-motz.de/wordpress/2009/12/suche-mit-der-rest-api-von-pfadis-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

