Jann Forrer wrote:

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



yes, but this shouldn't be a problem

as:

<dc:metadata xmlns:dc="http://purl.org/dc/elements/1.1/";>


is metadata really a DC element? I don't think so, but maybe I have missed something.

An example of mixing can be found at

http://www.ukoln.ac.uk/metadata/dcmi/dc-xml-guidelines/

Michi

--
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]

Reply via email to