Skip to content

Add publication status via @type in <change> #283

@annabellasc

Description

@annabellasc

I implemented a feature in our MerMEId of the Telemann Works Catalogue, where we needed a way to mark the publication status of files directly in MEI so they can be processed automatically through pipelines. We plan to use this in a similar way for the Norwegian Heritage Project as well.

The additional MEI structure is part of the revisionDesc and shall be as preceding-sibling of the other change elements:

<change type="false">
        <respStmt>
          <name/>
        </respStmt>
        <changeDesc>
          <p>Partial publication</p>
        </changeDesc>
</change>
<change type="false">
          <respStmt>
            <name/>
          </respStmt>
          <changeDesc>
            <p>Publication</p>
          </changeDesc>
</change>

In <change>, we're using the @type attribute with "true" or "false" to indicate whether a publication (or partial publication) is released or not. In the interface, this is connected to a checkbox. The <changeDesc> contains either "Partial Publication" or "Publication", so the combination of both gives us clear information about the type and release status.

Image

In Telemann we use this In a XSLT script within a git pipeline. Files without type="true" are excluded from the public output, and those marked as "Partial Publication" are filtered to only show basic metadata.

@peterstadler : We talked about this with Arnulf Mattes to use it in the Norwegian Heritage Project, so I'd like to open a pull request to contribute this feature. Feel free to give feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions