W3C home > Mailing lists > Public > www-html@w3.org > August 2003

Re: <meta> anywhere (was Re: [XHTML2] meta attribute)

From: Jeroen Budts <jbudts@mail.be>
Date: Fri, 1 Aug 2003 09:45:53 +0200 (GMT+02:00)
Message-ID: <1177415424.1059723953593.JavaMail.Administrator@pumbaa>
To: tantek@cs.stanford.edu, www-html@w3.org

On 2003-08-01T00:22:26+02:00 "Tantek " <tantek@cs.stanford.edu> wrote:

> Interesting idea.  How about simply allowing a single optional <meta> (which
> could then contain any number of additional <meta>) to be inside any element
> (with default styling of {display:none} of course) so that the metadata
> could be optionally neatly bundled with the specific parts of a webpage?
> E.g. using your example:
> 
> <html xmlns="http://www.w3.org/2002/06/xhtml2" xml:lang="nl-be">
> <head>
>   <!-- the following is meta data about the entire page -->
>   <meta name="author">Jeroen Budts</meta>
> </head>
> 
> <body>
>   <p>
>     Het volgende citaat vind ik best wel leuk:
>     <blockquote xml:lang="en-us">
>      <!-- and the following only about the quote -->
>      <meta>
>       <meta name="author">Andy Warhol</meta>
>       <meta name="DC.Language">en-us</meta>
>       <meta name="DC.Title">THE Philosophy of Andy Warhol</meta>
>       <meta name="chapter">4 - Beauty</meta>
>       <meta name="page">71</meta>
>      </meta>
>       The most beautiful thing in Tokyo is McDonald's.
>       The most beautiful thing in Stockholm is McDonald's.
>       The most beautiful thing in Florence is McDonald's.
>       Pecking and Moscow don't have anything beautiful yet.
>     </blockquote>
>   </p>
> </body>
> </html>

This is endeed a better way to do it. I still had the problem of how are we going to tell that a specific meta data is meta about the entire page. Just saying that if a meta element doesn't have an id that it gives information about the entire page, or also having to give it an id an using the meta attribute with the html element to make it clear which meta is about the entire page (by example: <html meta="#rootmeta" ... />. But in the way you propose the problem doesn't exist anymore.

> This would also make it unnecessary to have a separate 'meta' attribute,
> since you could use <meta src=""> to reference a (perhaps common) block of
> meta information in the <head>, e.g., again using your example:
> 
> <html xmlns="http://www.w3.org/2002/06/xhtml2" xml:lang="nl-be">
> <head>
>   <!-- the following is meta data about the entire page -->
>   <meta name="author">Jeroen Budts</meta>
>   <!-- and the following only about the quote -->
>   <meta id="AndyQuote">
>     <meta name="author">Andy Warhol</meta>
>     <meta name="DC.Language">en-us</meta>
>     <meta name="DC.Title">THE Philosophy of Andy Warhol</meta>
>     <meta name="chapter">4 - Beauty</meta>
>     <meta name="page">71</meta>
>   </meta>
> </head>
> 
> <body>
>   <p>
>     Het volgende citaat vind ik best wel leuk:
>     <blockquote xml:lang="en-us">
>      <meta src="#AndyQuote" />
>       The most beautiful thing in Tokyo is McDonald's.
>       The most beautiful thing in Stockholm is McDonald's.
>       The most beautiful thing in Florence is McDonald's.
>       Pecking and Moscow don't have anything beautiful yet.
>     </blockquote>
>   </p>
> </body>
> </html>

Would it then also be possible to create a 'meta-file'? using a src by example: <meta src="mymetafile.meta#AndyQuote" />
Or is that where RDF is for?

Kind Regards,
Jeroen

----------
<Greetz
  from='Jeroen Budts'
  e-mail='jeroen@lightyear.be'
  url='www.lightyear.be'
/>
-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be
Received on Friday, 1 August 2003 03:46:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:10 UTC