You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Sliver <ze...@hotmail.com> on 2007/07/11 11:20:33 UTC

[Lenya 1.2] Extract meta-data and meta-data modification

hi, i need to make a simple web application that extract the meta-data of a
lenya pubblication...any suggest on the method to use?

i saw in documentation this one:
getMetaElement
protected org.w3c.dom.Element getMetaElement(org.w3c.dom.Document doc)
throws DocumentException
Returns the Lenya meta data element. 

but it wants the xml doc... i prefer to make something that search and
access to lenya repository, search and acces to pubblication with document
id or something like that and extract the metadata, and not searching
directly in a "specified-by-me file".


another thing: when i publish a document in lenya, it have by default this
meta-data:

<dc:title> </dc:title>
<dc:creator> </dc:creator> 
<dc:subject> </dc:subject> 
<dc:description> </dc:description> 
<dc:publisher> </dc:publisher> <dc:contributor /> 
<dc:date> </dc:date> 
<dc:type /> 
<dc:format /> 
<dc:identifier /> 
<dc:source /> 
<dc:language> </dc:language> 
<dc:relation /> 
<dc:coverage /> 
<dc:rights> </dc:rights> 
<dcterms:issued> </dcterms:issued> 
<dcterms:modified> </dcterms:modified> 

if i whant to add any other meta like the other dcterms of dublin core
always by default, could i make it without modify the lenya code working on
xml file configuration?

thanks in advance.
-- 
View this message in context: http://www.nabble.com/-Lenya-1.2--Extract-meta-data-and-meta-data-modification-tf4060773.html#a11536923
Sent from the Lenya - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org