/[drupal]/contributions/tricks/blogit/bookmarklet_firefox.txt
ViewVC logotype

Contents of /contributions/tricks/blogit/bookmarklet_firefox.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Oct 8 15:54:44 2004 UTC (5 years, 1 month ago) by weitzman
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
a bookmarklet for blog posting
1 Here is a bookmarklet for blog posting in Drupal using a Mozilla browser such as FireFox.
2
3 INSTALLATION
4 - edit the text below, substituting your Drupal site URL where it says 'www.tejasa.com'
5 - create a new bookmark with this as your URL (all on one line):
6
7 javascript:u=document.location.href;t=document.title;s='<p><cite>'+window.getSelection()+'</cite><p>';pre='<p>[via '+escape('<a href="')+escape(u)+escape('">')+escape(t) + escape('</a>]:</p>'); void(window.open("http://www.tejasa.com/node/add/blog?edit[title]="+escape(t)+'&edit[body]='+pre+escape(s),'_blank','width=710,height=500,status=yes,resizable=yes,scrollbars=yes'));
8
9 USAGE
10 On any web page, select the interesting text and then press your bookmark. The blog form will popup with the title and body prefilled. Just add your comments and press 'Submit' on the blog form.

  ViewVC Help
Powered by ViewVC 1.1.2