sitemap

How do I make a sitemap based menu in asp.net with onl top level elements?

I'm trying to make a menu based off of an asp.net sitemap. How do you nest the sitemap nodes so that they all appear on the same level. Here is what I have: <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode> <siteMapNode url="~/Default.aspx" title="Home" description="link to Home" /> <siteMap...

Sitemap security trimming using roles attributes only, and not allow/deny rules elsewhere.

I am aware that the tag has the "roles" attribute to make up for the nodes that don't have the "url" attribute, which can be resolved in other ways. I'm not interested in these other ways, though, I'd like to have all my permissions set in my sitemap file. How to accomplish this? I'm using custom RoleProvider, custom MembershipProvider...

Custom SiteMapProvider derived from XMLSiteMapProvider : How to load an xml document directly in BuildSiteMap()

We have a requirement to load a different XML sitemap for each user that logs in. This sitemap can come from a variety of sources (webservice, database, file) and has to be loaded at runtime. I have designed it thus: When a user logs in, the custom XML for that user is fetched and put into Session. In the BuildSiteMap() method of my cus...

Creating Sharepoint/MOSS sitemap

I'm trying to create a sitemap for my MOSS publishing site, i've got two approaches but seem to be stuck with both. My first approach is to use the PortalSiteMapProvider, which is already created and nicely cached... PublishingWeb rootWeb = PublishingWeb.GetPublishingWeb(SPContext.Current.Site.RootWeb); //Get the URL of the default pa...

How can I hide the SiteMapPath root node on home page?

How can I hide the root node in a SiteMapPath control when the user is on the root node page? For example, my breadcrumb trail on a child page is: Home > Products > Hammers > Ball Peen which is fine. But when the user is on the Home page, the SiteMapPath control displays Home which is useless clutter. I want to suppress displ...

Equivalent effect of custom SiteMapResolve for SiteMapDataSource

Hi there, By adding a custom handler to the SiteMapResolve event, I can update sitemap url's on the fly, by some logic that I define. This is ok for SiteMapPath controls, that appear to use this SiteMapResolve functionality... however I want to achieve a similar result for an asp.net Menu control that uses a SiteMapDataSource. Alter...

Sitemap xml

Should I add pdf's to my sitemap xml as I want to know if google will trawl the PDF's. ...

Sitemap Node URL not accepting Multiple querystring

In the sitemap file, I have sitemap Node URL which have more than 1 query string, like... <siteMapNode url="~/abc.aspx?m=2&c=2" title="title" description="" /> but I am getting error at '&' how to handle multiple query string? ...

SiteMap HtmlHelper ASP.NET MVC

I've rewritten this post to make it more simple. This is the code I've got (a HtmlHelper): using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Runtime.CompilerServices; using System.Web.Mvc; using System.Text; using System.Web.Routing; namespace Intranet.Helpers { public static class Me...

google sitemap direct input validator

does anyone know of a google sitemap validator that does not require a public URL? I am working locally and am hoping for a direct input / copy+paste solution for validating my output. ...

dealing with duplicate urls in a log-structured sitemap

As context I am highlighting the recent paper on sitemaps http://www2009.org/proceedings/pdf/p991.pdf which has a writeup on their amazon sitemap case study Amazon publishes 20M URLs listed in Sitemaps using the“Sitemaps” directive in amazon.com/robots.txt. They use a SitemapIn- dex file that lists about 10K Sitemaps files each ...

Types of sitemap?

How many types of sitemap are present related to RSS? ...

Sitemaps not visible.

Hi, Recently I have observed that some popular sites like olx, clickindia... doesn't show there sitemaps on there sites but they have submitted sitemap to search engines... I want to know why does they submit to search engines but make them invisible for users. Why??? ...

Generate A-Z from ASP.NET SiteMap

I wish to generate an A-Z from a SiteMap... I do not use the Web.SiteMap directly, rather a StaticSiteMapProvider, based on this blog post by Simon Harriyott: Adding dynamic nodes to ASP.NET site maps at runtime by deriving from StaticSiteMapProvider How can I go about doing this? Edit: I want an A-Z list, by link title. Could be star...

Sitemap on a highly dynamic website

Should a highly dynamic website that is constantly generating new pages use a sitemap? If so, how does a site like stackoverflow.com go about regenerating a sitemap? It seems like it would be a drain on precious server resources if it was constantly regenerating a sitemap every time someone adds a question. Does it generate a new sitemap...

XSLT - Replace apostrophe with escaped text in output

I'm writing an XSLT template that need to output a valid xml file for an xml Sitemap. <url> <loc> <xsl:value-of select="umbraco.library:NiceUrl($node/@id)"/> </loc> <lastmod> <xsl:value-of select="concat($node/@updateDate,'+00:00')"/> </lastmod> </url> Unfortunately, Url that is output contains an apostrophe - /what's-new.aspx I...

Change the link on a sitemap based on if a user is logged in?

I have a sitemap that has a link for when a user is not logged in, but when they do login, the link should change, for example, nonmember.aspx should change to member.aspx. This sitemap is tied to an asp:menu. Does anyone know how to do this? ...

What software exists for creating visual sitemaps?

What software is there for creating visual sitemaps? I know of Visio, but that's not that intuitive to use, and Omnigraffle, but that's mac only. Is there any other software that is specifically for creating sitemaps? ...

What Software Do You Use To Create Sitemaps / Site Structure For Large Sites?

Just wondering what software you use to create a visual sitemap / site structure representation before you start big sites? I am looking to map out a large site, but cannot find any good software to help me map the site visually (And in pages/categories).. ...

SiteMap and multiple providers

Hey everyone, I have several sitemap providers(default, admin, etc) and run into a problem when I am using the admin provider. The root node always shows the home page of the default provider instead of the admin provider. Any ideas why and how this can be fixed? <siteMap defaultProvider="default" enabled="true"> <providers> <clear/...