bluedrag: (Default)

September 2017

34 56789
101112 13141516
171819 20212223

Додатковий текст

Apr. 9th, 2017

Let's say you decided to leave LiveJournal and to migrate to Dreamwidth. You do a full import of your journal to DW and everything looks fine and dandy, but there is one problem: if your LJ posts linked to each other, the import process would not adjust such links, and they still would point to Clearly unacceptable! I wrote a quick and dirty script to fix that. Details below.

1) Get the script, put it in a directory.

2) In the same directory create a config file, ljdump.config:
(substitute bluedrag with your own journal name, and password with your password).

3) Still in the same directory, run . It will create a subdirectory with the name of your journal and a full backup of all entries and comments. My script relies on the presence of that backup and the config file (ljdump.config).

4) Save my script to a file ( and run it in the same directory. It will go over your entries (but not comments) and will try to change all links to your livejournal posts (and tags) to the corresponding Dreamwidth links. It will ask before writing every entry back (but if you feel especially bold you can comment out the raw_input line).

Disclaimers: No warranties, and only tested on my journal. But it worked, and I feel great about the result.

Hasta la vista, LJ!

The script (big chunks borrowed from ljdump):

Read more... )
Систематизирую свои заметки о маяках. У каждого маяка должен быть один пост в журнале, объединяющий все остальные посвящённые этому маяку заметки.

Маяк Грейвза, охраняющий северные подступы к Бостонской бухте:


Expand Cut Tags

No cut tags

Style Credit