I'll start with the short one.... > Is it possible to put all the code in snippet.xml? It might be, but I don't know how. I've seen no code to dynamically build a menu from within an xml file. For my own personal use I'm not sure I'd want it another level deep and lost amongst the searches, but that's open to debate.
> Once a snippet is saved what would I do with it? View it, add to it, put it on a website, email it to someone, save it somewhere, delete it (which is something I have on my to-do), etc. Let's say you were trying to track down all the calendar related JavaScript code you could find on the net. You find your first set of code, and you save it into a snippet called "JavaScript Calendar". Later you find some more, so you re-open that snippet and add to it, and you type in some notes as well. Now you have this nice concise archive about Calendar JavaScript. And since the snippet file is really an HTML file, if you wanted to share this research with someone, or share it with the world, you easily can. Let's say you were looking for pictures of sailboats for a publication you are making. As you find each picture, you add it to a snippet called Sailboats. After you are done searching, you have all the sailboats side by side, and you can pick which one you would like to use. Or perhaps you are researching your family geneology...... There's also nothing saying you have to use it to copy things from web pages. You can simply type your own notes. Or you can paste Word, Excel, and other documents the same way you paste parts of a web page. All right, I'm sure you've had enough of my evangelizing. I'll stop now. :) -Dan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Glenn Carr Sent: Saturday, May 04, 2002 9:57 AM To: [EMAIL PROTECTED] Subject: RE: [DQSD-Users] Here goes, give it a try It looks cool, but I'm not sure how I'd use it (I'm probably being dense). Once a snippet is saved what would I do with it? Is it possible to put all the code in snippet.xml? So that it is added under another category, instead of having code in helpmenu.js? (btw, I've attached an updated helpmenu.js that merged your changes with the latest changes.) Glenn > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel > Martin > Sent: Saturday, May 04, 2002 2:26 AM > To: [EMAIL PROTECTED] > Subject: [DQSD-Users] Here goes, give it a try > > > Okay, here goes. This is VERY alpha. It won't mess your DQSD, > but there is > one obvious bug that I can't figure out, and about 10 things I want to do > before this is even close to going public. However, I'd like to > share what > I'm working on so that I can get feedback, and most of all HELP. > > For those of you who don't mind alpha testing, this modification > requires IE > 5.5 or higher: > > http://danknows.com/snippets.zip > > Download and extract that into C:\Program Files\Quick Search Deskbar. It > should work fine without reboot, but does require a ! reload of > dqsd. There > is only one file that will be overwritten, helpmenu.js. > > Once you've got it, the main part of the addition is found in the popup > menu. Find the "New Snippet" in the menu. Now, you may ask "What is a > Snippet". To test it out, go to any web page, select (highlight) part of > that web page and hit CTRL-C, and then open a new Snippet and hit CTRL-V. > Trust me, you'll get the idea pretty quickly - the RTE is a neat bit of > javascript. Edit your snippet however you want, and save it. Now you > should see it in the menu. > > Things that I plan to do/fix: > -Yes, I know when you return from editing an existing Snippet it spawns an > error. I just haven't figured out how to fix it. One of you may know > better than I do. > -I plan to NOT show the .html extension in the menu. > -The snippets folder should be made a preference. > -The xml file could use alot of work. > -showModalDialog is probably a poor choice to spawn the window - it locks > the window up front. > > If you have answers to any of these PLEASE share - I'm banging my head on > some of them. > > I should add that 99% of this mod is not my own - I make direct calls to a > javascript RTE found at http://richtext.sourceforge.net which is released > under LGPL. I'm not a licensing guru - I don't know what, if any impact > this has on dqsd. Since I haven't altered the RTE in any way, I > think there > is none. > > This will be my first open source contribution. I hope you guys like it, > but I will understand if you don't. I've written it knowing full well you > might consider this outside the dqsd scope - and that's fine - > I'll leave it > up to you whether you want to actually add it in. I work in Research & > Development. For me, finding research is only half the battle. Recording > it is very important. This modification will greatly help me do my job. > But, I am a bit nervous that you guys will say "boy, this is stupid". So, > if you don't like it - be gentle. :) > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > _______________________________________________ > Dqsd-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dqsd-users > http://sourceforge.net/mailarchive/forum.php?forum_id=8601 > _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Dqsd-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-users http://sourceforge.net/mailarchive/forum.php?forum_id=8601
