aso2101 / satavahana-inscriptions

1 stars 0 forks source link

TEI export for view.html #26

Closed aso2101 closed 7 years ago

aso2101 commented 7 years ago

Some of my Sanskritist colleagues are really impressed by the 'TEI Export' feature on syriaca.org—not because it's useful to them, but because it demonstrates that the data is open and accessible and whatnot.

Would it be possible to put a TEI Export button (like the one on the right of the title row on, e.g. http://syriaca.org/person/321) on view.html? I imagine it would just output the document that is loaded on app:load. It could be called from app:navigation-title, I suppose.

wsalesky commented 7 years ago

New branch has get TEI function, just needs to be added to the view.html page. Do you want it to replace the XML option in the toolbar? Or would you rather have it somewhere else?

To retrieve the xml version of a record you just need to add the .xml extension. It should work for all records, inscriptions, persons and bibliographic records.

aso2101 commented 7 years ago

wonderful. yes, i think it would be easiest to just replace the XML button in the toolbar, although i have to say that i find all of the other functions on the toolbar to be useless.

wsalesky commented 7 years ago

We can remove the toolbar, or remove the other items.

On Thu, Jun 22, 2017 at 2:02 AM, Andrew Ollett notifications@github.com wrote:

wonderful. yes, i think it would be easiest to just replace the XML button in the toolbar, although i have to say that i find all of the other functions on the toolbar to be useless.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/aso2101/satavahana-inscriptions/issues/26#issuecomment-310284135, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHTTiyD-1OpWi7Shyku-1wy4gy7iWaQks5sGgNzgaJpZM4N9ecv .

aso2101 commented 7 years ago

Okay, then let's remove the toolbar and put the TEI button near the ID marker at the top-right of the page (perhaps in app:navigation-title).

wsalesky commented 7 years ago

@aso2101 Okay, I added this on a new branch: https://github.com/aso2101/satavahana-inscriptions/tree/issue26

If it looks good to you, you can merge it into master.

aso2101 commented 7 years ago

great. merged!