Search the web
Sign In
New User? Sign Up
simpy-user · Simpy User Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
My Simpy Firefox Bookmarklets   Message List  
Reply | Forward Message #300 of 720 |
Firefox has it's cool bookmark keyword feature that I use a lot. I use keywords for quick access to my most used bookmarks, and for searching. Ctrl-L and a few letters is very quick access. Like Otis (see blog), I'm using keywords for searching Simpy. I'm also using keywords for saving links to Simpy.

A lot of the code in these bookmarklets come from other bookmarklets I've seen. I just put it together and added a few tidbits. My keyword is in parens following the title. But you can use any keyword you like. These bookmarklets are new; I'd love to hear about bugs and enhancements.

Simpy Tag Public (st)
Simpy Tag Private (stp)
These bookmarklets add a link to Simpy. Following the keyword in the location bar, enter comma-delimited tags to assign to the new link. If you don't enter any tags, a popup prompts for some. Like the "SimpyThis!" bookmarklet, any selected text on the page is assigned to the new link's note. The difference between the bookmarklets is that one adds a public link, the other a private link.

Simpy Search (ss)
This bookmarklet searches your Simpy links. Following the keyword in the location bar, enter the search query. If you don't enter a query, a popup prompts for it. Parens are added around the query to workaround the bug with OR search queries.

Simpy Search Tags (sst)
This bookmarklet searches tags of your Simpy links. Following thekeyword in the location bar, enter comma-delimited tags to search. If you don't enter any tags, a popup prompts for it. The tags areconverted into a Simpy search query, quoted if needed, and with the AND operator

Unfortunately, Yahoo Groups doesn't want save these bookmarklets as links. So you have to do some work to put each in one line for bookmarking.

Simpy Tag Public (st)
javascript:
q='%s';if(q=='\x25\x73'){q=''}
if(!q){void(q = prompt('Enter comma-delimited tags for this Simpy Link:',''))}
if(q){
    n = ''+ (window.getSelection ? window.getSelection()
        : document.getSelection ? document.getSelection()
        : document.selection.createRange().text);
    location.href='http://www.simpy.com/simpy/LinkAddSave.do?.doneURI='
        +encodeURIComponent(location.href)
        +'&tags='+encodeURIComponent(q)
        +'&href='+escape(location.href)
        +'&title='+encodeURIComponent(document.title)
        +'&accessType=1&n='+encodeURIComponent(note).replace(/ /g, '+');
    }

Simpy Tag Private (stp)
javascript:
q='%s';if(q=='\x25\x73'){q=''}
if(!q){void(q = prompt('Enter comma-delimited tags for this Simpy Link:',''))}
if(q){
    n = ''+ (window.getSelection ? window.getSelection()
        : document.getSelection ? document.getSelection()
        : document.selection.createRange().text);
    location.href='http://www.simpy.com/simpy/LinkAddSave.do?.doneURI='
        +encodeURIComponent(location.href)
        +'&tags='+encodeURIComponent(q)
        +'&href='+escape(location.href)
        +'&title='+encodeURIComponent(document.title)
        +'&accessType=0&n='+encodeURIComponent(note).replace(/ /g, '+');
    }

Simpy Search (ss)
javascript:
q='%s';if(q=='\x25\x73'){q=''}
if (!q) {
    q='' + (window.getSelection ? window.getSelection()
        : document.getSelection? document.getSelection()
        : document.selection.createRange().text);
    void(q = prompt('Enter keywords to search your Simpy Links:', q));
    }
if(q){
    if(q.indexOf(' ')){q='('+q+')'}
    location.href='http://www.simpy.com/simpy/LinkSearch.do?q='
        +encodeURIComponent(q)+'&v=5&src=bookmarklet';
    }

Simpy Search Tags (sst)
javascript:
q='%s';if(q=='\x25\x73'){q=''}
if(!q){
    void(q = prompt('Enter comma-delimited tags to search your Simpy Links:',''))
    }
if(q){
    q=q.split(',');
    for(i=0;i<q.length;i++){
        for(b=0;q[i].charCodeAt(b)<33;b++);
        for(e=q[i].length;q[i].charCodeAt(e-1)<33;e--);
        q[i]=q[i].substring(b,e);
        if(q[i].indexOff(' ')>=0){q[i]='"'+q[i]+'"'}
        q[i]='tags:'+q[i]
        }
    q=q.join(' AND ');
    location.href='http://www.simpy.com/simpy/LinkSearch.do?q='
        +encodeURIComponent(q)+'&v=5&src=bookmarklet';
    }



Thu Apr 6, 2006 3:07 am

dongadoy
Online Now Online Now
Send Email Send Email

Forward
Message #300 of 720 |
Expand Messages Author Sort by Date

Firefox has it's cool bookmark keyword <http://kb.mozillazine.org/Using_keyword_searches> feature that I use a lot. I use keywords for quick access to my most...
Don
dongadoy
Online Now Send Email
Apr 6, 2006
3:16 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help