Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Realm Works Discussion (http://forums.wolflair.com/forumdisplay.php?f=67)
-   -   How to drop all links and start from scratch? (http://forums.wolflair.com/showthread.php?t=62823)

Valyar June 21st, 2019 03:28 AM

How to drop all links and start from scratch?
 
This is mainly to the developers and LWD folks:

I am refactoring my oldest realm that contain 2k+ articles. After two years working with the product and improving my skills in organizing the content the right way, I am not very happy with the link-mess that is in. I would like to drop all links created in fast and relatively easy way. I don't want to duplicate articles or clean manually 2k+ items and re-scan per item basis. Copy realm, Export/Import does keep the information, so this is dead end.

Is there a way to do what I need?

kbs666 June 21st, 2019 07:04 AM

There is no way built into RW. Your best option would be to export the realm and use a script to remove all the links in the export and then import it into a clean realm.

Valyar June 21st, 2019 07:20 AM

And such script does not exist and nobody knows how to make one? :)

kbs666 June 21st, 2019 11:12 AM

I can write the script it's pretty trivial. The problem is I'm not familiar with how links are represented in the XML. You can find that out and import your XML file into notepad++ or some other good text editor and just replace all the occurrences of links with nothing and that would do it, I think. There could be wrinkles to the XML file I'm unaware of.


All times are GMT -8. The time now is 07:00 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.