does cs 2008 have built-in functionality to generate meta tags? if not, does anyone know of a meta tag generator tool that plays nicely with cs 2008? any info would be helpful.
thanks in advance!
I managed to get the following working for weblogs:
Add to ~/themes/blogs/(your blog theme)/post.aspx :
<%@ Import Namespace="CommunityServer.Components" %> ... <asp:Content ID="Top" ContentPlaceHolderID="Top" runat="Server"><% Head.AddMetaDescription((CSContext.Current.GetCurrent<Post>()).ForceExcerpt,CSContext.Current.Context); %></asp:Content>
<%@ Import Namespace="CommunityServer.Components" %>
...
<asp:Content ID="Top" ContentPlaceHolderID="Top" runat="Server"><%
Head.AddMetaDescription((CSContext.Current.GetCurrent<Post>()).ForceExcerpt,CSContext.Current.Context);
%></asp:Content>
Add to ~/themes/blogs/(your blog theme)/theme.master :
<asp:ContentPlaceHolder ID="Top" runat="Server"/>
right before <head runat="server">.
2008.10.22 - change: use the CS Head component to do this.
CS does not automagically build meta tags for pages. At this time, you can only create one set of meta tags/keywords inside CS (help article) and those are applied to all pages in the site.
-Alex LoweCommunity Server, Evolution, and Harvest Documentation
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com