To celebrate being back on my blog I posted a collection of some nice little enhancements to Community Server 2007:
- GoogleBase Module
To install this module simply use the following override setting in your communityserver_override.config file.<Override xpath = "/CommunityServer/CSModules" mode = "add">
<add name = "GoogleBase" type = "WyattPreul.CS.Modules.GoogleBaseModule, WyattPreul.CS.Modules"
developerKey="_ufsaCd3CF" username="" password="" />
</Override>
Make sure that you supply your developer key and the username and password that is required by GoogleBase. This module will take a blog post that you make and cross-post it to to Google Base with a link back to your original post at the top and bottom of the post. As a result, your original post gets immediately indexed by Google and also gets links going back to the original post, which helps your search ranking. The only catch to this module is that the GoogleBase assemblies require FullTrust. -
AutoTag Module
This module allows you to specify content rules that are used to generate tags for your sites posts. Currently this is not 100% complete as the front-end administrative pages are not done. However, the backend is done as well as the module itself. You can use the following overrides to install this module.
<Override xpath = "/CommunityServer/Core/providers" mode = "add" where="end">
<add name = "TagRulesDataProvider"
type = "WyattPreul.CS.Modules.TagRulesSqlDataProvider, WyattPreul.CS.Modules"
connectionStringName = "SiteSqlServer" databaseOwnerStringName = "SiteSqlServerOwner"
/>
</Override><Override xpath = "/CommunityServer/CSModules" mode = "add">
<add name = "AutoTagRules" type = "WyattPreul.CS.Modules.AutoTagModule, WyattPreul.CS.Modules" />
</Override>
This module can be especially useful for sites that use the blog mirroring feature. Perhaps you do not want to trust the tags that another site is using for content, but instead want to generate your own site specific tags. This module will allow you to do just that. You can specify, for example, that if the word Liberty Bell appears 2 times in a post that you will assign the post the tag Philadelphia. It also supports regex rules that can be applied. -
RerunCommentUpdate Task
This simply updates all of the comments on a site. This can be useful if you have modules that are used when a comment is updated and you need to run that module on all of your comments. -
SiteUrlsView.aspx Page
Put this page somewhere in your ControlPanel folder... it is used to display you the merged view of your SiteUrls.config and your SiteUrls_override.config files. You can use this to help debug your configuration overrides and generally see how they are applied internally. -
CommunityServerView.aspx Page
This is similar to the SiteUrlsView only it shows the merged xml of the CommunityServer.config and the CommunityServer_override.config files. This is very useful for creating override files and generally understanding how the merge process works.
Well that is a good amount of items to keep you busy for a couple of days. I will have more in the near future, unless it is nice out this weekend.
Thanks,
Wyatt
