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 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] -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
