Re: [Zim-wiki] Many links broken after update to 0.56

2012-05-01 Thread Jaap Karssenberg
On Mon, Apr 30, 2012 at 9:37 PM, shirakawasuna shirakawas...@gmail.com wrote:
 I just noticed that many of my links have been broken recently, I believe
 around the time I upgraded to 0.56. These links were almost all of the form:
 Calendar:2012:04:04 (for example). The new format for a global link is
 :Calendar:2012:04:04, so those past links now refer to relative locations
 rather than global.

There has not been any change in the parsing of links. As long as the
top level Calendar namespace exists links should find it.

Did you change anything else except upgrading. E.g. did you
re-organize the notebook ?

 Is there a way to update those links to be global or am I basically stuck
 manually fixing them (there are hundreds)?

Since they should work the same as before, no update should be needed.

You might try zim --index -V /path/to/notebook to force an update of
the index. Not sure if it helps, but could fix any corruptions in the
index.

Regards,

Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Many links broken after update to 0.56

2012-05-01 Thread Rolf Kleef
I found out this weekend I had the same problem in one notebook:
suddenly I get Calender as sub page under pages where I've linked to a
date. They seemed to be interpreted as relative paths for pages now.

The suggested zim --index -V /path/to/notebook seems to have fixed the
problem for me, thanks!

--Rolf.

On 01/05/12 09:37, Jaap Karssenberg wrote:
 On Mon, Apr 30, 2012 at 9:37 PM, shirakawasuna shirakawas...@gmail.com 
 wrote:
 I just noticed that many of my links have been broken recently, I believe
 around the time I upgraded to 0.56. These links were almost all of the form:
 Calendar:2012:04:04 (for example). The new format for a global link is
 :Calendar:2012:04:04, so those past links now refer to relative locations
 rather than global.
 
 There has not been any change in the parsing of links. As long as the
 top level Calendar namespace exists links should find it.
 
 Did you change anything else except upgrading. E.g. did you
 re-organize the notebook ?
 
 Is there a way to update those links to be global or am I basically stuck
 manually fixing them (there are hundreds)?
 
 Since they should work the same as before, no update should be needed.
 
 You might try zim --index -V /path/to/notebook to force an update of
 the index. Not sure if it helps, but could fix any corruptions in the
 index.
 
 Regards,
 
 Jaap
 
 ___
 Mailing list: https://launchpad.net/~zim-wiki
 Post to : zim-wiki@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~zim-wiki
 More help   : https://help.launchpad.net/ListHelp
 

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp