Apr 10 2008
Wordpress-Plugin zur Anbindung von Bibsonomy
Seit einiger Zeit nutze ich Bibsonomy um u.a. meine Veröffentlichungen zur verwalten. Jetzt habe ich nach einem eleganten Weg gesucht meine Veröffentlichungen auch auf meiner Homepage einzufügen. Bei der Recherche dazu bin ich auf das Plugin von Christian Schenk gestossen, welches die Bibsonomy Tag Cloud in Wordpress anzeigen kann. Dieses Plugin habe ich erweitert.
Mit der Erweiterung ist es nun auch möglich alle Einträge in Bibsonomy zu einem bestimmten Tag in eine Wordpress-Seite zu integrieren. So habe ich z.B. meine persönlichen Veröffentlichungen in Bibsonomy mit dem Tag “myPubl” versehen. Weiterhin habe ich fopen-Befehle durch php curl-Instruktionen ersetzt um so den Problemen mit allow_url_fopen=false aus dem Weg zu gehen.
Die folgende Anleitung habe ich ebenfalls von Christian Schenk übernommen um einige Punkte erweitert.
Installation
Download the plugin, unzip it into the wp-content/plugins directory and activate it. After that, you’ll have to configure the plugin in the options menu:
- Username
- Enter your username.
- Minimum tag frequency
- Determines how often a tag must be used to appear in the output.
- Bibsonomy tag to identify own references
- Enter the tag you used in Bibsonomy to identify your references (e.g. myPubl).
If you don’t enter these values, the sky will fall on your head and the plugin won’t work.
Usage
Since this plugin is a filter you don’t have to touch any PHP files, you just place some HTML comment inside your post or page. This comment gets replaced with the corresponding output from BibSonomy.
Tag list or cloud
If you want to show a tag list/cloud use this comment:
<!-- bibsonomy-tags -->
Reference list
If you want to show a reference list use this comment:
<!-- bibsonomy-referencelist -->
Notes
This plugin was tested with WordPress 2.5.x, but it should work with earlier version too.
