en:user:gs2_to_gs3
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:user:gs2_to_gs3 [2026/04/27 23:57] – [Part 1: apache rewrite] kjdon | en:user:gs2_to_gs3 [2026/04/30 02:33] (current) – [Extract ids and add as metadata] kjdon | ||
|---|---|---|---|
| Line 211: | Line 211: | ||
| **Scenario: | **Scenario: | ||
| - | The links might look like this: [[http:// | + | The links might look like this: [[http:// |
| You want to upgrade your library to Greenstone 3. Now, links to the documents look like this: | You want to upgrade your library to Greenstone 3. Now, links to the documents look like this: | ||
| Line 271: | Line 271: | ||
| If you no longer have the archives folder in the Greenstone 2 collection, then your task is a bit more complicated. | If you no longer have the archives folder in the Greenstone 2 collection, then your task is a bit more complicated. | ||
| What might work is: | What might work is: | ||
| + | |||
| 1. run db2txt.pl over the gdbm metadata database in the greenstone 2 collection and save to a file, eg: db2txt collect/ | 1. run db2txt.pl over the gdbm metadata database in the greenstone 2 collection and save to a file, eg: db2txt collect/ | ||
| + | |||
| 2. Write a script to extract filenames and identifiers from the output. Probably into a CSV file would be easiest: | 2. Write a script to extract filenames and identifiers from the output. Probably into a CSV file would be easiest: | ||
| < | < | ||
en/user/gs2_to_gs3.1777334226.txt.gz · Last modified: 2026/04/27 23:57 by kjdon
