Code Monkey home page Code Monkey logo

Comments (7)

giuspen avatar giuspen commented on June 20, 2024

Hi, please send me a zim document to import where I can experiment the
issue telling where the broken link is
On 31 May 2015 00:09, "Zauber Paracelsus" [email protected] wrote:

When importing a notebook from zim, the note links in zim (IE: links from
one page in the notebook to another) are not converted into node links in
CherryTree, and must be manually recreated.


Reply to this email directly or view it on GitHub
#42.

from cherrytree.

zauberparacelsus avatar zauberparacelsus commented on June 20, 2024

Aye, I've got an example zipped up below for you. Based on what I'm seeing in my own testing just now, it's a problem with importing links to sub-pages:

https://mega.co.nz/#!OgFkEZoL!jAtRQmtR-kgJ1yjf00BwuLJNg0qg3vTz4ZrTtHcpk-U

from cherrytree.

giuspen avatar giuspen commented on June 20, 2024

Thank you Zauber I should have fixed this now

On 31 May 2015 at 15:52, Zauber Paracelsus [email protected] wrote:

Aye, I've got an example zipped up below for you. Based on what I'm seeing
in my own testing just now, it's a problem with importing links to
sub-pages:

https://mega.co.nz/#!OgFkEZoL!jAtRQmtR-kgJ1yjf00BwuLJNg0qg3vTz4ZrTtHcpk-U


Reply to this email directly or view it on GitHub
#42 (comment).

from cherrytree.

leggewie avatar leggewie commented on June 20, 2024

Is this fixed? If so, please close the ticket. Thank you.

from cherrytree.

Uradamus avatar Uradamus commented on June 20, 2024

Zim dirs/pages without spaces in their name seem to get their links imported just fine; this problem arises when spaces are present in the link naming. In the background, Zim replaces spaces with underscores in the names of the dirs and files it generates, but within the Zim files themselves they respect the spaces placed in links and the Zim tree view also shows the dir/page names with the user intended spaces.

So my guess is CherryTree is faithfully importing the dirs/page names as they are found on the file system, and since those with underscores don't match the links that contain spaces instead, CherryTree is just converting the mismatched links into plain text and not bothering to create the appropriate links.

from cherrytree.

giuspen avatar giuspen commented on June 20, 2024

@uradamos can you make an example zim folder so that I can see, fix the problem and verify the fix?

from cherrytree.

Uradamus avatar Uradamus commented on June 20, 2024

Here ya go, came across a lot of interesting behavior in both Zim and CherryTree while putting this test case together, so hope it helps.

Example.zip

from cherrytree.

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.