View Single Post
Old 08-28-2008, 02:23 PM   #17
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by nrapallo View Post
the HTTP request sent by the ebook reader was logged as:
Code:
http://register.ebooksystem.net/form/redirect.asp?target=http%3A%2F%2Fwiki%2Emobileread%2Ecom%2Fwiki%2FMain_Page&pubid=None%3Aebook%3Aguid-237ceaa3f5cb49b281ca33724a38bc5b
Reading the privoxy documentation and config files, I have noticed a "rule" or action that could possibly handle that HTTP register.ebooksystem.net request and "fast-direct" just the tail URL (http%3A%2F%2Fwiki%2Emobileread%2Ecom%2Fwiki%2FMai n_Page).

This is the description in the "default.action" file that is giving me hope to get this to work:
Code:
# +fast-redirects{check-decoded-url}
# +fast-redirects{simple-check}
#    Many sites, like yahoo.com, don't just link to other sites.
#    Instead, they will link to some script on their own server,
#    giving the destination as a parameter, which will then redirect
#    you to the final target. 
#
#    URLs resulting from this scheme typically look like:
#    http://some.place/some_script?http://some.where-else
#
#    Sometimes, there are even multiple consecutive redirects encoded
#    in the URL. These redirections via scripts make your web browsing
#    more traceable, since the server from which you follow such a link
#    can see where you go to. Apart from that, valuable bandwidth and
#    time is wasted, while your browser asks the server for one redirect
#    after the other. Plus, it feeds the advertisers.
#
#    The +fast-redirects{check-decoded-url} option enables interception of 
#    these requests by Privoxy, who will cut off all but the last valid URL 
#    in the request and send a local redirect back to your browser without
#    contacting the intermediate sites. NOTE: Syntax change as of v.3.0.4.
I don't have my hardware reader with me to test it right now, but will do so soon and report my findings here.

It seems privoxy is a very sophisticated program with abilities that need to be looked at more closely...
nrapallo is offline   Reply With Quote