Entry tags:
Delicious Glue client updating [solved]
OK, I'm working on an update and port of the Delicious Glue script originally done for LJ. It works as a Client, ergo I'm asking here.
I've got most of what I want to acheive working, including, finally, Icons (the keyword is case sensitive, obvious when you think about it). However, I haven't managed to get post security working--this isn't an issue for me, and therefore lower priority, but I'd imagine some would like it, and would like to include it. I've read through the Wiki entries on both XML-RPC Protocol and XML-RPC Protocol Method: postevent, and worked through what I think the code should be, but it isn't working. My current code is here:
http://notzen.com/mat/delicious-glue.txt (and there's awrite up with the full script to DL here)
I've commented out the security stuff to get the rest working, but this is my first time, ever, messing around with client protocols, and I've had a few requests for copies of the script. What am I doing wrong? Thanks to
andreducker linking to the original post, I have discovered my problem. Missing semi colons.
I've got most of what I want to acheive working, including, finally, Icons (the keyword is case sensitive, obvious when you think about it). However, I haven't managed to get post security working--this isn't an issue for me, and therefore lower priority, but I'd imagine some would like it, and would like to include it. I've read through the Wiki entries on both XML-RPC Protocol and XML-RPC Protocol Method: postevent, and worked through what I think the code should be, but it isn't working. My current code is here:
http://notzen.com/mat/delicious-glue.txt (and there's awrite up with the full script to DL here)
![[profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
no subject
Oh - and to get it running people will need to change the extension from .txt to .php. Which most people probably already know, but it can't hurt to reiterate :->
no subject
It was either a link to the text file, a textarea here, or figuring out which bits of code needed exerpting into a CODE quote. The text file was easiest.
no subject
no subject
no subject
http://community.livejournal.com/lj_clients/207396.html
And it has some discussion of setting security, so you could try that out...
no subject
And yes, solves it completely, have just completed some test posts, just need to comment it properly now.
You know what the problem was? Missing semicolons. FFS
no subject
I assume you're testing using the FF addon for delicious glue recovery (or whatever it was called).
no subject
no subject
no subject
exactlymostly the same as the .txt version. :) (It looks like it changes the indents, though.)no subject
no subject
I had no idea you could do that, at all. That's really really useful. Thank you.