Thanks Eero,
I am a bit confused on handle URL parsing and on artilce/topic fetching..
how can you tell you're in a topic or an article from the url?

sorry for asking dumb questions..

-awlad

----- Original Message -----
From: "Eero af Heurlin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 1:01 PM
Subject: Re: [midgard-user] Generating Auto Meta tags


> >
> > how is the best way?? really confused :(
> > Basically i want to genetate automatic meta tags when i am in either in
> > a topic or article..
> >
> > any help would be greatly appriciated.
> >
>
> Where would you take the data for the meta tags (I recommend parameters) ?
>
> Anyways make sure you handle the URL parsin and article/topic fetching
> before style engine kicks in (ie in code-init), then when you have your
> topic or article, load the parameter for meta tags and put the data into
> variable ($metaKeyWords in this case), in your style add something like
>
> ---<snip>---
> <head>
> <?php if ($metaKeyWords) { ?>
>    <meta name="keywords" content="&(metaKeyWords);">
> <?php } ?>
> </head>
> ---<snip>---
>
> I hope I rememberd the keywords meta format correctly.
>
> /Rambo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to