[pLog-svn] Meta tag in post & blog

Mark Wu markplace at gmail.com
Wed Mar 26 10:47:15 EDT 2008


{foreach item=metaTag from=$ metaTags}
<meta name="{$metaTag.name}" content=""{$metaTag.content}" " />
{/foreach}

Just like this.

I plan to add it to core instead of plugin, because it will change from post
to post and blog main page.

Mark

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net 
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> Sent: Wednesday, March 26, 2008 10:38 PM
> To: LifeType Developer List
> Subject: Re: [pLog-svn] Meta tag in post & blog
> 
>  	I was wondering if there would be an easy/intuitive way 
> to let users put in their own meta tags?
>  	What code would go in the template, just {$metadata}?  
> That would probably be the most flexible.  Plugins should be 
> able to modify it too.
> 
> 
> On Wed, 26 Mar 2008, Tsz Ming WONG wrote:
> > Mark,
> >
> > On Wed, Mar 26, 2008 at 3:44 PM, Mark Wu 
> <mark.wu at markplace.net> wrote:
> >>
> >> Hi All:
> >>
> >> <meta name="keyword" content="mark,blog,lifetype,abc"> <meta 
> >> name="description" content="This is a test.">
> >>
> >
> > On the contrast, you can also add this option:
> >
> > <meta name="robots" content="noindex, nofollow, noarchive" />
> >
> > to a page if blog settings has been set to disable search engine.
> >
> >
> > more secure to some users.
> >
> > --
> > Best Regards,
> > tszming
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
> >
> 
> -- 
> Jon Daley
> http://jon.limedaley.com/
> 
> Don't let people drive you crazy when
> you know it's in walking distance.
> -- Unknown
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list