clic.migrate.cheshire_json: Import books from a CLiC 1.7 instance¶
-
clic.migrate.cheshire_json.
from_cheshire_json
(doc, book_meta)¶ Interprets a /text response from a CLiC 1.6 instance into a 1.7 book format
-
clic.migrate.cheshire_json.
script_import_cheshire_json
()¶ Given a pre-1.7 CLiC instance, parse given / all books into corpora repo
Example:
server/bin/import_cheshire_json http://cal-p-clic-02.bham.ac.uk tapestry BH server/bin/import_cheshire_json http://cal-p-clic-02.bham.ac.uk
-
clic.migrate.cheshire_json.
xml_to_plaintext
(xml_string, offset)¶ Converts cheshire XML back to plain text, along with a list of regions