Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading Text Using TEI-XML File (WIP) #517

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kvchitrapu
Copy link
Collaborator

@kvchitrapu kvchitrapu commented Jun 4, 2023

  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 kvchitrapu requested a review from akprasad June 4, 2023 18:52
@kvchitrapu
Copy link
Collaborator Author

@akprasad , I updated with staging url. Let's try to catch up on db update when you have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant