Ad Space
Cloud Computing and Cloud Hosting by Rackspace
Ad Space
Cloud Computing and Cloud Hosting by Rackspace

Hosting Geared For
your CMSMS needs

CMSMS ready Hosting

Hosting Starting at $15

  • • Hosted Mail
  • • Personal Control Panel
  • • CMSMS 1.8.1 tested
  • • Lightly packed servers
  • • Intrusion Detection
  • • URL monitored
  • • Custom solutions available

Order your hosting Now

CP Blogs

Validating Metadata

Posted by: Jeremy Bass
on May 24, 2009

Category:

SEO, Coding, Basics, Smarty, HTML, CMS Made Simple

Summary:

What the best chance to get WCAG-Priority 1,2,3 to pass? Are you wanting XHTML valadated with your metadata? Well try this.


Ad Space

Are you having a hard time at passing WCAG-Priority 1,2,3? Can't seem to get XHTML valadated with your Metadata? Well try this. For CMSMS users just put this in your Global Metadata, non CMSMS users, take the {} smarty tags out and place relative content in. This is not just cut and paste, but close, you need to change a few tags. Hope this helps.

<meta name="language " lang="en" content="en" />
   <meta http-equiv="Content-Type" lang="en" content="text/html; charset=utf-8" />
   <meta name="Generator" lang="en" content="{sitename} | Making the Valley Beautiful" />
   <meta name="title" lang="en" content="{title}" />
   <meta name="company" lang="en" content="Swiss Salon INC. ({$smarty.server.SERVER_NAME})" />
   {content block='meta_description' wysiwyg='false' assign='meta_description'}
 {capture assign='meta_description'}{sitename} | {cms_module module='menumanager' template='SEO title at'}{/capture}
 
<meta name="description" lang="en" content="{$meta_description}"/>
<meta name="keywords" lang="en"
   content="{search action="keywords" count="25"}" />
   <meta name="robots" content="FOLLOW,INDEX"/>
   <meta name="revisit-after" content="3 DAYS"/>
   <meta name="LASTUPDATE" content="{current_date format="%a, %d %b %Y %H:%M:%S %z %Z"}" />
   <meta name="revised" content="{current_date format="%a, %d %b %Y %H:%M:%S %z %Z"}" />
 
Ad Space

Get Social With It

[+]

Add A Comment

[+]

Code in the picture:
Title:
Your Name(*):
Email:
Notify me of any further comments to this thread:
Website:
Comment(*):
 
Previous page: Hosting FAQ Next page: Experimental