Post Reply 
User-Defined error pages
Jul. 01, 2007, 12:28 PM
Post: #1
User-Defined error pages
Hello,
I just found BFilter and really like it. But I think it could be even better:

If you would allow the User to define the error pages himself, one could for example automatically correct misspells. (I forget very often the "www." befor an adress)

PS: This page (never mind the content Whistling ) http://royalportal.net/index.php doesn't work with BFilter...
Add Thank You Quote this message in a reply
Jul. 01, 2007, 01:54 PM
Post: #2
RE: User-Defined error pages
I don't think adding user defined error pages is worth it. Very few people are going to modify them.

Quote:This page (never mind the content Whistle ) http://royalportal.net/index.php doesn't work with BFilter...
What exactly doesn't work there?

PS: you may want to try a pre-release of BFilter 1.1. Get the Windows build from here: http://www.tts.lt/~joseph/bfilter-1.1pre-install.exe
This version caches external scripts it fetches. On sites that load a lot of scripts, you are going to notice the speed up even on a fast connection. Example: http://www.ag.ru/ (loads 18 external scripts).
Add Thank You Quote this message in a reply
Jul. 01, 2007, 03:08 PM
Post: #3
RE: User-Defined error pages
BFilter gives a "error decompressing response" on this site.

I will try the pre-build now.

Well, you might be right, that most people woun't configure them themself, but it would be very usefull to translate these error pages.(I'm german and I wouldn't install an english-only program on my dad's pc for example.)

EDIT:
Sorry, but the error persists in the new build.
Add Thank You Quote this message in a reply
Jul. 01, 2007, 03:13 PM
Post: #4
RE: User-Defined error pages
BTW is it neccessary to install cygwin to build BFilter on windows?
Or is there an easy way to use VS instead?
Add Thank You Quote this message in a reply
Jul. 01, 2007, 06:07 PM
Post: #5
RE: User-Defined error pages
Using Opera by chance? I've encountered a site that in case of Opera, specified Content-Encoding: gzip, while sending uncompressed content. Opera itself can handle that, while BFilter and other browsers can't. Try changing the User-Agent and see if it helps.

No, BFilter doesn't require cygwin to build on Windows, but the build process for all released versions is quite complex. On the other hand, the version from SVN is much easier to build. The build process is described here:
http://bfilter.svn.sourceforge.net/viewv...iew=markup
The only sad thing is that the windows version requires CMake from CVS. That's not a big deal really, as CMake itself is very easy to build.

As for translating the error pages, that would be nice of course, but it won't change the fact that the user interface is not translated. As for translating the UI, there is a big problem:
I have two GUIs with different code bases: one for Windows and one for Linux. Besides that, some messages come from the backend, that may be using a different encoding than the GUI. As far as localization goes, BFilter sucks, and I don't see it improving soon.
Add Thank You Quote this message in a reply
Jul. 01, 2007, 07:33 PM
Post: #6
RE: User-Defined error pages
Yes, I', using Opera. Very funny bug. Changing user agent did work.
Will there be an universal fix for this?

Well, as you wrote elsewhere, BFilter is designed for not having to be maintained, so I think not translating the UI but translating the error pages would be OK for most people...
Add Thank You Quote this message in a reply
Jul. 01, 2007, 08:01 PM
Post: #7
RE: User-Defined error pages
Quote:Yes, I', using Opera. Very funny bug. Changing user agent did work.
Will there be an universal fix for this?
I'll add a workaround for this. I thought it was an isolated issue, but apparently it's not.

Quote:Well, as you wrote elsewhere, BFilter is designed for not having to be maintained, so I think not translating the UI but translating the error pages would be OK for most people...
I've added this to my already long TODO list Smile!
Add Thank You Quote this message in a reply
Jul. 01, 2007, 08:26 PM
Post: #8
RE: User-Defined error pages
[quote=jart]
Quote:I've added this to my already long TODO list Smile!

Cool, thank you. I will try to get BFilter compiled mysekf, and maybe I will be able to add this featur myself...
Add Thank You Quote this message in a reply
Jul. 16, 2007, 09:28 PM
Post: #9
RE: User-Defined error pages
jart Wrote:You may want to try a pre-release of BFilter 1.1. Get the Windows build from here
This version caches external scripts it fetches. On sites that load a lot of scripts, you are going to notice the speed up even on a fast connection.

jart, this speedup sounds great! any chance for a mac version to check out?

thnx, Doug
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: