Kwebble : Blog

  • Easy publishing with the WordPress bookmarklet

    Gepubliceerd op 20 augustus 2005 in Programming. 2 reacties

    WordPress includes a bookmarklet for easy publishing. Use it on a page you want to write about and you get the Write Post form with the title and selected text already filled in. To get the advanced editing form for the new post I applied the WordPress Bookmarklet Hack.

    I also added a line of JavaScript in the <head> part of the bookmarklet.php file to bring the edit window in front automatically:

    <script type="text/javascript">window.focus();</script>
    

    Then I changed the bookmarklet itself to remove the window settings from the created window. That changes the editing window to a complete browser window with all parts available. This is done by changing:

    'scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'
    

    of the bookmarklet to:

    ''
    
    • bookmarklet
    • javascript
    • wordpress

    1 Reactie

      Trackbacks

      1. jammylammy » Easy publishing with the WordPress bookmarklet
      2. richard-heider.de » Trouble Finding Press It Feature in WordPress
    • Rubrieken

      • Artikelen
      • Foto's
      • Links
      • Media
      • Overheid
      • Programming
    • Recente Berichten

      • A trim() method for the JavaScript String class
      • Is u iets opgevallen?
      • Tip: use the axis:axis:1.4 Maven artifact if you need Axis 1.4 support
      • Google Closure tools
      • Google en Microsoft indexeren tweets
    • Gerelateerde berichten

      • A trim() method for the JavaScript String class
      • Google Closure tools
      • Showing related articles in a WordPress blog
      • GMarker title deactivates mouseover event
      • Creating upgradable bookmarklets
    • Abonneren

      • Atom feed Artikelen
      • Atom feed Reacties
    • Archief

    © Rob Schlüter - Contact