substance / texture

A visual editor for research.
MIT License
1k stars 83 forks source link

Article categories #1342

Open fred-atherden opened 5 years ago

fred-atherden commented 5 years ago

Description

An article may be assigned to one or more categories for indexing purposes. These can include subject areas, human-readable article types, collection names and so on.

User Stories

Author

  1. As an author, I want to see the categories applied to my article so that I can confirm this is correct.

Production staff

  1. As production staff, I want to be able to change the article categories so that I can correct any errors.
  2. As production staff, I want to be able to add custom categories to an article so that I can compile ad-hoc collections or search terms.
  3. As production staff, I want to be able to add categories in multiple languages so that I can include translated subject areas, article types etc.

But what if . . . ?

Considerations

Screen Shot 2019-06-07 at 13 09 17

XML requirements

Major subject areas at eLife are captured as <subject> elements in a <subj-group subj-group-type="heading"> element. They are captured as children of article-categories. 0-2 subjects allowed in eLife articles

<article-categories>
     <subj-group subj-group-type="heading">
          <subject>Epidemiology and Global Health</subject>
          <subject>Human Biology and Medicine</subject>
     </subj-group>
</article-categories>
<article-categories>
    <subj-group subj-group-type="heading">
        <subject>Articles</subject>
        <subj-group subj-group-type="heading">
            <subject>Review Articles</subject>
            <subj-group subj-group-type="heading">
                <subject>Report</subject>
            </subj-group>
        </subj-group>
    </subj-group>
    <subj-group subj-group-type="heading" xml:lang="en">
        <subject>Articles english</subject>
        <subj-group subj-group-type="heading" xml:lang="en">
            <subject>Review Articles english</subject>
            <subj-group subj-group-type="heading" xml:lang="en">
                <subject>Report english</subject>
            </subj-group>
        </subj-group>
    </subj-group>
</article-categories>

eLife are not wedded to the @subj-group-type value given.

@xml:lang can be used on the subj-group element if needed.

Subjects and keywords are currently under JATS4R public review

eLife defines article type as a subject in front/article-meta/article-categories

<article-categories>
        ...
        <subj-group subj-group-type="display-channel">
                <subject>Research Article</subject>
        </subj-group>
</article-categories>

Example of article-categories for an article with sub-display-channel (as mentioned in the considerations):

<article-categories>
    <subj-group subj-group-type="display-channel">
        <subject>Insight</subject>
    </subj-group>
    <subj-group subj-group-type="heading">
        <subject>Cancer Biology</subject>
    </subj-group>
    <subj-group subj-group-type="sub-display-channel">
        <subject>Biomarkers</subject>
    </subj-group>
</article-categories>

Érudit need the ability to allow multi-language subj-groups:

<article-categories>
    <subj-group subj-group-type="heading" xml:lang="en">
        <subject>Front Matter</subject>
    </subj-group>
    <subj-group subj-group-type="heading" xml:lang="fr">
        <subject>Liminaire</subject>
    </subj-group>
</article-categories>

Mock ups

Proposal

fred-atherden commented 5 years ago

Note - this was raised before receiving feedback from SciELO.