View Single Post
Old 06-11-2008, 01:15 PM   #91
beowulf573
Addict
beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.
 
beowulf573's Avatar
 
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
Quote:
Originally Posted by =X= View Post
Beowulf, will you be saving of HTML off recursively too? That is the nice feature of web2lrf. If you are then I say go for it, taking advantage of Netscape is a good idea.


Comment on the proxy. The proxy information is located in the pref.js for Firefox. I've noticed your Plugin data is stored there too. If there is an API where you can read/write to the pref.js file. Then you should be able to get the proxy info.
You would have to make one check first before setting the proxy to calibe and that is if the proxy is enabled or disabled.
I'd rather not recreate web2lrf features in javascript if I don't have too. Too much work and too much duplication.

Actually, I can't just read the pref information. There are several plugins to override the default behavior; for example determining which proxy to used based on a regexp or to use a random proxy. I can query the proxy interface to determine what proxy would be used for a given url, however the low level library used by calibre only supports http proxies. If you're using SOCKS you're out of luck.
beowulf573 is offline   Reply With Quote