[Duncan's Home] Duncan's Jotter
faq -  feedback -  home 
Members
Logon   -   Sign Up

RE: Weblogger Bookmarklet

Msg#913 - RE: Weblogger Bookmarklet

In response to: 904 | <<Back | Next>> | Top of Thread | View Full Thread | Reply | Edit

Posted: 2/27/2001 by Duncan
Modified: 2/27/2001 by Duncan

Hi Jim, this is not exactly what you were asking for but until I can suss out the better way this'll probably do. The downside of the following hack is that it doesn't handle changes you may make to your labels. You'll need to go to the normal weblog page, view the source and edit the <select name=\'labelId\' size=\'1\'><option....</option></select> based on your label preferences.

So, between <form method=\'POST\' action=\'http://www.free-conversant.com/YOURSITE/YOURWEBLOGPATH/weblog_post\'> and <input... paste in (your version of) the following
<select name=\'labelId\' size=\'1\'><option value=\'\\'>[None]</option><option value=\'0000001\'>Highest</option><option value=\'0000002\'>Very High</option><option value=\'0000003\'>High</option><option value=\'0000004\'>Low</option><option value=\'0000005\'>Very Low</option><option value=\'0000006\'>Lowest</option></select><br>

Here's what it looks like as a whole:

javascript:var t=document.title;var u=document.location.href;var s=document.getSelection();if (s!='') s='\n<blockquote>'+s+'</blockquote>';var cta='<a href=\''+u+'\'>'+t+'</a>'+s;var wf='width=640,height=480,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=1,resizable=1'; var snipper=window.open ('', 'Snipper', wf);with(snipper.document){write('<form method=\'POST\' action=\'http://www.free-conversant.com/YOURSITE/YOURWEBLOGPATH/weblog_post\'><select name=\'labelId\' size=\'1\'><option value=\'\'>[None]</option><option value=\'0000001\'>Highest</option><option value=\'0000002\'>Very High</option><option value=\'0000003\'>High</option><option value=\'0000004\'>Low</option><option value=\'0000005\'>Very Low</option><option value=\'0000006\'>Lowest</option></select><br><input type=\'text\' name=\'subject\' value=\''+t+'\' size=\'80\'><br><textarea name=\'body\' rows=\'15\' cols=\'80\' wrap=\'virtual\'>'+cta+'</textarea><br><input type=\'submit\' name=\'newmessage\' value=\'Create New Message\'></form>');void(close())}

HTH,

Duncan

Enclosures:
None.

Replies:
Re: Weblogger Bookmarklet ( 2/27/2001 by Jim Roepcke, Label: None. )
ajoweijfasldfkjwe on 27/02/2001 4:29 AM, Duncan at duncan@smeed.org wrote:

Tell ICANN to keep their hands off .org!


Run the HTML validator for this page
Webmaster: web at smeed.org