| 78 | = Preserving the old version = |
| 79 | Although this doubles the entries of some books, the decision was made to keep a version with the old images and the old XML text, as well. The images are kept in the {{{permanent/archimedes}}} folder. |
| 80 | |
| 81 | * Copy the respective XML document from your working copy of [source:/trunk/texts/eXist/archimedesOldCVSRepository/archimedes/xml/] to the appropriate language folder in [source:/trunk/texts/eXist/archimedes], but insert an {{{_old-withdtd}}} before the {{{.xml}}} prefix. |
| 82 | * The DTD fragment has to be resolved. |
| 83 | * You need the {{{xmllint}}}-tool, which is part of [wiki:WikiStart#Tools libxml2], as well as the {{{archimedes.dtd}}}, which you can download [http://archimedes.mpiwg-berlin.mpg.de/cvs-web/read/cvswebread.cgi/texts/archimedes/dtd/ here] (NB you need the whole directory, a zipped version as of September 2010 is attached to this page). |
| 84 | * On the command-line, resolve the DTD with the following command (adjust the path to the {{{dtd}}}-folder and the name of the xml-file): |
| 85 | {{{ |
| 86 | xmllint --dropdtd --loaddtd dtd/archimedes.dtd --noent text_old-withdtd.xml > text_old.xml |
| 87 | }}} |
| 88 | * Delete the {{{_old-withdtd}}} version and open the {{{_old}}} version in an editor: |
| 89 | * Insert the following line before the {{{</info>}}}-line (adjust {{{$directory}}} here to the corresponding directory of the xml file on the Foxridge): |
| 90 | {{{ |
| 91 | <echodir>/permanent/archimedes/large/$directory</echodir> |
| 92 | }}} |
| 93 | * Also in the {{{<info>}}}-Tag: change the {{{<title>}}} by adding (insert the actual number of pages) |
| 94 | {{{ |
| 95 | , old version (xxx pages) |
| 96 | }}} |
| 97 | * Save the document and upload it as documented in the section above. |
| 98 | * Mount the Foxridge server and go to the corresponding directory of the XML text in {{{/Volumes/online_permanent/archimedes_repository/large/}}} |
| 99 | * Open the {{{index.meta}}} in an editor |
| 100 | * Change the {{{<title>}}} in the same way as above |
| 101 | * In the {{{<texttool>}}} tag, add {{{_old}}} to the file in the {{{<text-url-path>}}} beforeht {{{.xml}}} prefix. |
| 102 | * Save the changes |
| 103 | * Open {{{info.xml}}} in the {{{presentation}}} directory in an editor |
| 104 | * Edit the {{{<title>}}} as above and save the document. |
| 105 | |
| 106 | |
| 107 | und in: |
| 108 | presentation/info.xml |