{"id":843,"date":"2006-11-27T01:00:36","date_gmt":"2006-11-26T23:00:36","guid":{"rendered":"http:\/\/www.mummila.net\/nuudelisoppa\/index.php\/?p=843"},"modified":"2006-11-27T01:00:36","modified_gmt":"2006-11-26T23:00:36","slug":"improving-blosxoms-bookmarklet-for-wikieditish","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2006\/11\/27\/improving-blosxoms-bookmarklet-for-wikieditish\/","title":{"rendered":"Improving blosxom&#39;s bookmarklet for wikieditish"},"content":{"rendered":"<p><a href=\"http:\/\/www.blosxom.com\/plugins\/edit\/bookmarklet.htm\"><b>Tatsuhiko Miyagawa&#8217;s<\/b> bookmarklet<\/a> is a plugin for use with another Blosxom plugin, <a href=\"http:\/\/www.blosxom.com\/plugins\/edit\/wikieditish.htm\">wikieditish<\/a>. I&#8217;m relying heavily on the tiny bit of javascript provided by the bookmarklet on my <a href=\"http:\/\/mummila.net\/ytyset\/\">linkblog<\/a>, and came up with a small improvement.<\/p>\n<p>The script already (at v.0.03) picks up any selection made by the user, and uses that for a title.<br \/>\n<a>0){void(window.open(&#8216;$blosxom::url&#8217;+path+&#8217;.wikieditish?bookmarklet=1&amp;title=&#8217;+escape(d.title)+&#8217;&amp;url=&#8217;+escape(d.location.href)+&#8217;&amp;quote=&#8217;+escape(t),&#8217;_blank&#8217;,&#8221;))};&#8221;&gt;My version<\/a> uses the same data to fill in the prompt for entry path with a reasonable default; it is converted to lowercase and then all the whitespaces are replaced with dashes. The resulting path resembles that of <a href=\"http:\/\/codex.wordpress.org\/Using_Permalinks#mod_rewrite_.28.22Pretty_Permalinks.22.29\">WordPress&#8217; so-called Pretty permalinks<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tatsuhiko Miyagawa&#8217;s bookmarklet is a plugin for use with another Blosxom plugin, wikieditish. I&#8217;m relying heavily on the tiny bit of javascript provided by the bookmarklet on my linkblog, and came up with a small improvement. The script already (at v.0.03) picks up any selection made by the user, and uses that for a title. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9387,26],"class_list":["post-843","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-blog","tag-open-source"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=843"}],"version-history":[{"count":0,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/843\/revisions"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}