Javascript Checkup

Creating and modifying plugins.
Post Reply
chrisbra
Regular
Posts: 63
Joined: Wed Jun 08, 2005 4:12 pm

Javascript Checkup

Post by chrisbra »

Hi,
I just created kind of a simple Javascript Plugin. Imagine someone blogs about a term you do not understand. Now you could just go, open a new window and research the term yourself. Instead I created a javascript that will check the current selection and query e.g. google or wikipedia in a new browser window. If you like to include it in your sidebar do the following:
1. open the administration panel and go to Configure Plugins.
2. Click on install new Sidebar Plugin.
3. Select HTML Nugget and install it
4. <b>Leave the Title Window empty</b>
5. paste the script you find here into the main window
6. <b>optionally</b> Read the top of the script and change any configuration variable you like (e.g. enable/disable additional search engines)
7. Ensure that <i>Perform Markup Transformations </i> is set to no
8. click on save.
9. Enjoy
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Javascript Checkup

Post by garvinhicking »

Did you look at the serendipity_plugin_wikipeda plugin? It offers this functionality (but only queries wikipedia) also with JS means...?!

Thanks for getting involved in serendipity and telling us about your plugin!

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
chrisbra
Regular
Posts: 63
Joined: Wed Jun 08, 2005 4:12 pm

Post by chrisbra »

No, I did not. But I will have a look at it. So many plugins and so less time to try them out :-)
Post Reply