On 15-Oct-09, at 6:15 PM, Julien C wrote:
correct me if I'm wrong, but I don't think there's a way right now to
populate the notice form text field from a GET parameter in an URL,
enabling one, for example, to embed a "dent this on identica"-type
button (which you can do with Twitter : example :
http://twitter.com/home?status=Heythere).
Actually,
<a href="javascript:var%
20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=
(e?e():(k)?k():(x?x.createRange().text:0)),f='http://identi.ca//
index.php?action=newnotice',l=d.location,e=encodeURIComponent,g=f
+'&status_textarea=%22'+((e(s))?e(s):e(document.title))+'%22%20from%
20'+l.href;function%20a(){if(!w.open
(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=800,height=570
')){l.href=g;}}a();void(0);"> Post This On Identi.ca </a>
(I got this from http://identi.ca/doc/bookmarklet, which is actually
a broken page right now)
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev