Jörn Zaefferer wrote:
> Actually I was referring to the use of metadata ;-)
>
> The metadata plugin was the result of a pretty long discussion about the 
> best approach on metadata, a lot of brainpower went into that one :-)
>
>   
Any chance on integrating this into the core API? I think it would be 
pretty cool. I know a lot of plugins use, or will be using the metadata 
plugin.

The same two functions could be used, but I'd like $.data() to be able 
to override the default extraction method set with $.meta().

Something like;

    jQuery.meta('set default extraction to element's attribute || 
selector referencing script '),
    jQueryObject.data() // grab the data
    jQurryObject.data('override default extraxtion'); // grab the data 
using a non-default extractor

~ Brice

 
 
   


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to