Thorsten Scherler wrote:
El mié, 26-10-2005 a las 11:57 +0200, Jann Forrer escribió:
On Wed, 26 Oct 2005, Michael Wechner wrote:
Jann Forrer wrote:
Hi
I did modify the upload uecase a little bit to save the height and the
width of a image in the metadata.
I guess you mean the metadata of the image doc, right?
yes
[ ... ]
Applying the change respective entry in the <image>.gif.meta
looks like (lenya-1.2.X):
....
<dc:format>image/gif 505 x 48 pixels</dc:format>
...
Does that make sense or do you have other ideas where this information
should be stored?
I think something like
<img:height>...</img:height>
<img:width>...</img:width>
<mime-type>...</mime-type>
would be more handy, because it requires less parsing ;-)
That is certainly true but that would mean to have a mix of dublincore and
non dublincore metadata as:
<dc:metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
....
....
<dc:format>image/jpeg</dc:format>
<img:height>...</img:height
<img:width>...</img:width>
</dc:metadata>
-1
the dc:format looks good
what do you mean dc:format looks good? To be honest I don't think DC
was designed for machine reading initially (whereas I might be wrong)
and this way all kind of things can go wrong ...
I think it's better to save it in a separate tag as suggested above with
a non-dc namespace. Also see
http://www.ukoln.ac.uk/metadata/resources/dc/dc-format-wg/review2413.html
Michi
The rest should go into lenya:internal.
salu2
But as you said that requires less parsing :-)
Jann
---------------------------------------------------------------
Jann Forrer
Informatikdienste
Universität Zürich
Winterthurerstr. 190
CH-8057 Zuerich
oooO mail: [EMAIL PROTECTED]
( ) phone: +41 44 63 56772
\ ( fax: +41 44 63 54505
\_) http://www.id.unizh.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]