• Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
DeliciousJSON

Add tags to show your bookmarks on del.icio.us, from JSON.

Requirements

7 Comments

The download link is broken. This one appears to be correct:

http://weeeblog.net/publish/mt/plugins/DeliciousJSON.zip

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.

Thanks a lot!

I uploaded fixed version and made download link to correct url.

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.

Here's a fix for the "bad string" error above:

  1. Download and unpack the new JSON module

  2. Copy the contents of the "lib" directory in that perl distribution to a new directory named "extlib" under mt/plugins/DeliciousJSON.

  3. 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.

Thanks a lot!

I'll try and upload fixed version later.

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.