DropBox Gallery Demo

15. Juli 2011 moldi Kommentare ausgeschaltet

It’s been a while since I first mentioned my Dropbox Gallery Plugin.

Up to today I did not release it for two major reasons:

  1. You have to get your own dropbox developer key to use the plugin . That’s a barrier for most users.
  2. I did not manage to (and didn’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’s a real show stopper.

After all I do know, that some people might like to use the plugin nevertheless and perhaps they might even optimize it.

Please drop me a line if you use the Dropbox gallery , enhanced it or even pushed it to github or google code.

dropbox-gallery.tar.gz

If you ant to use the plugin, make sure to configure it and to get a Dropbox API-Key.
It’s recommended to use WP-prettyPhoto along with the dropbox gallery.

Kategoriencoding Tags:

jQuery.printQr: use QR-Codes for your Print-Stylesheet with Google Charts API and jQuery

18. März 2011 moldi Kommentare ausgeschaltet

It’s a common practice to make the URIs of links visible in a print styleheets via CSS:

@media print {
a:after {
content: " (" attr(href) ")";
}
}

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:

<script src="jquery.printqr.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
    $('a').printQr();
});
</script>

These lines of code will add QR Codes for all links to the bottom of the page when you print it.
I built a little demo page.

Have fun with it, I’m interested in some feedback.

Kategoriencoding, common, printQr Tags:

Magic Earth: Unsere Welt in 3D

8. März 2011 moldi Kommentare ausgeschaltet

Seit ein paar Tagen ist das Buch “Magic Earth: Unsere Welt in 3D” 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 3D rund um den Globus.

Kategorien3D, common Tags:

Image Galleries from DropBox

3. März 2011 moldi 1 Kommentar

My previous post gave a little sneak peek to my very first wordpress plugin “Dropbox Gallery”.
Although it is not ready for press right now, I’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 reasonable filesize, so don’t use your 20 megapixel raw image. Thumbnailing is done by dropbox.

Caching, not copying
The images from your Dropbox are cached for faster access. The cache has a configurable lifetime.

Update galleries or individual pictures
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.

Choose any folder from your Dropbox account
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.

And here is what you get

Kategoriencoding, common Tags:

Connect Photo Galleries from DropBox with your WordPress Blog

22. August 2010 moldi Kommentare ausgeschaltet

Today I wrote a tiny Plug-In to incorporate Dropbox Photo-Folders into a WordPress Blog.

Kategoriencoding, common Tags:

Ein Nachmittag im Zoo in 3D

22. August 2010 moldi Kommentare ausgeschaltet

Der erste Beitrag im Jahr 2010 – hatte fast vergessen, dass ich ein Blog habe…

Anbei einige 3D Fotos aus dem Wuppertaler Zoo.

Kategoriencommon Tags:

Suche mit dem REST-API von pfadis.com

14. Dezember 2009 moldi Kommentare ausgeschaltet

Fortsetzung von “API für pfadis.com

Suche mit Orts- oder Stammesnamen

Nachfolgend ein Beispiel zur Suche mit der pfadis.com API:

http://pfadis.com/app/api/rest/Unit?q= schwerte&short=true

Wie unschwer zu erkennen ist, ist “q” der Suchparameter. Mit “short=true” wird ein übersichtliches Ergebnis ohne weitere Infos zu den gefundenen Stämmen/Bezirken/etc. geliefert:

{
    "result": [
        {
            "id":507,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/507",
            "fullname":"16\/02\/04 | Stamm St. Marien (Schwerte)",
            "type":"Unit"
        }
    ],
    "page":1,
    "rpp":20,
    "total":1,
    "previous_page":null,
    "next_page":null,
    "q":"schwerte"
}

Die Suche hat genau ein Ergebnis geliefert: den Stamm St. Marien Schwerte. Gesucht werden kann nach Stammesnamen und Ortsbezeichnungen.

Suche mit geografischem Bezug

Als Suchparameter “q” 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:

http://pfadis.com/app/api/rest/Unit?q=58239&dist=10&short=true

Der Parameter “dist” gibt den Radius in Kilometern an, in dem gesucht werden soll.

{
    "result":[
        {
            "id":507,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/507",
            "fullname":"16\/02\/04 | Stamm St. Marien (Schwerte)",
            "type":"Unit",
            "distance":0
        },
        {
            "id":514,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/514",
            "fullname":"16\/01\/21 | Stamm Berghofen (Dortmund-Berghofen)",
            "type":"Unit",
            "distance":5.98
        },
        {
            "id":526,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/526",
            "fullname":"16\/01\/07 | Stamm Dortmund-Soelde (Dortmund-Soelde)",
            "type":"Unit",
            "distance":6.26
        },
        {
            "id":516,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/516",
            "fullname":"16\/01\/19 | Stamm Bonifaten 80 (Dortmund-Lichtendorf\/S\u00f6lderholz)",
            "type":"Unit",
            "distance":6.26
        },
        {
            "id":518,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/518",
            "fullname":"16\/01\/17 | Stamm St. Ewaldi (Dortmund-Aplerbeck)",
            "type":"Unit",
            "distance":6.76
        },
        {
            "id":508,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/508",
            "fullname":"16\/02\/03 | Stamm Hagen-Boele (Hagen-Boele\/Helfe)",
            "type":"Unit",
            "distance":7.3
        },
        {
            "id":509,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/509",
            "fullname":"16\/02\/02 | Stamm St. Bonifatius (Hagen-Hohenlimburg)",
            "type":"Unit",
            "distance":8.24
        },
        {
            "id":522,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/522",
            "fullname":"16\/01\/13 | Stamm Marcel Callo (Dortmund-H\u00f6rde)",
            "type":"Unit",
            "distance":8.35
        },
        {
            "id":498,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/498",
            "fullname":"16\/02\/16 | Stamm Arche (Iserlohn)",
            "type":"Unit",
            "distance":9.06
        },
        {
            "id":506,
            "url":"http:\/\/pfadis.com\/app\/api\/rest\/Unit\/506",
            "fullname":"16\/02\/06 | Stamm St. Elisabeth (Hagen)",
            "type":"Unit",
            "distance":9.59
        }
    ],
    "page":1,
    "rpp":20,
    "total":10,
    "previous_page":null,
    "next_page":null,
    "q":"58239"
}

