← Back to team overview

zim-wiki team mailing list archive

Re: Interwiki links for Zim Desktop Wiki on Windows

 

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

References