ambuda icon indicating copy to clipboard operation
ambuda copied to clipboard

Uploading Text Using TEI-XML File (WIP)

Open kvchitrapu opened this issue 1 year ago • 1 comments

  1. added cli.py sub-command
  2. moved create_new_text() and add_document() from gretil.py to a generic module data_utils.py

Test:

  1. Download TEI-XML file from Isavasyopanishad
  2. `python scripts/cli.py publish-text --title "isa" --slug "isa" --tei-path /tmp/ambuda.org_proofing_isavasyopanishad-text-only_download_xml.xml
  3. रामरक्षास्तोत्रं सानुवादम्

kvchitrapu avatar Jun 04 '23 18:06 kvchitrapu