Version 5 (modified by 14 years ago) (diff) | ,
---|
Situation
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).
Images
Both new and old images are online on Foxridge, subdivision online_permanent
- old image files: archimedes_repository -> large -> [image-folder-old]
- new image files: library -> [image-folder-new]
The names of the image folders can be looked up in the library catalogue.
XML files
ECHO XML files are stored in two places.
- Subversioning file system: https://it-dev.mpiwg-berlin.mpg.de/svn/mpdl-project-content/trunk/texts/eXist/
- The (further processed) files that ECHO uses for display: https://itgroup.mpiwg-berlin.mpg.de:8080/tracs/mpdl-project-content/browser/trunk/texts/eXist/
Workflow
We are currently using oXygen to edit and to version the XML files.
Download current version
- Open oXygen
- Choose: Tools -> SVN Client
- Click the "Repository check-out"-icon in the upper left corner
- 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)
- Select an empty folder on your machine as target folder
- Chose Revision: HEAD (= newest version)
- Click OK, and wait for files to download
Edit file
- Open the file you want to edit from the downloaded files
- Insert into <info> the element <echodir> containing the path to the new images, e.g. <echodir>/permanent/library/A41S4WF7/</echodir>
- Insert in the appropriate places as many <pb/> elements as necessary (usually at the beginning and end of the book)
Upload new version (to SVN)
- In the SVN Client, chose "Check in all" (4th item on top from left)
Update index.meta
- Copy index.meta from the new images folder to your machine
- Open it with oXygen (or any other text editor)
- Insert into <bib>
<texttool> <image>pageimg</image> <figures>figures</figures> <text-url-path>/[path-to-file]/[name-of-file].xml</text-url-path> </texttool>
Example for text-url-path: /archimedes/la/casat_mecha_017_la_1684.xml
- Copy the updated image.meta back into the new images folder
Copy the folder of figures
- Copy the "xxx-xx-figures" folder from archimedes to the corresponding folder in library
- Rename the folder to "figures"
Upload new version (for ECHO display)
- [Activate your eXist account: http://mpdl-proto.mpiwg-berlin.mpg.de/mpdl/doc/index.html ]
- Login to eXist: http://mpdl-proto.mpiwg-berlin.mpg.de/mpdl/doc/login-exist.xql
- Chose the file to upload from your local machine
- Chose Document base: Archimedes (in this case)
- Chose language appropriately
- Execute
- To check if the upload was successful, you may have to reload the result page before you see the link to the uploaded file in an ECHO viewer. -> Das Bilder-Anzeige-Problem?
To Be Updated
Archimedes
- Guidobaldo del Monte 1577 DONE
- Casati 1684 DONE
- Schott 1657 XML nur für Teil 1 des Buches!?!
- Varro 1584 DONE
Digigroup
- Delamarche 1800 Kein XML
- Wilkins 1684 XML: bisher nur in SVN
- Agricola 1556 (?) Wird gescannt. XML vorhanden.
- Guldin 1635-1641 Wird gescannt. Kein XML
Attachments (1)
-
dtd.zip (47.7 KB) - added by 14 years ago.
Local copy of the archimedes.dtd directory
Download all attachments as: .zip