I would like to insert a meta description into my pages. This would  
be of the form:

<meta name="Description" content="informative description here">

I realise that it would not be correct to use the following construct:

<meta name="Description" content="<r:content part="meta_description"">

Is there any way to insert the output from a radius tag into the  
attribute (in this case content="") of a tag?

Another approach, I suppose, would be to define a custom radius tag  
for the purpose. An example usage being:

<r:meta name="description" part="meta_description" />

which could output:

<meta name="Description" content="The contents of the page part  
called meta_description" />

Am I thinking along the right lines? Has anyone already written an  
extension which achieves this, or should I dive right in?

Thanks,

Drew
_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to