]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Bookmark plugin: fix for delicious import with queues enabled
authorBrion Vibber <brion@pobox.com>
Fri, 31 Dec 2010 20:33:51 +0000 (12:33 -0800)
committerBrion Vibber <brion@pobox.com>
Fri, 31 Dec 2010 20:33:51 +0000 (12:33 -0800)
commit3368c33be776e41d603ab1c2149fe8b111877beb
tree0d1c1b5fc41a08105f848e88bbefd6563f3ae341
parentfedfde9bbb3c898328c6395a41c3243d6e97a2bf
Bookmark plugin: fix for delicious import with queues enabled

We were passing DOM nodes directly into the queues for the final bookmark import stage; unfortunately these don't actually survive serialization.
Moved the extraction of properties from the HTML up to the first-stage handler, so now we don't have to worry about moving DOM nodes from one handler to the next. Instead passing an associative array of properties, which is fed into the Bookmark::saveNew by the per-bookmark handler.
plugins/Bookmark/deliciousbackupimporter.php
plugins/Bookmark/deliciousbookmarkimporter.php