[Imc-uk-tech] DC metadata in the featurearchive.template

Chris cc at riseup.net
Tue Apr 29 18:56:52 PDT 2003


Hi

I'd like to update the DC metadata in the head of the
featurearchive.template to try to comply with this draft spec:

  http://www.ukoln.ac.uk/metadata/dcmi/dcq-html/

My specific questions are:

- is ${i.description_parsed} the description _without_ any html in
  it? If so this should be OK:
  
  <meta 
    name="DC.description" 
    lang="${language.code}"
    content="${i.description_parsed}">

- How can I loop through the topics for an item for the DC.subject?
  I'd like the list of issue based topics to be represented like
  this:  

  <meta
    name="DC.subject"
    lang="en"
    content="Anti-War">

  <meta
    name="DC.subject"
    lang="en"
    content="G8">

  and the regional based topics like this:

  <meta
    name="DC.coverage"
    lang="en"
    content="Sheffield">

  <meta
    name="DC.coverage"
    lang="en"
    content="Leeds">

- It it possible to generate dates in W3C date time format?

  http://www.w3.org/TR/NOTE-datetime

  Because I'd like to do this:

  <meta 
    name="DC.date.created" 
    scheme="W3C-DTF"
    content="2001-Mar-23T18:50:09Z">

  <meta 
    name="DC.date.modified" 
    scheme="W3C-DTF"
    content="2002-Nov-01T13:21:14Z">

Cheers

Chris

-- 
Sheffield IMC: http://lists.indymedia.org/mailman/listinfo/imc-sheffield




More information about the imc-uk-tech mailing list