Git Product home page Git Product logo

Comments (2)

alexadam avatar alexadam commented on May 20, 2024

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.

from save-as-ebook.

seasaltseasalt avatar seasaltseasalt commented on May 20, 2024

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>

from save-as-ebook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.