Page 1 of 1
Global and per page meta data changes
Posted: Wed Nov 29, 2006 6:29 pm
by skypanther
I'd like to suggest you change the way meta data is handled, most especially the keywords and description meta tags.
The Global Settings -> Global Metadata box should be replaced with separate boxes for author, robots, generator, description, and keywords. Whatever is entered into those boxes is output in the appropriate meta tag. For example, the text you enter in the description box, would be output in the tag.
I'd further suggest an "other metadata tags" box where site admins could enter other tags to be output in the section.
Then, on the options tab on each page, there would be at least description and keywords boxes, ultimately with radio buttons to select either append or replace. In this way, a site editor could easily append to or override the site-wide meta data on each page, thereby optimizing the page for better search engine replacement.
Right now, whatever you enter on a page is simply added to whatever you put in the global settings. You can end up with multiple tags, which is not correct coding practice.
Thanks,
Tim
Re: Global and per page meta data changes
Posted: Sat Dec 09, 2006 2:11 am
by WhoMe
skypanther wrote:
I'd further suggest an "other metadata tags" box where site admins could enter other tags to be output in the section.
Then, on the options tab on each page, there would be at least description and keywords boxes, ultimately with radio buttons to select either append or replace. In this way, a site editor could easily append to or override the site-wide meta data on each page, thereby optimizing the page for better search engine replacement.
Yes, this would be
very usefull.

Re: Global and per page meta data changes
Posted: Sun Dec 31, 2006 3:00 am
by Faltzer
A really good idea would be to add keywords for every word used in a certain page. As well as its own description which a user can put in himself.
Re: Global and per page meta data changes
Posted: Mon Feb 19, 2007 9:35 am
by kermit
YES. i could go for this..
keywords and descriptions should be handled separate from a "generic" metadata field. that way you can specify different ones for particular page... without doubling-up on those lines in the code (getting one for site default, plus one for the page).
keep the global site defaults (but now separate from 'metadata' field) to use when it's not specified on a page.. then for a page have something like:
Keywords (separate with commas. just type the keywords, markup will be added automatically):
{textarea box}
and four options (radios or dropdown):
-
Use site default only (default setting)
-
Replace site default
-
Append to site default
(it should be smart enough to remove any duplicate keywords or phrases at runtime) -
Turn this field OFF for this page
the page settings for description would be a little different, but still have the option to use the page or site setting, or turn off for that page (either no 'append', or append but no dupe checking. just make sure there's a period and a space in the field before adding the page's field to it).
Re: Global and per page meta data changes
Posted: Sat Oct 20, 2007 4:25 pm
by calguy1000
I know this is an old post, but thought it was worth replying to:
Why not use another content block entitled keywords in the head part of your template:
then you could do
Code: Select all
<head>
<meta name='keywords' content="{content block='keywords' wysiwyg='false'}">
...
or:
Code: Select all
{content block='keywords' wysiwyg='false' assign='keywords'}
{if !empty($keywords)}
<meta name='keywords' content="{$keywords}">
{/if}
There, you've got a text area to type your keywords into that is page specific.
Re: Global and per page meta data changes
Posted: Sun Oct 21, 2007 9:58 pm
by kermit
calguy1000 wrote:
I know this is an old post, but thought it was worth replying to:
Why not use another content block entitled keywords in the head part of your template:
There, you've got a text area to type your keywords into that is page specific.
Now that's what I call "thinking outside the box" (or in this case)..
didn't even occur to me to use a {content} block outside of the tags.
Good workaround until something better comes along...
I've been using a GCB for "site-wide" keywords and referencing that block on each page's metadata:
becomes..
and I suppose the new "page defaults" feature (have yet to use it) can even pre-populate a new page's meta data with the former so you don't forget and end up with NO keywords at all.