unfoldingWord-dev / uwadmin

Code for uW Admin site
MIT License
1 stars 1 forks source link

Bible Publishing #5

Closed jag3773 closed 9 years ago

jag3773 commented 9 years ago

We need to add an interface and guts for publishing Scripture.

This should be based on USFM input. Ideally, the administrator could upload a zip file of a USFM formatted text and then add publishing information about it.

Some cobbled together scripts that are currently publishing from our Etherpad texts are: https://github.com/Door43/tools/blob/master/uwb/ep_export.py https://github.com/Door43/tools/blob/master/uwb/api_publish.py https://github.com/Door43/tools/blob/master/uw/update_catalog.py

Note that ep_export should stay as it is, that just takes the text out of Etherpad and puts it into a Github repo as USFM files.

paltman commented 9 years ago

Can you provide a sample zip file of this USFM data, @jag3773?

jag3773 commented 9 years ago

Most of this is now written in https://github.com/Door43/tools/blob/master/uwb/usfm_tS_import.py. That will need integrated into this site.

Thank you, Jesse Griffin unfoldingWord Chief Technology Officer

On Tue, Feb 17, 2015 at 5:11 PM, Patrick Altman notifications@github.com wrote:

Can you provide a sample zip file of this USFM data, @jag3773 https://github.com/jag3773?

— Reply to this email directly or view it on GitHub https://github.com/unfoldingWord/uwadmin/issues/5#issuecomment-74784222.

jag3773 commented 9 years ago

Here is an example of running the usfm_tS_import.py script:

python /var/www/vhosts/door43.org/tools/uwb/usfm_tS_import.py \
    -r https://ebible.org/Scriptures/arb-vd_usfm.zip \
    -l ar -s avd -v '2014-02-13' -n 'ﺎﻠﻜﺗﺎﺑ ﺎﻠﻤﻗﺪﺳ ﺏﺎﻠﻠﻏﺓ ﺎﻠﻋﺮﺒﻳﺓ، ﻑﺎﻧ ﺩﺎﻴﻛ' \
    -c 'Syrian Mission;American Bible Society;PNG Bible Translation Association' \
    -t 'Eli Smith;Cornelius Van Allen Van Dyck;Nasif al Yaziji;Boutros al Bustani;Yusuf al-Asir'
paltman commented 9 years ago

Is this a duplicate of #4, @jag3773 ?

paltman commented 9 years ago

@jag3773 also, would an admin upload the file as you suggested or would they be more likely to paste a link to the ZIP file? Or should we just support both?

jag3773 commented 9 years ago

Probably should support both. No this is not a duplicate of #4.

jag3773 commented 9 years ago

This issue was moved to unfoldingWord-dev/translationDatabaseWeb#69