Der Suchparameter “q” nimmt auch zwei mit Semikolon getrennte Dezimalzahlen entgegen und interpretiert diese dann als geografischen Punkt:

http://pfadis.com/app/api/rest/Unit?q=51.4;7.6&dist=10&short=true

Konkrete Codebeispiele folgen.

Viel Spaß beim Testen – Feedback ist erwünscht.

Kategorienpfadis.com Tags:

API für pfadis.com

13. Dezember 2009 moldi Kommentare ausgeschaltet

pfadis.com hat ein API bekommen. Ein REST-API, um genau zu sein. Bisher empfängt und liefert es Daten im JSON-Format.

Zum Erforschen des API empfehle ich die Verwendung von Firefox mit JSONView-AddOn. Damit lässt sich wunderbar im Browser sehen und verfolgen, welche Daten und URIs geliefert werden.

Bevor ich lange erzähle, hier ein Beispiel:

http://pfadis.com/app/api/rest/Unit

{
    result : [],
    page: 1,
    rpp: 20,
    total: 8290,
    previous_page: null,
    next_page: "http://pfadis.com/app/api/rest/Unit?page=2",
    q: null
}

Diese URL zeigt alle Units (Stämme, Bezirke, Diözesen aber auch Arbeitskreise und Stufen) an. Der obige Aufruf liefert 20 Einträge pro Seite im (oben leeren) “result” Array. Mit “previous_page” und “next_page” werden die passenden URLs zum durchforsten aller Ergebnisse mitgeliefert.

Fortsetzung “Suche mit dem REST-API”

Kategorienpfadis.com Tags:

Mehr Suchmaschinen für Glims

3. Oktober 2009 moldi Kommentare ausgeschaltet

Glims ist eine sehr praktische Erweiterung für Safari, die unter anderem mehr Suchmaschinen zum Suchfeld hinzufügt. Darüber hinaus können Suchanfragen aus der Adresszeile heraus gestartet werden. Pro Suchmaschine wird ein Kürzel definiert, z.B. “g” für Google, so dass die Eingabe “g tag der deutschen einheit” in die Adresszeile die entsprechenden Suchergebnisse bei Google auswirft.

Leider sind (noch) keine deutschen Nachschlagewerke vorgegeben. Über die Einstellungen von Glims können eigene Suchmaschinen hinzugefügt werden. Nachfolgend die Such-Urls für eine kleine Auswahl von Seiten:

Google-DE
http://www.google.de/search?hl=de&q=#query#
g
Amazon.de
http://www.amazon.de/s/ref=nb_ss?url=search-alias%3Daps&field-keywords=#query#
a
Wikikpedia-DE
http://de.wikipedia.org/w/index.php?search=#query#&go=Go
w
dict.leo.org
http://dict.leo.org/ende?lp=ende&lang=de&search=#query#
d
Ebay-DE
http://search.ebay.de/#query#
e
Flickr-CC
http://www.flickr.com/search/?q=#query#&l=commderiv&ct=0&mt=all&adv=1
fcc
  • Google-DE

    http://www.google.de/search?hl=de&q=#query#

  • Amazon.de

    http://www.amazon.de/s/ref=nb_ss?url=search-alias%3Daps&field-keywords=#query#

  • Wikikpedia-DE

    http://de.wikipedia.org/w/index.php?search=#query#&go=Go

  • dict.leo.org – Übersetzung deutsch/englisch – englisch/deutsch

    http://dict.leo.org/ende?lp=ende&lang=de&search=#query#

  • Ebay-DE

    http://search.ebay.de/#query#

  • Flickr-CC – Flickr Bildsuche, beschränkt auf CreativeComons-Bilder mit Freigabe

    http://www.flickr.com/search/?q=#query#&l=commderiv&ct=0&mt=all&adv=1

Diese Suchmaschinen kann man sich als Property-Datei auch gerne hier herunterladen.
Gespeichert wird diese Datei in ~/Library/Application Support/Glims

Kategoriencoding Tags: ,

3D pictures from Peru

26. September 2009 moldi Kommentare ausgeschaltet

On our vacation to Peru I took several 3D pictures with my self made 3D camera. You will need red/cyan anaglyph glasses to see the 3D effect.


Adobe pyramid in Lima


Plants and animals of Peru


Ica, Nazcar and Maria-Reiche-Museum


Arequipa, Peru / Convent de Santa Catalina / Misti


Cañon de Colca


Tiwanacu, Bolivia


Chacaltaya mountain, Bolivia


Moon Valley, La Paz, Bolivia


Lake Titicaca, Copacabana, Uro Islands


Inca ruins and stones, Cusco, Peru


Wiñya Wayna and Inka trail


Machu Picchu in 3D

Kategoriencommon, hobbies Tags: , ,
mmm