← Back to team overview

zim-wiki team mailing list archive

Re: Interwiki links for Zim Desktop Wiki on Windows


Hi Mariano,

Thank you again for your quick reply!  I really appreciate your detailed

My urls.list is at the same location as yours (different username of
course) following your advice in your first response.

I used a program to generate my urls.list file (my boss wrote it) that
takes a .txt file of the contents of the Notebooks directory, and creates
the urls.list file.  Here is one example from my urls.list:

Curve Fitting zim+file:///c:/Users/Jason/Notebooks/Curve%20Fitting

(I added percent encoding for the spaces in the file URL because it looks
like Windows needs this, from what I have read).

To test notebook linking, I used a different notebook which has no space to
be sure that wasn't the issue:

Electronics zim+file:///c:/Users/Jason/Notebook/Electronics

I tried two styles of links,
(1) Electronics? (which I assumed would open the entire notebook)
(2) Electronics?Multimeter (which I assumed would open the Multimeter page
in the Electronics notebook).

In both cases, clicking the link produces no action.

The only thing standing out to me right now is that my file URLs look a bit
different than yours (I have three slashes after "file" and a ":" after c,
whereas you have two slashes after "file" and no ":" after C), but I tried
changing the format of mine to look like yours, but that did not affect the

Maybe you will see something I missed.

Thanks again,


On Fri, Oct 23, 2015 at 9:56 AM, Mariano Draghi <mdraghi@xxxxxxxxx> wrote:

> Hi,
> Maybe there's a problem with the URL you are writing in the urls.list file
> and/or the way you are using the interwiki link?
> Let's see a concrete example:
> - my username in Windows is "mariano", so the %APPDATA% folder resolves to:
> C:\Users\mariano\AppData\Roaming
> - in there I have a urls.list file, in the following location:
> C:\Users\mariano\AppData\Roaming\zim\data\zim\urls.list
> - I have two Zim Notebooks, "Personal" and "Work", in the following
> locations (these are the folders where each "notebook.zim" file is located):
> C:\Users\mariano\Dropbox\Notebooks\Personal
> C:\Users\mariano\Dropbox\Notebooks\Work
> - In the urls.list file, I declared an "interwiki" prefix for the Work
> notebook, with the following line:
> work zim+file://C/Users/mariano/Dropbox/Notebooks/Work
> - With that configuration, then if I open my Personal notebook and insert
> a link like this:
> work?Home:Projects
> Then when I clic it a new instance of Zim is opened, with the Work
> notebook, and the page Home->Projects.
> Are you doing more or less something like this?
> Regards,
> --
> Mariano
> El vie., 23 de oct. de 2015 a la(s) 10:44 a. m., Jason McLafferty <
> jason.mclafferty@xxxxxxxxx> escribió:
>> Hi Mariano,
>> I greatly appreciate your quick reply, however I am sad to report that my
>> links still do not work.  Any other suggestions I might try?  Thanks!
>> Jason
>> On Fri, Oct 23, 2015 at 8:05 AM, Mariano Draghi <mdraghi@xxxxxxxxx>
>> wrote:
>>> Hi Jason,
>>> The location of the XDG folders in Windows is a little bit weird... you
>>> should put your urls.list in the folder
>>> %APPDATA%/zim/data/zim
>>> i.e., there should be an extra "zim" folder inside "data". Weird, yes.
>>> But it works :)
>>> Regards,
>>> --
>>> Mariano
>>> El vie., 23 de oct. de 2015 a la(s) 5:43 a. m., Jason McLafferty <
>>> jason.mclafferty@xxxxxxxxx> escribió:
>>>> Hi all,
>>>> I am using Zim on Windows 7.  I am trying to add my Zim notebooks to
>>>> the urls.list file using the "zim+file://" method described here:
>>>> http://zim-wiki.org/manual/Help/Config_Files.html
>>>> I use ctrl+L to add a link to a notebook as name_of_notebook?, which
>>>> creates a link, but when I click on it, nothing happens.
>>>> One thing I noticed when I was working through setting this up, is that
>>>> on my system, the directories APPDATA/zim/config and APPDATA/zim/data do
>>>> not exist (I checked where APPDATA is on my computer with cmd by typing cd
>>>> %appdata% and noting the new directory).  Not being sure if this is
>>>> significant or not, I did some poking around in Explorer and found the
>>>> following directory: C:\Users\Jason\.config\zim in which I find files like
>>>> preferences.conf and style.conf.  I tried putting my urls.list file,
>>>> containing all my notebooks and formatted as name-space-zim+file:// in both
>>>> of these directories (APPDATA/zim/data and C:\Users\Jason\.config\zim), but
>>>> still I do not get a working link.
>>>> Any suggestions to where I am going wrong?
>>>> Thank you,
>>>> Jason
>>>> _______________________________________________
>>>> 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

Follow ups