Installing the ESP templates and schema

Whether you will be managing the whole ESP portal site yourself, or are you just writing ESP pages that someone else will edit and upload, you will need to do some basic set-up.

You will need to:

How to install the ESP schemas and templates on your computer

The schemas are used by Emacs to check that the ESP file is valid. The templates save you time by providing editable outlines for the sorts of files your project is likely to need.

Validating ESP files

With the schemas installed, Emacs will validate your ESP files as you write. Invalid ESP pages will be omitted from your portal site on rebuild, so it is important to check their validity as you work.

When you open an ESP XML file, the XML menu will appear. Make sure the Validation option is checked on that menu. Emacs will choose the correct schema automatically if you edit with the ESP template files provided. However, you can change the schema Emacs is using by going to XML > Set Schema > For Document Type > ESP at any time.

As you type, invalid coding will be highlighted red; correct coding will show shades of blue and brown. Look at the bottom bar of the window too, to see whether the file is Valid or Invalid. You can use the First Error and Next Error items on the XML menu to find and fix coding errors.

24 Aug 2014 osc at oracc dot org

Ruth Horry & Eleanor Robson

Ruth Horry & Eleanor Robson, 'Installing the ESP templates and schema', Oracc: The Open Richly Annotated Cuneiform Corpus, Oracc, 2014 [http://oracc.museum.upenn.edu/doc/help/portals/installingesp/]

 
Back to top ^^
 

Released under a Creative Commons Attribution Share-Alike license 3.0, 2014. [http://www.facebook.com/opencuneiform] [http://oracc.blogspot.com] [http://www.twitter.com/oracctivity]
Oracc uses cookies only to collect Google Analytics data. Read more here; see the stats here [http://www.seethestats.com/site/oracc.museum.upenn.edu]; opt out here.

http://oracc.museum.upenn.edu/doc/help/portals/installingesp/