Chrome Plug-in to Convert Web Page to EPUB

Forum for volunteer developers working on Baka-Tsuki related applications (Baka-Reader, BTprince, etc).

Moderators: thelastguardian, Fringe Security Bureau, Senior Editors, Senior Translators, Alt. Language Translator/Editor, Executive Council, Project Translators, Project Editors

dteviot
Literature Club Member
Posts: 31
Joined: Fri Sep 19, 2014 10:02 pm
Favourite Light Novel:

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by dteviot »

Guest wrote:Using the "remove duplicate images" option leaves a bunch of empty

Code: Select all

<div>
			
			
		</div>
<div>
			
			
		</div>
scattered around in the illustrations html.

I mean, I guess it doesn't really affect the user-facing result so it's hardly high priority, but it does seem a wee bit untidy.
I was aware of this, but fixing it is not a high priority at moment. Please go to https://github.com/dteviot/WebToEpub/issues and create a new issue so I don't forget.

Edit, nevermind, did it myself. https://github.com/dteviot/WebToEpub/issues/24



Guest wrote:Is there any chance of making adding the URLs to the image descriptions optional just as a workaround, in case of developers being lazy shits?
See: https://github.com/dteviot/WebToEpub/issues/22
Last edited by dteviot on Mon Jun 27, 2016 9:40 pm, edited 1 time in total.
dteviot
Literature Club Member
Posts: 31
Joined: Fri Sep 19, 2014 10:02 pm
Favourite Light Novel:

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by dteviot »

