Can we overide URL and Webpage type with DC?

Hi,

We are building a website which will show archives and manuscripts from the the first world war from a variety of different sources. I have added DC meta tags to the page, but as the site is showing, translating and highlighting just the text from the original documents its the original document I would like people to cite, not the webpage. This is because the webpage will be online for a few years, but each document has a permanent handle/url I would like to cite.

These are the tags im using.

<html prefix="dc: http://purl.org/dc/elements/1.1/" lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>


<title>Test Citation Page</title>

<meta property="dc:creator" content="Old Guy" />
<meta property="dc:contributor" content="Contributor repository" />
<meta property="dc:publisher" content="National Library" />
<meta property="dc.rights" content="Repository" />
<meta property="dc.rights" content="Library" />
<meta property="dc:title" content="Archive Title" />
<meta property="dc:type" content="Document" />
<meta property="dc.identifier" content="http://www.example.com/archives/tree/1/2" />
<meta property="dc.language" content="en-GB" />
<meta property="dc.subject" content="Archive" />
<meta property="dc.subject" content="WW1" />
<meta property="dc.date" content="1914" />
<meta property="dc.source" content="http://www.example.com/archives/parent/3/2" />

</head>


I have the following issues
item type - webpage (can I over ride this to be document?)
Author is taken from creator, Publisher and contributor dont show up.
Website title is being take from the dc.source url
Website type is showing as document.
Rights only shows repository instead of both repository and library
url is the page url rather than the handle url (example.com for testing).

Its quite possible im missing something, but at the least I would like to set the url to the permanent handle/url and show all the rights, not just the first one.

Hope that makes sense!
  • item type is picked up from dc:type. You will want to set it to something more specific than "document". See https://github.com/zotero/translators/blob/master/RDF.js#L369

    I think once you set that, you will find that some other fields will be imported too.

    Contributor is picked up from dc:contributors or dc:contributor_names

    For url you can try eprints:official_url
  • although we'd probably want manuscript for those types of items and there is no DC type for that. Bib is never used in page headers, is it?
  • Bib is never used in page headers, is it?
    it can be, it's just not common, so most software will not understand it.
  • Thanks for the tips and for gracefully pointing out my contributors typo!!

    I originally set the type to 'Archive' but this wasnt working so went through the list of types in the Zotero FF plugin, presuming it would just pick up whatever was there and document was the closest.

    We will also have Journals, Photos, Newspapers, Archives and manuscripts so I will have to see what is closest.

    If there are any other meta tags or RDFa I can include to set the right type let me know, im on a massive learning curve, and struggling to find clear examples for newbies.

    When your talking about Bib, what are you reffering too and where should I be putting it?
  • I just had a look at the eprints documentation, which seems quite interesting so i will try adding some of these tags too and see what benefit they bring.

    Does Zotero read all of these in too?

    Paul
  • we try to, but I don't think I ever found comprehensive documentation of the tags - where are you reading about e-print? In any case, if you find something in a standard that we don't currently support, we're happy to put it in, and typically quite quickly, too (since this all happens in translators, doesn't even require waiting for a new Zotero release).

    Bib refers to bibliontology - which is originally an RDF format, but you should be able to use it as metatags - Aurimas, do you know quickly how those would look?
  • edited September 17, 2013
    You can use bibliontology (or any other supported namespace) the same way you use DC, just use the correct prefix (see linked page). I think in this case we're talking about "bibo", which is more detailed, not "bib".

    We currently do not support assigning custom prefixes to namespaces (I think), but there are at least comments in the code that refer to namespaces defined on the page.
  • edited September 17, 2013
    P.S. You may also find Google/HighWire meta tags helpful https://github.com/zotero/translators/blob/master/Embedded Metadata.js#L40
    (although I think most of these do not take precedence over namespaced tags discussed above)
  • <meta property="bibo:type" content="manuscript" />
    doesn't work, though
  • You're right. bibo and bib item type definitions are a bit special. I added support for them to Embedded Metadata. Should work now.

    Also, what I said about custom namespaces is not right. They are supported, so technically, you can use whatever prefix you want as long as you correctly define it.
    <link rel="schema.iLoveDC" href="http://purl.org/dc/elements/1.1/"/>
    Then you can do
    <meta name="iLoveDC.title" value="Some Title"/>

    I suggest that you define the bibo schema this way if you use it.
  • Thanks guys, I will see how I get on. The page I was looking at with the Eprints info is http://microformats.org/wiki/citation-examples#EPrints.org the two example pages I was just seeing what was in the source code.

    Paul
Sign In or Register to comment.