isawnyu / pleiades-gazetteer

This repository provides a home for tickets and other planning documents for the Pleiades gazetteer of ancient places. Code is kept in multiple other repositories.
https://pleiades.stoa.org
11 stars 0 forks source link

rich meta for Pleiades pages #175

Closed paregorios closed 8 years ago

paregorios commented 8 years ago

Details for scrumdo story 62:

attributes on html element:

    prefix="
        bibo: http://purl.org/ontology/bibo/ 
        cc: http://creativecommons.org/ns#
        dcterms: http://purl.org/dc/terms/
        foaf: http://xmlns.com/foaf/0.1/
        og: http://ogp.me/ns#
        schema: http://schema.org/
        "
    typeof="bibo:Webpage cc:Work schema:ItemPage foaf:page og:article">

tags in head element:

    <title property="dcterms:title og:title schema:name">{item:title}: a Pleiades {item:content_type} resource</title>

    <!-- for each item:creator: -->
    <meta property="dcterms:creator schema:creator" content="{creator_lastname}, {creator_firstname}"/>

    <!-- for each item:contributor: -->
    <meta property="dcterms:creator schema:contributor" content="{contributor_lastname}, {contributor_firstname}"/>

    <meta property="dcterms:type schema:genre" content="a gazetteer of past places"/>

    <meta property="og:description dcterms:description schema:description" name="description" content="{item:description}"/>

    <!-- next value formatted iaw ISO 8601 -->
    <meta property="dcterms:date schema:dateModified" content="{item:last_modified_date}"/>

    <meta property="bibo:shortTitle schema:alternateName" content="{item:title}"/>

    <meta property="dcterms:language schema:inLanguage" content="en"/>

    <meta property="dcterms:rights" content="{item:rights}"/>

    <meta property="license cc:license schema:license dcterms:license" content="https://creativecommons.org/licenses/by/3.0/us/"/>

    <meta property="dcterms:publisher schema:publisher" content="Institute for the Study of the Ancient World (NYU); Ancient World Mapping Center (UNC-CH)"/>

    <meta property="dcterms:identifier schema:url" content="{item:canonical_uri}"/>

    <meta property="og:site_name" content="Pleiades: a gazetteer of past places"/>

    <meta property="schema:isPartOf" content="http://pleiades.stoa.org/"/>

    <link rel="foaf:PrimaryTopic schema:about" href="{item:canonical_uri}#this"/>
witekdev commented 8 years ago

@paregorios now on staging, please evaluate. I also left some comments on the Scrumdo story. Thanks!

witekdev commented 8 years ago

https://github.com/isawnyu/pleiades-gazetteer/issues/191 deployed to staging

paregorios commented 8 years ago

blocked for resolution of #191

witekdev commented 8 years ago

@paregorios I guess this can now be closed?