From lists at hubmed.org Tue Jan 2 04:01:42 2007 From: lists at hubmed.org (Alf Eaton) Date: Tue, 2 Jan 2007 12:01:42 +0000 Subject: [Slogger] Plans to upgrade to firefox 2.0.0.1 ? In-Reply-To: <458B1B90.5080308@csail.mit.edu> References: <38c772510612201747v2602e5c8xdbd8d8e1090c4920@mail.gmail.com> <458B1B90.5080308@csail.mit.edu> Message-ID: <9A0005BE-415F-425F-AA3A-F6BF44861910@hubmed.org> Slogger got automatically updated today (Firefox on OS X) and I'd really like to get the old version back - my custom script has disappeared (and doesn't work if I put it in the new custom script box), posting to del.icio.us and Spurl is broken, the toolbar button I used isn't available any more... Can the old version be downloaded anywhere? alf. On 21 Dec 2006, at 23:41, Ken Schutte wrote: > This should be the same as the last one, but installs on FF 2.0.0.1 > http://www.kenschutte.com/download/slogger/xpi/ > slogger-0.6.20061221.xpi > > Ken > > _______________________________________________ > Slogger mailing list > Slogger at mozdev.org > http://mozdev.org/mailman/listinfo/slogger From kschutte at csail.mit.edu Tue Jan 2 08:58:54 2007 From: kschutte at csail.mit.edu (Ken Schutte) Date: Tue, 02 Jan 2007 11:58:54 -0500 Subject: [Slogger] Plans to upgrade to firefox 2.0.0.1 ? In-Reply-To: <9A0005BE-415F-425F-AA3A-F6BF44861910@hubmed.org> References: <38c772510612201747v2602e5c8xdbd8d8e1090c4920@mail.gmail.com> <458B1B90.5080308@csail.mit.edu> <9A0005BE-415F-425F-AA3A-F6BF44861910@hubmed.org> Message-ID: <459A8F4E.9080004@csail.mit.edu> All the older versions should be found here: http://www.kenschutte.com/download/slogger/xpi/ Alf Eaton wrote: > Slogger got automatically updated today (Firefox on OS X) and I'd > really like to get the old version back - my custom script has > disappeared (and doesn't work if I put it in the new custom script > box), posting to del.icio.us and Spurl is broken, the toolbar button > I used isn't available any more... Can the old version be downloaded > anywhere? > > alf. > > On 21 Dec 2006, at 23:41, Ken Schutte wrote: > > >>This should be the same as the last one, but installs on FF 2.0.0.1 >>http://www.kenschutte.com/download/slogger/xpi/ >>slogger-0.6.20061221.xpi >> >>Ken >> >>_______________________________________________ >>Slogger mailing list >>Slogger at mozdev.org >>http://mozdev.org/mailman/listinfo/slogger > > > _______________________________________________ > Slogger mailing list > Slogger at mozdev.org > http://mozdev.org/mailman/listinfo/slogger From lists at hubmed.org Tue Jan 2 09:06:46 2007 From: lists at hubmed.org (Alf Eaton) Date: Tue, 2 Jan 2007 17:06:46 +0000 Subject: [Slogger] Plans to upgrade to firefox 2.0.0.1 ? In-Reply-To: <459A8F4E.9080004@csail.mit.edu> References: <38c772510612201747v2602e5c8xdbd8d8e1090c4920@mail.gmail.com> <458B1B90.5080308@csail.mit.edu> <9A0005BE-415F-425F-AA3A-F6BF44861910@hubmed.org> <459A8F4E.9080004@csail.mit.edu> Message-ID: <7D27EFD8-8DF0-45B7-816E-7B58EE4374C7@hubmed.org> Perfect, thanks. 0.5.12 was what I needed. alf. On 02 Jan 2007, at 16:58, Ken Schutte wrote: > All the older versions should be found here: > http://www.kenschutte.com/download/slogger/xpi/ > > > Alf Eaton wrote: >> Slogger got automatically updated today (Firefox on OS X) and I'd >> really like to get the old version back - my custom script has >> disappeared (and doesn't work if I put it in the new custom >> script box), posting to del.icio.us and Spurl is broken, the >> toolbar button I used isn't available any more... Can the old >> version be downloaded anywhere? >> alf. >> On 21 Dec 2006, at 23:41, Ken Schutte wrote: >>> This should be the same as the last one, but installs on FF 2.0.0.1 >>> http://www.kenschutte.com/download/slogger/xpi/ >>> slogger-0.6.20061221.xpi >>> >>> Ken >>> >>> _______________________________________________ >>> Slogger mailing list >>> Slogger at mozdev.org >>> http://mozdev.org/mailman/listinfo/slogger >> _______________________________________________ >> Slogger mailing list >> Slogger at mozdev.org >> http://mozdev.org/mailman/listinfo/slogger From robin at smidsrod.no Sat Jan 6 04:08:07 2007 From: robin at smidsrod.no (=?ISO-8859-1?Q?Robin_Smidsr=F8d?=) Date: Sat, 06 Jan 2007 13:08:07 +0100 Subject: [Slogger] Feature request: submit to custom script Message-ID: <459F9127.4030801@smidsrod.no> I've recently started using slogger, and it looks great. But as I am a bit skeptical to divulging browsing history to any third party, I was wondering how I could go about submitting the URLs to a custom CGI script I'm going to build myself using either PHP or Perl/Catalyst or some other simple web application framework and run on my own server. Of course, this could probably just use the "custom javascript" tab, but how about something simpler, for us "unenlightened" javascript noobs? I tried finding a solution for doing this using "custom javascript", but the mail archives didn't give me anything useful, unfortunately. Did I miss some previous post? I'm thinking about an interface almost like this: request-url request-method (get/post) key1 => value1 key2 => value2 etc. exception handler method (alert/log/whatever) The key part is just a simple label, which directly conforms to a CGI key, and the value is either plaintext or one of the variables available from slogger. This variable would of course be url-encoded before it's posted, so that no. The exception method could be there to alert you if the url you try to submit to reports a 4xx or 5xx HTTP error. You could of course make it even simpler, and just let the user specify the entire URL of the request (which would imply GET only), and use some regexp to exchange placeholder variables with the actual data from slogger. Basically, what I'm asking for, is how to run this kind of url each time slogger is run: http://myloggingprogram.xxx/log?username=dilbert&passwd=xxx×tamp=url_escape($timestamp)&title=url_escape($title)&url=url_escape($url) You probably get the intent by now... Of course, if some of you javascript geniuses out there have the solution for the "custom javascript" in the meantime, it would of course be very much appreciated. Regards, Robin Smidsr?d From kschutte at csail.mit.edu Sun Jan 7 08:05:32 2007 From: kschutte at csail.mit.edu (Ken Schutte) Date: Sun, 07 Jan 2007 11:05:32 -0500 Subject: [Slogger] Feature request: submit to custom script In-Reply-To: <459F9127.4030801@smidsrod.no> References: <459F9127.4030801@smidsrod.no> Message-ID: <45A11A4C.7090602@csail.mit.edu> Robin Smidsr?d wrote: > I've recently started using slogger, and it looks great. > > But as I am a bit skeptical to divulging browsing history to any third > party, I was wondering how I could go about submitting the URLs to a > custom CGI script I'm going to build myself using either PHP or > Perl/Catalyst or some other simple web application framework and run on my own server. > Robin, This should be possible with a fairly short Custom Script. Try something like this: (and select "run at the end of loggin process"): var url = "http://mylogprog.xxx?"; url += "&title=" + sloggerGetVar("title"); url += "&url=" + sloggerGetVar("url"); url = encodeURI(url); // alert(url); var req = new XMLHttpRequest(); req.open('GET', url, true); req.send(null); The first, construct the URL you want with sloggerGetVar() and encodeURI(). Uncomment the 'alert' call to debug. To make the request, you can use XMLHttpRequest. I think the above should basically work, but I haven't tried this. Handling the GET responses would be more complicated. See, http://developer.mozilla.org/en/docs/XMLHttpRequest good luck, Ken From robin at smidsrod.no Sun Jan 7 11:08:13 2007 From: robin at smidsrod.no (=?ISO-8859-1?Q?Robin_Smidsr=F8d?=) Date: Sun, 07 Jan 2007 20:08:13 +0100 Subject: [Slogger] SOLVED: How to submit to custom CGI script (was: Re: Feature request: submit to custom script) In-Reply-To: <45A11A4C.7090602@csail.mit.edu> References: <459F9127.4030801@smidsrod.no> <45A11A4C.7090602@csail.mit.edu> Message-ID: <45A1451D.4070701@smidsrod.no> Thanks a lot for the quick reply. What it ended up with was this: //Build ISO date string var timestamp=sloggerGetVar("year") + '-' + sloggerGetVar("month") + '-' + sloggerGetVar("day") + 'T' + sloggerGetVar("hour") + ':' + sloggerGetVar("minute") + ':' + sloggerGetVar("second") + '.' + sloggerGetVar("millisecond"); // Build URL var url = "http://xxx/cgi/slogger_recv.cgi?"; url += "username=xxx&"; url += "password=xxx&"; url += "machine=office&"; // or laptop, or living room, or whatever... url += "timestamp=" + encodeURI(timestamp) + "&"; url += "url=" + encodeURI(sloggerGetVar("url")) + "&"; url += "title=" + encodeURI(sloggerGetVar("title")) + "&"; // Report URL //alert(url); var req = new XMLHttpRequest(); req.open('GET', url, true); req.send(null); This works as a charm, and is exactly what I was looking for. Now I just need to program that receiver CGI program. If any of you want this, give me a note. Thanks for the help. -- Robin Ken Schutte wrote: > Robin, > > This should be possible with a fairly short Custom Script. Try > something like this: (and select "run at the end of loggin process"): > > > var url = "http://mylogprog.xxx?"; > url += "&title=" + sloggerGetVar("title"); > url += "&url=" + sloggerGetVar("url"); > url = encodeURI(url); > // alert(url); > > var req = new XMLHttpRequest(); > req.open('GET', url, true); > req.send(null); > > > The first, construct the URL you want with sloggerGetVar() and > encodeURI(). Uncomment the 'alert' call to debug. To make the > request, you can use XMLHttpRequest. I think the above should > basically work, but I haven't tried this. > > Handling the GET responses would be more complicated. See, > http://developer.mozilla.org/en/docs/XMLHttpRequest > > good luck, > Ken > > From Jane.Coles at SpringValley.Co.UK Fri Jan 19 13:35:25 2007 From: Jane.Coles at SpringValley.Co.UK (Jane Coles) Date: Fri, 19 Jan 2007 21:35:25 +0000 Subject: [Slogger] McAfee SiteAdvisor 26.1 Message-ID: <45B1399D.4070007@SpringValley.Co.UK> Since I haven't made an appearance on this list before, I'd like to take the opportunity to thank Ken Schutte. I've been using slogger on a daily basis since May 2005 and have (selectively) accumulated an archive of nearly 3GB. On Jan 16, I restarted Firefox (1.5) and a bunch of extensions were automatically updated. Since I use over thirty extensions and restart Firefox every two or three days, this isn't an uncommon event and I paid no particular attention to what was being updated. Slogger then stopped working -- though I didn't initially make any connection between those updates and that calamity. When I (eventually) got around to checking every single extension for the source of the problem, I discovered that McAfee SiteAdvisor 26.1 was the guilty party. Updating Firefox to 2.0 didn't help. Once I disabled SiteAdvisor, slogger started working again. [This is all on a Linux machine -- I don't use Windows and have no idea if the same problem also occurs there.] I've had SiteAdvisor installed for some time and earlier versions didn't cause slogger any problems. SiteAdvisor is handy to have but, unlike slogger, I can live without it. I've attempted to notify McAfee of the problem but their web form throws up a VBScript runtime error each time, so I doubt that I have succeeded.