DeliciousJSON
Add tags for displaying your bookmarks on del.icio.us, from JSON.
Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.
Copyright 2007-2009 Six Apart Ltd. Some Rights Reserved
Mark Stosberg
September 11, 2008 7:02 PM | Reply
The download link is broken. This one appears to be correct:
http://weeeblog.net/publish/mt/plugins/DeliciousJSON.zip
Mark Stosberg
September 12, 2008 6:25 AM | Reply
Installing this may cause "run-periodic-tasks" to emit the following warning every time it runs:
""my" variable $out masks earlier declaration in same scope at /home/mark/www/mt/plugins/DeliciousJSON/DeliciousJSON.pl line 66."
This be resolved by modifying line 66 to remove "my " from the line. The software will function the same, but there will be no warning.
okayama
September 12, 2008 9:35 AM | Reply
Thanks a lot!
I uploaded fixed version and made download link to correct url.
Mark Stosberg
September 21, 2008 7:17 PM | Reply
Using the following character in a description of a link can cause the plugin to fail: "’". (I think it's a "Smart Quote") The error is like:
"Bad string at 500 in ... at /usr/home/mark/www/mt/extlib/JSON/Parser.pm line 288. "
JSON::Parser module is supplied by MT and is now rather out of date. Using "JSON::PP" is now recommended instead. It's possible that this bug would be fixed if MT just updated their JSON modules to the latest recommended versions.
Mark Stosberg
October 6, 2008 10:30 PM | Reply
Here's a fix for the "bad string" error above:
Download and unpack the new JSON module
Copy the contents of the "lib" directory in that perl distribution to a new directory named "extlib" under mt/plugins/DeliciousJSON.
Modify DeliciouJSON.pl by searching for "jsonToObj" and changing that word to be "from_json". Save the file.
That's it. It should work. The plugin author could incorporate these updates into a future release.
okayama
October 9, 2008 9:58 AM | Reply
Thanks a lot!
I'll try and upload fixed version later.
okayama
December 17, 2008 10:08 AM | Reply
Very thanks!
I uploaded modified version. Latest JSON module libraries are bundled into "extlib" directory.
Maybe, "from_json" method has been renamed "decode_json". I got un error in using "from_json" method.