|
>
>Hi Duncan,
Hi Jim,
>
>As you know, I've been using your weblogger bookmarklet since it was
>released (or close to it).
Yes. I'm delighted others have found it useful even though it's a hack...
>
>One thing that's always irked me a little is that it doesn't have a
>"label" popup. I tried adding one manually by putting in the SELECT
>tag / OPTION tags from the #newMessageForm in my weblog page but
>then for some reason IE5/Mac didn't like that.
No doubt when I come to use labels it'll irk me too ;-). I'll have a
look at adding this...
>
>I had an idea this morning.
>
>Instead of generating the form with the bookmarklet....
...I'm listening...
>
>Create a WeblogView that "just" has the #newMessageForm macro in it.
>Open the URL to that form in the new window.
>
>The "small implementation detail" ;-) that I have to figure out is
>how to get the page title/url/selected text into the page being
>rendered.
...and I don't know the answer to this either although it's been in
the back of my mind to investigate the feasibility of this. I don't
think a document.write() will do the trick.
>
>Any ideas? I don't know enough JavaScript to figure out the best
>strategy. Once I had a strategy I could probably implement it
>myself (but go ahead if you want to... LOL! :-))
I would love to crack this too. It would open up a lot of
possibilities. The main issue with anything other than a weblog post
is dealing with the hidden sessionid that's embedded in reply pages,
and so forth. IIRC I asked Seth at all to consider some form of
'bookmarklet' API to allow normal messages to be constructed by
javascript. There are authentication/security implications I believe.
Maybe when the XML-RPC interface is implemented? Until then let me
dig around and see if a 'strategy' is possible.
Cheers,
Duncan
|