![]() |
#76 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
If you use the "Create" menu item from the context menu, or "Bookit with Options" toolbar button it will first bring up the options dialog that lets you change settings for that run only. I'm thinking of moving the meta-data tab to the front since I get the feeling that would be used the most.
As for turning & into & - can you give me a little context? Is this in the title or the body of the document? An example would be helpful. As for changing the proxy, that's something that should be possibly but it's not a trivial fix. I'm not sure if I can determine the current proxy from inside the plugin. I imagine that it's possible, I just don't know how to do it off the top of my head. Also there doesn't appear to be a way to pass proxy information to web2lrf but if there is or Kovid adds support then I can try to take advantage of it. |
![]() |
![]() |
![]() |
#77 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre reads proxy information from the http_proxy environment variable
|
![]() |
![]() |
![]() |
#78 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Ah, then if I can figure it from with in the extension I can set that environment variable before calling web2lrf. I'll look it into. Does it works with SOCKS proxies too or just http proxies?
|
![]() |
![]() |
![]() |
#79 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
i've only tried it with http proxies (but basically it uses pythons urllib2, you can checks its docs to see if it supports SOCKS)
|
![]() |
![]() |
![]() |
#80 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
As for moving the meta-data tab to the front. Yes that is more practical and I tend to modify that field on every run (also the max recursion/link level) Quote:
![]() =X= |
||
![]() |
![]() |
![]() |
#81 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
I can recreate the & issue with just launching web2lrf (0.4.67), so perhaps Kovid can help.
|
![]() |
![]() |
![]() |
#82 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
I put up a quick update, 0.3.5, that includes support for more characters in a filename and moved the meta-data tab.
I'm looking at proxy support and for creating a lrf file from the current selection, but both require a bit of research so it may be a bit before I have something working. |
![]() |
![]() |
![]() |
#83 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
I tried posting another version of this earlier but I must have clicked preview instead of post....
So I've been thinking about a couple outstanding issues and have an idea on how to solve them, but it may not fit how most folks are using the plugin and wanted to get a bit of feedback. Right now I'm passing the current document url to web2lrf. This means all of the proxy settings and ad blocking software is bypassed. What I could do is save the current document to a temporary file and run html2lrf on it. I could try to grab any images to be displayed and update the html to point to the local copy. This would work well for me, since I usually switch to a printable, single page version of the document if it's available and generate the ebook from there. This won't work so well if folks are generally creating ebooks from multipage sites. So it's a trade off, better control over the content vs spaning multiple pages. It thought about spidering the page from inside the plugin, but that may be more work than I have time to do right now. Thoughts? |
![]() |
![]() |
![]() |
#84 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
How does firefox do adblocking? By a list of regexps?
|
![]() |
![]() |
![]() |
#85 |
Legal Alien
![]() ![]() Posts: 288
Karma: 105
Join Date: Jan 2008
Device: Sony PRS-505/T1/Kindle PW2
|
Hello Beowulf,
Not understanding the difference between the two procedures, I would like to know the advantage of using this new way. As far as I am concerned, the feature of your plugin I like best is the chance of picking links, so I would miss it, should it go away. However, you could leave all you have done so far as it is and add this new way as an option for short documents. Thanks again, both for the effort and for asking. |
![]() |
![]() |
![]() |
#86 |
Addict
![]() ![]() ![]() ![]() Posts: 223
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
|
personally I use ADBlockPlus http://adblockplus.org/en/.
When first enabled it allows you to choose between different subsciption lists. You can moreover add your own rules, using regexps, e.g. /banner\d+\.gif$/. alessandro |
![]() |
![]() |
![]() |
#87 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
The main advantage to saving the current document and working on it is you can take advantage of all the current firefox settings; proxies, ad-blocking, fonts, etc. None of these are passed on to web2lrf. I can also add a 'zap' feature to hide various elements. For example, if there are elements in the document you don't want to appear in the ebook you could right click on it and select 'Hide' and it would be hidden temporarily. A refresh would load the original document back.
This model breaks down if you are using recursion to download the current document and all other say two links away. |
![]() |
![]() |
![]() |
#88 |
Legal Alien
![]() ![]() Posts: 288
Karma: 105
Join Date: Jan 2008
Device: Sony PRS-505/T1/Kindle PW2
|
Mmmmm... sounds good too. Can't you add both options? From my ignorant point of view, having one already implemented and working on the second, adding both should be easy.
|
![]() |
![]() |
![]() |
#89 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
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. Last edited by =X=; 06-11-2008 at 12:45 PM. Reason: removed content from quote no need to be redundant |
|
![]() |
![]() |
![]() |
#90 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Yeah, I can, I just didn't know how folks were really using it and if having both methods would be too confusing for the average user.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
BookIt and 64 bit | jlbfoot | LRF | 0 | 03-09-2009 03:24 PM |
Idea for a "Bookit" Plugin -- Maybe Kovid? | dsuden | Sony Reader | 55 | 01-03-2009 11:22 AM |
Great new Idea! Bookit button | =X= | Feedback | 0 | 10-27-2008 01:49 PM |
Making MobiRead Threads BookIt Friendly | =X= | Feedback | 3 | 08-11-2008 11:24 PM |