WordPress Plugin: Snapr

23.10.: new Update! Version 1.51
New script version, adds support for Safari.

Please sroll down for english description.

Snapr ist ein ziemlich simples Plugin von mir mit nur einem einzigen Zweck: Es integriert WebSnapr-Previews in WordPress. Wie das aussieht siehst Du, wenn Du mit der Maus über den folgenden Link fährst: WebSnapr

Die Installation ist sehr einfach: Das Plugin XSD_Snapr herunterladen, entpacken und den kompletten Ordner in das WordPress-Pluginverzeichnis kopieren (/wp-content/plugins/). In der Admin-Oberfläche aktivierst Du unter „Plugins“ das Plugin und die Installation ist abgeschlossen. Neu hinzugekommen ist nun in der Version 1.5 eine Option-Page im Admin Menü. Hier kannst Du wählen, ob das Plugin für JEDEN externen Link innerhalb der Blogeinträge Preview Bubbles einblenden soll oder ob diese nur bei ausgewählten Links manuell eingebunden werden sollen.
Um das Preview manuell für einen Link zu aktivieren, füge den Eintrag

class=“previewlink“

hinzu. Der HTML-Code sollte dann wie folgt aussehen:

Snapr.png

Das war schon alles. Beide alten Versionen des Plugins sind nun … Müll 😉
Das Plugin sollte nun auch unter PHP 4 problemlos laufen.

Das Plugin verwendet den Original-Script von WebSnapr, ich habe lediglich einige Kleinigkeiten angepasst, um den Script in das Plugin integrieren zu können. Bitte verlinkt in Eurem Blog auf WebSnapr, wenn ihr dieses Plugin verwendet.

English:

Snapr simply integrates WebSnapr-Script in your WordPress blog. How it will look you can see if you move your mousepointer over the following link: WebSnapr

After downloading and extracting copy the complete folder „XSD_Snapr“ with all included files into your wordpress plugin directory „/wp-content/plugins/“ and activate the plugin in the Admin-area. Snapr 1.5 adds now a new entry in your Options Menu in WP Admin. There you can select, if you want to show preview bubbles for EVERY external link in your content or only in some manually selected.
To enable WebSnapr Preview Bubble manually you have to include

class=“previewlink“

in your link. It should look like

Snapr.png

That’s all. Please delete older versions of this plugin. Snapr should work now with PHP 4.

Snapr uses the original script of WebSnapr with some modifications to include the script in my wordpress plugin. Please link to WebSnapr if you use this plugin.

Tags: , ,