Beth-Mardutho / hugoye-data

Data repository for Hugoye TEI records.
2 stars 3 forks source link

Sections within an issue #14

Closed gkiraz closed 6 years ago

gkiraz commented 6 years ago

@jedwardwalters : Do we also need a tag for the section of a text (e.g. paper, book review, project report). @wsalesky would need a way to organize papers under these sections.

@wsalesky : do we need an xml file that gives the order of sections in a volume (papers, then book reviews, then project reports)? Then if we need to change the order and put book reviews after project reports, we can edit this xml file? But you may have a better idea on how to do this.

jedwardwalters commented 6 years ago

@wsalesky Just in case it's not clear, George is asking about replicating the black headings, like the on this page: http://www.bethmardutho.org/index.php/hugoye/volume-index/75.html

wsalesky commented 6 years ago

@gkiraz do you mean different Issues would have a different order? If that is the case we would need to come up with some sort xml or configuration that goes with each Issue, specifying preference.

The types can be specified in the URIs, (see @jedwardwalters's templates). This should be enough to do automated sorting and grouping.

jedwardwalters commented 6 years ago

The order of sorting categories should be the same for all issues, but not every issue will have every category (just FYI).

wsalesky commented 6 years ago

That should not be a problem. Do you have list of the category types (and how they will be encoded in the uri)?

For example I know there are book reviews. Will you encode them as bookReview or bookreview or something else?

jedwardwalters commented 6 years ago

I'll make a list. I may not get to this right now, but I'll do it ASAP.

wsalesky commented 6 years ago

Okay, it does not have to be asp, but for the automation I should know if you want camelcase or all lower case letters. (we can always do a find and replace if you change your mind.)

jedwardwalters commented 6 years ago

Okay. I'll do it with camelcase.

Off the top of my head we will need at least: introduction obituary article shortPaper bibliography conferenceReport projectReport bookReport advertisement callForPapers

wsalesky commented 6 years ago

Great. Anything else I find I will just camel case and we can run a query at some point to find all the values currently in use.

jedwardwalters commented 6 years ago

Ha. Just saw a typo. Should be bookReview not bookReport :)

wsalesky commented 6 years ago

@jedwardwalters @gkiraz
I have added a page view for each volume, what is the order you would like to see for the above article types?

jedwardwalters commented 6 years ago

I think it should be:

Introductions (Many volumes do not have this) Articles Short Articles Bibliographies Reports Book Reviews

Any thoughts, @gkiraz?

gkiraz commented 6 years ago

I like it.

@wsalesky, is it possible to have this order in some xml config file rather than hardcoded?

G

On Mon, Jul 2, 2018 at 10:57 AM jedwardwalters notifications@github.com wrote:

I think it should be:

Introductions (Many volumes do not have this) Articles Short Articles Bibliographies Reports Book Reviews

Any thoughts, @gkiraz https://github.com/gkiraz?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Beth-Mardutho/hugoye-data/issues/14#issuecomment-401833714, or mute the thread https://github.com/notifications/unsubscribe-auth/AJS-TPki1CKVYqmCjRHk5klO4FAfA9_nks5uCjTkgaJpZM4U5AlY .

-- George A. Kiraz ܡܩܪܝܢܐ ܡܚܝܠܐ Visiting Scholar, Rutgers University Editor-in-Chief, Gorgias Press Director, Beth Mardutho: The Syriac Institute

jedwardwalters commented 6 years ago

@wsalesky Is this feature live yet? I'm trying to figure out if it's working, but I don't see anything.

wsalesky commented 6 years ago

@jedwardwalters it is not live yet. Do you have a volume I can use for testing?

jedwardwalters commented 6 years ago

Right now volume 21 only has one article and one review, but they are marked with the type attribute on the <text> element. So you should be able to test with those.

wsalesky commented 6 years ago

Okay, thanks.

wsalesky commented 6 years ago

See: https://github.com/Beth-Mardutho/hugoye-data/issues/34