> I realise that it would not be correct to use the following construct:
> <meta name="Description" content="<r:content part="meta_description"">

   You can actually use that construct, just be sure to close the
<r:content> tag.

   Although Radius's documentation (http://radius.rubyforge.org/) does not
say it explicitly (AFAIK), the current Radius implementation allows this.

   I remember that  few months ago i stated the opposite in this list, i was
wrong.

   /AITOR

On 10/30/07, Andrew Neil <[EMAIL PROTECTED]> wrote:
>
> 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:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to