← Back to team overview

zim-wiki team mailing list archive

Re: Find dead links



actually I do not want to find dead links to non existing pages but dead
links to files.

For example, I store quite a lot of PDFs within Zim (papers, bills, etc.).
What sometimes happens is that I want to save the record in another page.
To do so, I simply copy over the whole text block containing the link to
another page -- then, however, the original link is not working anymore as
the file links are usually relative and not absolute.

Anyway, I will have a look into that and maybe I am able to write a small
script for that.


2017-06-20 13:39 GMT+02:00 Jaap Karssenberg <jaap.karssenberg@xxxxxxxxx>:

> There is no function to search for them at the moment, although a script
> could easily get this from the index database.
> You can find them visually by scrolling through the index: If a link ends
> at a non-existing page, a "placeholder" for that page will show up in the
> index - these are rendered italic and grey in the index.
> If you open such a non-existing page, the "backlinks" menu in the
> statusbar or the backlinks panel plugin identify the origin of the links.
> Hope this helps,
> Jaap
> On Sun, Jun 18, 2017 at 6:33 PM Sebastian Bayer <bayerse@xxxxxxxxx> wrote:
>> Dear all,
>> I sometimes find that links in my wiki are dead / broken as the target
>> files do not exist anymore.
>> This happens, for example, when I copy/paste content and I forget to also
>> move the files.
>> Is there an easy way to find such dead links?
>> Thanks
>> Sebastian
>> _______________________________________________
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help   : https://help.launchpad.net/ListHelp