Two Minor Site Tweaks - Site Admin

Two Minor Site Tweaks

Two minor tweaks to the site this afternoon:

  • Careers - Posts from blogs in the Careers Group will no longer display in the default main feed. They will all be aggregated under the Careers heading only. More changes to that section soon.
  • Individual blog sitemaps. Got a request from Rudi this afternoon to render blog specific sitemaps. The functionality exists by default in Community Server but was only accessibly by browsing to /GoogleSiteMap.ashx?apptype=blog&app=blogname. I'm rewriting urls so you can now use http://dotnet.org.za/yourblog/sitemap.xml should you wish to use your individual sitemap somewhere where ownership of the /blog is required.

Below is the extract from my siteurls_override.config should someone be interested in a similar override for their Community Server installation (Note that requests to .xml is mapped to ASP.NET in my installation. This won't work without a similar mapping) :

<?xml version="1.0" encoding="utf-8" ?>
<Overrides>
    <Override xpath="/SiteUrls/locations/location[@name='weblogs']" mode="add">
        <url name = "siteMapRedir"  path="##blogdirectory##sitemap.xml" pattern="##blogName##/sitemap.xml" physicalPath="/" vanity="GoogleSiteMap.ashx?apptype=blog&amp;app=$1" />
    </Override>
</Overrides>

 

Filed under:

Comments

# rudi said:

tnx armand, it works perfectly!!!

Friday, September 07, 2007 8:19 AM