Opera Users’ Save to Simpy

Introducing BR’s Super Fast Simpy

Summary

The following is a paraphrased summary of the super handy “Super Fast Simpy Bookmarklet” tool– in hopes that the reader might understand why i’m excited about this discovery: Reitzammer’s Add-to-Simpy Bookmarklet is programmed to add a new Bookmark to Simpy.com (i.e. to save an http:// URL to a user-account at Simpy.com), including any user-defined tags to be associated with the URL page content (a.k.a. labels), and a user-defined Note for the content itself (optional, but easily via any selected text within the page content itself).
 
To learn the specifics of using the Super-fast Add-to-Simpy Bookmarklet with the Mozilla browser, please visit Reitzammer’s web log for the original text.

What makes it easy, and fast is that the user need only type into the address bar, replacing the page URL with the tags / labels he or she wishes to associate with that page, and hit the Enter key (as if to say ‘save it now!’). The URL is magically added to the User’s Simpy.com hosted bookmarks account when the javascript within the Bookmarklet is executed; at the moment the Enter key is pressed
If you followed my paraphrased description, above, you might realize that the URL is saved, along with the tags entered into the address-bar, all without ever leaving the page itself– and that, my friends, is what makes this little bit of javascript-genius so very cool!

If it’s not my code, then what’s my point?

Okay, okay– it’s a bookmarklet, right? The guy likes the bookmarklet, and he’s raving about it. Got it.

However, if i didn’t write the code, then why am I trying to write about it as if I actually have something to say? Because I’d like for the Opera users out there to have equal ease of use of Simpy.com (my personal favourite service of its kind). In order to use Reitzammer’s javascript, as he intended it for Firefox, the Opera user must take a different course in order to acheive the same effect.
It is my intent to explain precisely how to utilize– to the same end– Reitzammer’s bookmarklet, within the Opera 9.x context

I believe it may be useful to the reader to understand a primary difference I’ve recognized between the Opera bookmark properties, and those of Mozilla.


The following JavaScript code is embedded in Reitzammer’s Add-to-Simpy Bookmarklet for Firefox (and Seamonkey). It has been modified here, for ease of reading, in that I’ve inserted line-breaks. As a rule, any Bookmarklet or Favelet should be coded without the use of line-breaks for the purpose of maintaining consistent execution by the user-agent, sans confusion which might occur as caused by the instance of a natural line-break in javascript code.

javascript:q=location.href;e = ”+ (window.getSelection ? window.getSelection() :document.getSelection ? document.getSelection() :document.selection.createRange().text);
p=document.title;
window.location.href=
‘http://www.simpy.com/simpy/LinkAddSave.do?.doneURI=
‘+encodeURIComponent(q)+’&tags=
‘+encodeURIComponent(’%s’)+’&href=
‘+escape(q)+’&title=’+encodeURIComponent(p)+
‘&accessType=1&note=’+encodeURIComponent(e).replace(/ /g, ‘+’);

NOTE: Any bookmarklet code– that is, code meant to be executed arbitrarily by the browser through some method other than parsing an html page, must be written on one-line ONLY. ANY line-breaks (LF/CR) may be interpreted as the end of the code, thereby executing only some of your intended function (e.g. It functions such that the user need only type a Keyword into the browser’s address bar, proceeded by a set of user-defined tags [a.k.a. labels], and then hit Enter to execute the JavaScript expression. )

So that it functions as intended, to use the Simpy Bookmarklet in Opera, the Opera user must be aware that Opera Bookmarks do not have a Keyword attribute. However, the Opera Search Engines do have a similar functionality. Access the Opera Search Engine tab through the Opera Main Menu: Tools > Preferences > Search. Take note that each Search Engine has an associated Keyword.

By clicking Add under the Opera Preferences, Search tab, we can add the Simpy Bookmarklet JavaScript into the Address field (instead of the expected Search URL). To obtain the bookmarklet JavaScript, simpy right-click on the bookmarklet link at the Author’s web site (above), and select “Copy Link Address”. Be sure to give this ‘Search’ item a Name, and associate a new Keyword with the new item, such as simpy (by default, ’s’ is already taken by Yahoo! Shopping, so ’simpy’ as Keyword may be easiest to remember).

Once you’ve saved your new Search Engine item (the Simpy Bookmarklet), you can access it just as the author intended, by typing your Keyword in Opera’s address bar, and following it with relevant “Tags”. NOTE: unlike the author’s tutorial which uses a space as delimiter for the tags, you must separate your Tags using a ‘comma’ punctuation, or the tags will be saved as one big clump or words.

Now go out and do all the research you want, using your new Simpy Bookmarklet to add any interesting, useful pages to your Simpy account, quickly and easily through your favourite browser, Opera! Be sure to go back to your Simpy account after your first few tries, to verify that your bookmarklet is functioning properly. If so, then congratulations to you!
Add a Simpy Bookmark : Bookmarklet for Opera. Bella Pazzo: Purezza nel Sognare. Sabarese, J. Rev. 2008-01-19. Available at http://my.opera.com/jsabarese/blog/simpy-bookmarklet-for-opera (Accessed: 2008-02-22)
Note: The Author of the cited text is… ‘Me’ (your NoviceNotes.com author!). I merely included the reference to avoid confusion, or question of legitimacy. ;-)

Leave a Reply »»

BACK TO TOP [ javascript enabled ]