Destinot wrote:The intricacies of HTML code have gone a little over my head though so I'm not quite sure what to say in an email to adequately describe the cause of the issue to the developer, would it be okay if anybody else more technically-minded could please shoot him an email? Developer's email is on the Play Store page.
Send him an email. Describe the visual effect in your email. Include an EPUB file with problem (so it's easy for them to reproduce.)
Add link to https://github.com/dteviot/WebToEpub/issues/22, which describes in detail.
Index
Mikuru's Master
Posts: 28
Joined: Fri May 08, 2015 7:00 pm
Favourite Light Novel: Toaru Majutsu No Index

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by Index »

Guest wrote:Using the "remove duplicate images" option leaves a bunch of empty

Code: Select all

<div>
			
			
		</div>
<div>
			
			
		</div>
scattered around in the illustrations html.

I mean, I guess it doesn't really affect the user-facing result so it's hardly high priority, but it does seem a wee bit untidy.
Fixed in 0.0.0.8 see https://github.com/dteviot/WebToEpub/pull/30

Also I noticed that there is a blank page after novel illustrations. This happens because novel illustrations is treated as all 1 page (don't ask why). Attempting to fix this in any way (besides adding content immediately after the divs that contains the images) will cause discrepancies between epub readers. See https://github.com/dteviot/WebToEpub/issues/28
Guest wrote:Is there any chance of making adding the URLs to the image descriptions optional just as a workaround, in case of developers being lazy shits?
Yes
Index
Mikuru's Master
Posts: 28
Joined: Fri May 08, 2015 7:00 pm
Favourite Light Novel: Toaru Majutsu No Index

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by Index »

Well guys i have made a question issue over here to decide what to fill the blank section in novel illustrations with.

https://github.com/dteviot/WebToEpub/issues/31

I would be happy if we got feedback from the people that do the translations the most on baka-tsuki as well as the people that help keep formatting standards.
dteviot
Literature Club Member
Posts: 31
Joined: Fri Sep 19, 2014 10:02 pm
Favourite Light Novel:

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by dteviot »

Index wrote:Fixed in 0.0.0.8 see https://github.com/dteviot/WebToEpub/pull/30
And 0.0.0.8 has been sent off to Google.
Please note, as the Firefox release is currently being manually reviewed, in order to avoid um... aggravating... the person doing this any more than I already have (don't ask), I will not be updating the version on Mozilla until the review is completed.
Anyone who wants to run the latest code on Firefox will need to install from source.
dteviot
Literature Club Member
Posts: 31
Joined: Fri Sep 19, 2014 10:02 pm
Favourite Light Novel:

"Bug" Priority

Post by dteviot »

I'm going to do something very foolish.
Here is a list of the outstanding bugs/feature requests, ordered by what I believe is "perceived user value".
That is, I think the ones at the top are thought to be most desired by users, and the ones lower down are, well, not as desired.
Obviously, this influences my priority for getting things done. It does not say I will be doing them in this order, and obviously I have not control of when other people (i.e. index) may choose to fix issues.
Anyway, I'd like you do confirm/correct my assumptions.
  • Use URL to specify cover image
  • Fix contents of dialog being lost when move tabs (or allow dialog to be a full web page.)
  • Option to remove "spurious link after images with some readers." (Note, needs "Advanced options" button')
  • Have single style sheet in epub, and allow user to specify optional style sheet. (Note, needs "Advanced options" button')
  • Assorted layout issues (blank pages/table to contents etc.)
  • Additional Metadata
  • epubcheck violations.
Thanks for your time.
User avatar
Guest
Astral Realm

Re: "Bug" Priority

Post by Guest »

dteviot wrote:I'm going to do something very foolish.
Here is a list of the outstanding bugs/feature requests, ordered by what I believe is "perceived user value".
That is, I think the ones at the top are thought to be most desired by users, and the ones lower down are, well, not as desired.
Obviously, this influences my priority for getting things done. It does not say I will be doing them in this order, and obviously I have not control of when other people (i.e. index) may choose to fix issues.
Anyway, I'd like you do confirm/correct my assumptions.
  • Use URL to specify cover image
  • Fix contents of dialog being lost when move tabs (or allow dialog to be a full web page.)
  • Option to remove "spurious link after images with some readers." (Note, needs "Advanced options" button')
  • Have single style sheet in epub, and allow user to specify optional style sheet. (Note, needs "Advanced options" button')
  • Assorted layout issues (blank pages/table to contents etc.)
  • Additional Metadata
  • epubcheck violations.
Thanks for your time.
That sounds about right.
Regarding the "Additional Metadata", does that include tagging the files with ISBN numbers like how BTE-GEN had?
dteviot
Literature Club Member
Posts: 31
Joined: Fri Sep 19, 2014 10:02 pm
Favourite Light Novel:

Firefox extension now officially in Mozilla downloads

Post by dteviot »

Version 0.0.0.7 has passed it's preliminary review and is now officially available.

To install the plug-in on Firefox:
  • Warning: The Firefox build has a couple of limitations
    • It's using the Firefox WebExtensions to allow Firefox to run a Chrome extension. (i.e. The Firefox extension is the same as the Chrome extension.)
    • WebExtensions are still under development in Firefox, so you'll need to run either the Developer or Nightly builds of Firefox. And there may be bugs.
    • The Firefox builds need to be manually reviewed by Mozilla, so, so the official Firefox build is going to lag the Chrome build.
  • Got to https://addons.mozilla.org/addon/webtoe ... aka-tsuki/
  • Click "Add to Firefox" button.
dteviot
Literature Club Member
Posts: 31
Joined: Fri Sep 19, 2014 10:02 pm
Favourite Light Novel:

version 0.0.0.9 has been submitted to Google

Post by dteviot »

As usual, should be available from the store in a few hours, and your current version will autoupdate.

This version contains the initial version of the long awaited "When cover isn't on the page, Use URL to specify Cover image."
https://github.com/dteviot/WebToEpub/issues/9
Please let me know if this works for you.
amit34521
Mikuru's Master
Posts: 26
Joined: Fri Oct 10, 2014 10:51 am
Favourite Light Novel:

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by amit34521 »

Please add a option for those who use mobile to get the epubs.
HoennSquall
Haruhiist Sensei
Posts: 93
Joined: Tue May 21, 2013 5:38 am
Favourite Light Novel:

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by HoennSquall »

ok, for some reason, the extension won't open up anymore, ver 0.0.0.10

Whenever I click it, it only appears for a split second, then an error message appears for another split second, then disappears so fast I can't even read it

EDIT: Nvm, seems I haven't updated chrome yet
dteviot
Literature Club Member
Posts: 31
Joined: Fri Sep 19, 2014 10:02 pm
Favourite Light Novel:

version 0.0.0.11 in Chrome web store.

Post by dteviot »

version 0.0.0.10 -> added ability to edit stylesheet, translator and Author "file as' property in metadata.
version 0.0.0.11 -> Removed blank page after image gallery (I hope) am told it may have side effects on some viewers. Please let me know if there are issues.
HoennSquall
Haruhiist Sensei
Posts: 93
Joined: Tue May 21, 2013 5:38 am
Favourite Light Novel:

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by HoennSquall »

hmmm, do the images and the first chapter now count as 1 chapter?
dteviot
Literature Club Member
Posts: 31
Joined: Fri Sep 19, 2014 10:02 pm
Favourite Light Novel:

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by dteviot »

HoennSquall wrote:hmmm, do the images and the first chapter now count as 1 chapter?
Should not. It's supposed to split into new chapter when it encounters a <H1>, <H2>, <H3> or <H4> tag.
If there's no <H> tag between the image gallery and rest of chapters text, then yes, it will be a single chapter.
Otherwise it will split.

What URL are you having an issue with?
Index
Mikuru's Master
Posts: 28
Joined: Fri May 08, 2015 7:00 pm
Favourite Light Novel: Toaru Majutsu No Index

Re: Chrome Plug-in to Convert Web Page to EPUB

Post by Index »

amit34521 wrote:Please add a option for those who use mobile to get the epubs.
See https://github.com/dteviot/WebToEpub/issues/51
Post Reply

Return to “Developers and Code”