Dokuwiki Delicious Plugin

I would like to have a page on my Dokuwiki about Perl.

I would also like this page to display all my Delicious bookmarks that are tagged with Perl.

I'm trying to use the Dokuwiki Delicious Plugin to do this.

Here are the steps I used to install:

Go to your Dokuwiki Directory

Login to the server, and cd to your dokuwiki directory, and go to lib/plugins

cd <dokuwiki>/lib/plugins

Get the ZIP file from http://www.dokuwiki.org/plugin:delicious#installation

Currently, it's located at http://www2.informatik.hu-berlin.de/~baierer/src/delicious.zip

wget http://www2.informatik.hu-berlin.de/~baierer/src/delicious.zip

Unzip it.

unzip delicious.zip

Now, you need to patch some stuff, because Delicious has changed their JSON format. Go to the newly created delicious directory

cd delicious

Get the patch. A generous user contributed the patch file listed at the bottom of http://www.dokuwiki.org/plugin:delicious to fix the delicious plugin to understand the new JSON feed from Delicious.

<notesmine>/lib/plugins/delicious>wget 

http://vergiss-blackjack.de/delicious.patch

Now, apply the patch

<notesmine>/lib/plugins/delicious

Now, go to config thingy.

I had to download the patch file by using

wget http://vergiss-blackjack.de/delicious.patch

Now, apply the patch using

patch syntax.php delicious.patch

Now, edit your conf/default.php file, and change the diu_user to your username on Delicious. Or, you can use the Admin screen to change your username under the “Delicious” plugin section in the “Configuration Settings” page on your Dokuwiki itself.

vi conf/default.php

There's some other instructions on the web page about copying a JPG file to a directory, and I'm too lazy to figure it out now, but that works.

Almost Done I was then getting some errors that said that some function wasn't understood by PHP, so I had to add this stanza to my .htaccess file at the base of my dokuwiki directory, to get PHP 5.2 to run instead of PHP version 4.4

In <dokuwiki>/.htaccess, put this line at the end:

AddHandler application/x-httpd-php5 .php

You could use something like this:

cd <dokuwiki>
echo AddHandler application/x-httpd-php5 .php >> .htaccess 

Finally, on one of your pages, put this tag, where mytag is some tag that you know is on your Delicious account.

{{delicious>mytag}}

Then, it worked! Here's my Delicious bookmarks that are tagged with Perl:

No bookmarks tagged perl2

Delicious AND

 
dokuwiki_delicious.txt · Last modified: 2008/08/21 22_58 by tookelso
Recent changes RSS feed Creative Commons License Driven by DokuWiki Made on Mac