Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Superb Extension! - #40

Open
seasaltseasalt opened this issue Sep 7, 2020 · 2 comments
Open

Superb Extension! - #40

seasaltseasalt opened this issue Sep 7, 2020 · 2 comments
Assignees

Comments

@seasaltseasalt
Copy link

seasaltseasalt commented Sep 7, 2020

Superb extension -- thankyou very much.
To access my chapters I needed to login (proxy). Now all the embedded links (there are 100s) have the proxy rather than link to the correct ebook page/section. Is this easy to fix? e.g. footnotes, author index, subject index, references etc etc..

Other than that, the EPUB is a brilliant result for my 16 chapters, 5 appendix.

This is the 5th tool I have tried and only one that grabbed ALL the content.
Done successfully

  • Links are embeded and working (internal (e.g. links to footnotes, links to other chapters) and links to external references) -- though i had to relogin to navigate as it has the proxy url is included in the link
  • Images were grabbed successfully
  • Fully working TOC
  • Page numbers showing in ibooks

[Environment: Chrome Extension on Cataliana]
[Extension settings used: selection, CSS settings checkmark on)

Workflow
1 Opened each chapter into a tab, then for each tab, Selected content on page
2 Using "Save as ebook" Extension, save each "selection" of page as chapter
3 edit chapters, reviewed to make sure none missing. Had missed chapter 4. so re did it (took a bit for the chapter I missed to appear under edit chapter. It appeared after I made sure all tabs that were showing edit chapter were closed.
4 added Chapter Numbers as this was not on source to listing of chapters
5 generate ebook

@alexadam
Copy link
Owner

alexadam commented Sep 7, 2020

Thank you!
While reading your message I realized there is no option to backup your data. So you have 16 chapters, probably a lot of content. The ebook data is stored in the browser's local storage. If you delete the local storage, you lose everything.

I'm thinking of a way to export/import the raw data (maybe as a json or something, images might be a problem) so that you can backup and restore on any browser.

So your problem is only with the internal links? I'll take a look to see if there is a quick fix.

@seasaltseasalt
Copy link
Author

Thankyou alexadam. I generated then Ebook, so no data lost.
Backup -- would really only needed from my perspective, if the extension doesnt work as expected and then I need to redo the steps in workflow to generate the ebook.

I did encounter 2 further issues. Both related to Chapter References.
1 important, 1 probably not that important.

  1. important - as have 100s of Chapter References. This is a link within the same web page (a chapter).
    Problem is the Identifier (bibitem-1) of the chapter references in HTML got lost by the Save-to-Ebook extension.

HTML shows (I saved a page as HTML only and viewed it BBEdit)
<p id="m-ISBN-chapter-1-bibItem-1">Abraham, K. R. and Kulhara, P. (1987). Title of Book. <i>British Journal of Psychiatry</i>, <b>151</b>, 152–5.

Save-As-Ebook shows
<p class="TD0">Abraham, K. R. and Kulhara, P. (1987). Title . <i class="ZR661">British Journal of Psychiatry</i>, <b class="po917">151</b>, 152–5

The identifier online, allows you to be navigated to the exact chapter reference point. Some chapters have over 100 reference points.

  1. Not so important - Chapter Reference cross reference (aka Find this Resource) links were lost by save-to-ebook. The Find this Resource links are a level underneath the chapter page e.g. I click the + online to expand and see the cross reference resources.

Thinking the option to include another level or not is better e.g. include Find this Reource or not. Often Find this Resource is only ever available online versus offline in EPUB.

HTML shows
152–5. <span class="findthisresourcehead">Find this resource:</span></p><ul class="findthisresource m-ISBN-chapter-1-bibItem-1"><li><a href="MYPROXY/10.1192/bjp.151.2.152" target="_blank" class="crossref" referrer="origin-when-cross-origin"><span>CrossRef</span></a></li><li><a href="EXTERNALURL-MYPROXY-/pubmed/3318990" target="_blank" class="crossref" referrer="origin-when-cross-origin"><span>Medline</span>

Save-As-Ebook shows
152–5.<span class="VQ918">Find this resource:</span></p>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants