Posted on 09/08/2010 12:05:07
Or you can extend the navigation structure as explained here:
http://devierkoeden.com/Articles/[articleId/12]/Extending-the-Google-Sitemap-Feature-with-Custom-Content.aspx
Unfortunately, you can't completely replace the menu item with your custom object inheriting NavigationItem, but you could set, say, the Title attribute to "nofollow" for the appropriate nodes, and then use XSLT like this:
<a>
<xsl:if test="@Title='nofollow'">
<xsl:attribute name="rel">nofollow</xsl:attribute>
</xsl:if>
<xsl:attribute name="href"><xsl:value-of select="@FriendlyHref" disable-output-escaping="yes"/></xsl:attribute>
<xsl:value-of select="@MenuText" disable-output-escaping="yes"/>
</a>
Hope this helps,
Imar