| 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.
|