« Most Commented Posts plugin | Polyphasic sleep » |
Bookmarklet 2 Plugin
Purpose
Quickly blog about another webpage. This plugin automatically adds a link to the page into the body of your blog post.
Installation
Requires b2evolution 1.7 or later
- Download this file: _bookmarklet2.plugin.php.txt.
- Remove the .beta.txt from the filename and upload it to your b2evolution plugins folder.
- In the backoffice, go to Settings > Plugins and find Bookmarklet 2 in the list. Click "install".
Usage
This is just a slight modification to the Bookmarklet plugin that comes pre-installed with b2evolution. I'll explain how that one works, then tell how mine is different. A bookmarklet is a link that you find in the Tools tab of the backoffice. You right click and choose to bookmark the link (or 'Add to Favorites' for Internet Explorer users). Then, when you're browsing a web site that you want to blog about, just click on your bookmark (I keep mine on a toolbar where it's easy to get to) and as soon as you do, a window pops up with a trimmed down version of the b2evolution backoffice. It automatically adds to your new blog post a link to the page you were on when you clicked the bookmarklet. And if select some text before clicking, it will get added, too. My version of the plugin is just like the stock version, except that it adds the link to the post body, rather than to the "Link to URL" field (which I never user).
Misc info
This was originally a hack I made right after switching from Movable Type to b2evolution. Some of the people I share a site with wanted the bookmarklet to work the way it did in Movable Type.
5 comments
I like the idea of this plugin, but I run into a few issues:
- You state that this needs 1.7, but you can only download 1.6 from the site. Are you getting the Bleeding edge release from CVS?
- Whenever I download (from here and at http://www.brendoman.com/dbc/2005/09/21/b2evolution_plugin_bookmarklet_2) the file I get has either an error or a snippet telling me not to access the file directly. Am I missing something?
Thanks! I used your description and it was very easily for me.
Thanks once again!
Fatal error: Class ‘Plugin’ not found in /home/.kalmuk/brendoman/brendoman.com/dev/blogs/plugins/_bookmarklet2.plugin.php.txt on line 15
I get the above error message when I access the link for the bookmarklet 2 plugin
The URL to your bookmarklet2-plugin gives a 404… The one in the older post from 2005 gets parsed, even though its called .php.txt… can you fix that?
Recent comments