From donster999 at hotmail.com Thu May 4 09:25:26 2006 From: donster999 at hotmail.com (D 999) Date: Thu May 4 11:26:29 2006 Subject: [Slogger] Slogger Buttons always seem to be off on startup Message-ID: Hi there Ken, I love slogger and I can't seem to figure out how to make the slogger button come up as "on by default". When I launch firefox, the 1 button is off, and even if I turn it on manually, in any new window that's opened, the 1 button is off. How do I make it so that the button is "on by default", or at least whatever the setting was when I closed firefox. Thanks for a cool extension, Don _________________________________________________________________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From donster999 at hotmail.com Thu May 4 09:33:59 2006 From: donster999 at hotmail.com (D 999) Date: Thu May 4 11:35:22 2006 Subject: [Slogger] Saving items into a specific directory Message-ID: Hi there, I just upgraded to the latest slogger and had a heck of a time figuring out how to get stuff to save into a specific folder on the hard drive. After much experimentation, I came up with this (It seems to mimic how the older slogger works) If I'm doing this the hard way, let me know. I want to save to folder h:\slogger\ so for the Save Pages tab: folder: H:\slogger\data\$year-$month-$day filename: $year-$month-$day_$hour-$minute-$second-$millisecond.$typeext and the LogFile tab: folder: h:\slogger\ filename: sloggerLog-$year-$month-$day.html entry: $year-$month-$day $hour:$minute:$second.$millisecond $title url local _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From kschutte at csail.mit.edu Thu May 4 14:25:13 2006 From: kschutte at csail.mit.edu (Ken Schutte) Date: Thu May 4 13:27:38 2006 Subject: [Slogger] Saving items into a specific directory In-Reply-To: References: Message-ID: <445A38F9.5040000@csail.mit.edu> Yes, that looks like it will work. It is obviously too confusing right now since the "save page" and "log file" options are set independently, but most setups will want them to depend on each other. The one maybe easier way to do it is to change $sloggerDir (which both use by default) so you only need one change. but you have to use "about:config" to do so - there's not a control in the settings dialog right now... Ken D 999 wrote: > Hi there, > > I just upgraded to the latest slogger and had a heck of a time figuring > out how > to get stuff to save into a specific folder on the hard drive. After > much experimentation, > I came up with this (It seems to mimic how the older slogger works) > > If I'm doing this the hard way, let me know. > > > I want to save to folder h:\slogger\ > > so for the Save Pages tab: > > folder: H:\slogger\data\$year-$month-$day > filename: $year-$month-$day_$hour-$minute-$second-$millisecond.$typeext > > and the LogFile tab: > > folder: h:\slogger\ > filename: sloggerLog-$year-$month-$day.html > entry: > > $year-$month-$day $hour:$minute:$second.$millisecond > $title > url > href="./data/$year-$month-$day/$year-$month-$day_$hour-$minute-$second-$millisecond.$typeext">local > > > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - it's > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > _______________________________________________ > Slogger mailing list > Slogger@mozdev.org > http://mozdev.org/mailman/listinfo/slogger From ebelular at gmail.com Fri May 5 14:55:53 2006 From: ebelular at gmail.com (Rory McCann) Date: Fri May 5 08:56:27 2006 Subject: [Slogger] Some success on Mac OSX Message-ID: <20b463fd0605050555q52e31956n76ba302ed9832355@mail.gmail.com> Slogger stopped working for me while ago, all the URLs were 'about:blank'. I had a look at it today, and I've had some success. I'm using Slogger v0.6.20060410 and Firefox v1.5.0.2 on Mac OSX 10.4.5. I was using $url in the save file. If I don't use it, then slogger works fine. If I use $url, I get entries in the slogger log, but no actual file saved. I think the problem is '/' in the url. Since Mac OSX is a Unix-based operating system, '/' is used in paths as a directory seperator. I think the problem is that if slogger tries to create the file "http://it.slashdot.org/article.pl?sid=06/05/05/075237_2006-05-05-13:31:45.html" in the directory "/Users/rory/Library/Application Support/Firefox/Profiles/i5cokw88.default/Logs/data/2006-05-05/", the '/'s in the file will cause it to fail. I would like to be able to store the full URL in the filepath, is there some way to replace '/' in $url with something else (like '_' or whatever)? Rory From kschutte at csail.mit.edu Fri May 5 12:08:30 2006 From: kschutte at csail.mit.edu (Ken Schutte) Date: Fri May 5 11:08:53 2006 Subject: [Slogger] Some success on Mac OSX In-Reply-To: <20b463fd0605050555q52e31956n76ba302ed9832355@mail.gmail.com> References: <20b463fd0605050555q52e31956n76ba302ed9832355@mail.gmail.com> Message-ID: <445B6A6E.2040502@csail.mit.edu> This has come up before. take a look at this post, http://mozdev.org/pipermail/slogger/2006-February/000274.html You can try to escape those special characters with a few lines of custom javascript. (but you have to be careful - see the warning in the post). Maybe I should have it do this automatically... (or at least tell you when/why it fails). Ken Rory McCann wrote: > Slogger stopped working for me while ago, all the URLs were > 'about:blank'. I had a look at it today, and I've had some success. > I'm using Slogger v0.6.20060410 and Firefox v1.5.0.2 on Mac OSX > 10.4.5. > > I was using $url in the save file. If I don't use it, then slogger > works fine. If I use $url, I get entries in the slogger log, but no > actual file saved. I think the problem is '/' in the url. Since Mac > OSX is a Unix-based operating system, '/' is used in paths as a > directory seperator. I think the problem is that if slogger tries to > create the file > "http://it.slashdot.org/article.pl?sid=06/05/05/075237_2006-05-05-13:31:45.html" > > in the directory "/Users/rory/Library/Application > Support/Firefox/Profiles/i5cokw88.default/Logs/data/2006-05-05/", the > '/'s in the file will cause it to fail. > > I would like to be able to store the full URL in the filepath, is > there some way to replace '/' in $url with something else (like '_' or > whatever)? > > Rory > _______________________________________________ > Slogger mailing list > Slogger@mozdev.org > http://mozdev.org/mailman/listinfo/slogger From ebelular at gmail.com Sat May 6 01:17:36 2006 From: ebelular at gmail.com (Rory McCann) Date: Fri May 5 19:18:11 2006 Subject: [Slogger] Patch to add $escapedUrl Message-ID: <20b463fd0605051617g7627a980rcd912b9b4ee9668d@mail.gmail.com> Hi *, In light of my previous mail about $url containing '/', I've hacked on the slogger source and added a $escapedUrl variable. It is $url but with all occurance of '/' replaced with '\/'. I use $escapedUrl as part of the filename. Change line 984 in slogger.js to comment out other characters. I'm new to sending patches, so I don't know if this is correct, here is the patch: ---BEGIN PATCH--- diff -rN -u old-slogger/chrome/content/slogger.js new-slogger/chrome/content/slogger.js --- old-slogger/chrome/content/slogger.js 2006-05-06 00:11:35.000000000 +0100 +++ new-slogger/chrome/content/slogger.js 2006-05-06 00:11:35.000000000 +0100 @@ -983,8 +980,11 @@ // "htmlfile","", // "datadir","", + eURL = aURL.replace(/\//g, '\\\/'); + sloggerSetVar( "url",aURL, + "escapedUrl", eURL, "filename",filename, "title",title, "host",host, diff -rN -u old-slogger/chrome/content/sloggerPrefs.js new-slogger/chrome/content/sloggerPrefs.js --- old-slogger/chrome/content/sloggerPrefs.js 2006-05-06 00:11:35.000000000 +0100 +++ new-slogger/chrome/content/sloggerPrefs.js 2006-05-06 00:11:35.000000000 +0100 @@ -61,6 +61,7 @@ ["url", "Char", 0, "", "URL of page being saved"], + ["escapedUrl", "Char", 0, "", "Escaped URL of the page being saved"], ["filename", "Char", 0, "", "Original file name of page being saved (from url)"], ["title", "Char", 0, "", "Title of original page, if exists (ie html title)"], ---END PATCH-- From ebelular at gmail.com Mon May 8 02:32:22 2006 From: ebelular at gmail.com (Rory McCann) Date: Sun May 7 20:32:55 2006 Subject: [Slogger] Patch to add $escapedUrl In-Reply-To: <445E5C32.6000908@csail.mit.edu> References: <20b463fd0605051617g7627a980rcd912b9b4ee9668d@mail.gmail.com> <445E5C32.6000908@csail.mit.edu> Message-ID: <20b463fd0605071732j7615af67wce5b095b73dd0f76@mail.gmail.com> On 07/05/06, Ken Schutte wrote: > Rory, > Thanks. So that works on OSX? It saves the filename and it has a '/' > in it? It appears that on Linux, this still doesn't work even if > escaped to '\/', I have to replace with _ or something... > Ken Hi Ken, I jumped the gun on this one. It doesn't actually save the pages, I still have loads of 'about:blanks', though the escapedUrls come up in my log. Perhaps more escaping is needed. I'll try it over the next few days. Rory From madjon at gmail.com Sun May 14 17:32:43 2006 From: madjon at gmail.com (madjon) Date: Sun May 14 17:33:16 2006 Subject: [Slogger] Slogger Not Saving All Pages Message-ID: <1da45f2a0605141432s69d7e13fn9dd2c6d88186f0af@mail.gmail.com> Ken, as always, thanks for this tool. I've been using it for about a year now. However, I downloaded the latest version of Slogger, and am using FF 1.5 For some reason, Slogger is not saving certain files. I am using a modified version of HTML Log (Personal), and will save, for instance, google.com, but will not save http://arstechnica.com/news.ars/post/20060511-6813.html Suggestions? Is something wrong with my profile? -Jon -- madjon@gmail.com Cogito ergo doleo. Non illigitamus carborundum. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mozdev.org/pipermail/slogger/attachments/20060514/29be5c93/attachment.htm