Help - Search - Members - Calendar
Full Version: Keywords and description
Movable Type Community Forum > Additional Resources > Tips and Tricks
Steph-Tara
I'm planning to use MT to manage my whole site (http://climbtothestars.org/) -- blog and static articles included.

I want my pages to include at least meta information like keywords and description -- so I'm thinking of using "excerpt" and "keywords" fields for this.

Is anybody doing something similar? If you use MT to manage non-blog-like articles, what do you do to have metadata on each page?

Thanks for sharing.
raynebair
If you don't know how to create your own tags there are plenty of generators online. Once you have your meta tags generated, it's just a matter of adding them to your templates. Then when MT rebuilds your pages, they will all include the meta data.
Steph-Tara
Actually, I'm perfectly capable of writing my own meta-tags (I do it all the time). My issue is that once I move under MT, all the articles listed (eg) under http://climbtothestars.org/writing/ will be posted using the individual archive template. If I hardcode meta-tags in the template, it won't work for me -- because each of my posts/articles have different meta-tags.

(e.g. http://climbtothestars.org/writing/librarian/ (one post) has different meta-tags from http://climbtothestars.org/writing/fantome/ (another post))

Hence my idea to use keywords and excerpt of the post in the individual archive template to generate the meta tags -- but I wanted to know if anybody else was already doing this, or if there was a better solution.
LisaJill
A few things..

you may want to look at Brad Choates guide to using Movable Type to manage your entire site. You can find it here.

What I would do for the Meta Keywords. One of the very nifty things you can do with Movable Type is embedding the tags anywhere. So you could set up your MT Entries tag to have META generated keywords, and after the META call, insert

CODE
<MTEntryKeywords>


Then, when you make the post, that will be replaced with whatever keywords you created. Thereby giving you meta tags.

I think =)

I personally am complete crap at adding meta tags. But I know you know how to (I used your php comments before I switched to MT =) brilliant stuff) so you should hopefully be able to figure out what I just said, better than I can. =)
girlie
One great thing about this forum - you don't have to reinvent the wheel - Meta Tags for Individual Archives. wink.gif
Steph-Tara
Cool, girlie! it is indeed the MTkeywords + excerpt solution I was favouring.

thanks a lot!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.