| 1 | = Situation = |
| 2 | You want to update XML files in ECHO because new images are available (e.g. a book has been digitized by the MPIWG library & these images are to replace older images that are not owned by the library). |
| 3 | |
| 4 | == Images == |
| 5 | Both new and old images are online on foxridge, subdivision online_permanent |
| 6 | * old image files: archimedes_repository -> large -> [image-folder-old] |
| 7 | * new image files: library -> [image-folder-new] |
| 8 | The names of the image folders can be looked up in the [http://141.14.236.36/fmi/xsl/katalog/findrecords.xsl?-db=katalog&-grammar=fmresultset&-view= library catalogue]. |
| 9 | |
| 10 | == XML files == |
| 11 | ECHO XML files are stored in two places. |
| 12 | * Subversioning file system: https://it-dev.mpiwg-berlin.mpg.de/svn/ |
| 13 | * The (further processed) files that ECHO uses for display: https://itgroup.mpiwg-berlin.mpg.de:8080/tracs/mpdl-project-content/browser/trunk/texts/eXist/ |
| 14 | |
| 15 | = Workflow = |
| 16 | |
| 17 | We are currently using Oxygen to edit and to version the XML files. |
| 18 | |
| 19 | == Download current version == |
| 20 | * Open Oxygen |
| 21 | * Choose: Tools -> SVN Client |
| 22 | * Click the "Repository check-out"-icon in the upper left corner |
| 23 | * Insert Repository URL: https://it-dev.mpiwg-berlin.mpg.de/svn/mpdl-project-content/trunk/texts/eXist/archimedes/ (or the URL to whichever folder your file is stored in) |
| 24 | * Select an empty folder on your machine as target folder |
| 25 | * Chose Revision: HEAD (= newest version) |
| 26 | * Click OK, and wait for files to download |
| 27 | |
| 28 | == Edit file == |
| 29 | * Open the file you want to edit from the downloaded files |
| 30 | * Insert into <info> the element <echodir> containing the path to the new images, e.g. <echodir>/permanent/library/A41S4WF7/</echodir> |
| 31 | * Insert in the appropriate places as many <pb/> elements as necessary (usually at the beginning and end of the book) |
| 32 | |
| 33 | == Upload the new version == |
| 34 | * In the SVN Client, chose "Check in all" (4th item on top from left) |
| 35 | * Password? |
| 36 | |