Global and per page meta data changes

Talk about new features for CMSMS and modules.
Post Reply
skypanther

Global and per page meta data changes

Post 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
WhoMe

Re: Global and per page meta data changes

Post 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. ;D
Faltzer

Re: Global and per page meta data changes

Post 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.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Global and per page meta data changes

Post 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).
Last edited by kermit on Mon Feb 19, 2007 9:39 am, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Global and per page meta data changes

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Global and per page meta data changes

Post 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)..  8)

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.
Last edited by kermit on Sun Oct 21, 2007 10:09 pm, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Post Reply

Return to “Feature ideas”