sitemap

ASP.NET Site Maps

Has anyone got experience creating SQL-based ASP.NET site-map providers? I've got the default XML web.sitemap file working properly with my Menu and SiteMapPath controls. But I'll need a way for the users of my site to create and modify pages dynamically. I'll need to tie page viewing permissions into the standard ASP.NET membership s...

Generate sitemap on the fly

Hi, I'm trying to generate a sitemap.xml on the fly for a particular asp.net website. I found a couple solutions: chinookwebs cervoproject newtonking Chinookwebs is working great but seems a bit inactive right now and it's impossible to personalize the "priority" and the "changefreq" tags of each and every page, they all inherit t...

How can I remove nodes from a SiteMapNodeCollection?

I've got a Repeater that lists all the web.sitemap child pages on an ASP.NET page. Its DataSource is a SiteMapNodeCollection. But, I don't want my registration form page to show up there. Dim Children As SiteMapNodeCollection = SiteMap.CurrentNode.ChildNodes 'remove registration page from collection For Each n As SiteMapNode In SiteM...

Can I generate ASP.NET MVC routes from a Sitemap?

I'm thinking of learning the ASP.NET MVC framework for an upcoming project. Can I use the advanced routing to create long URLs based on the sitemap hiearachy? Example navigation path: Home > Shop > Products > Household > Kitchen > Cookware > Cooksets > Nonstick Typical (I think) MVC URL: http://example.com/products/category/NonstickCo...

ASP.NET LocationProvider

Hi, We need to replace the menu system in our main ASP.NET application. So naturally we're looking at the ASP.NET SiteMapProvider and Menu controls. However we also need enough security to prevent users from directly entering URLs that they shouldn't have access to. We can do this by putting entries in web.config and securing them indi...

How do I filter nodes of TreeView and Menu controls with sitemap data sources based on user permissions?

I'm using the ASP.NET Login Controls and Forms Authentication for membership/credentials for an ASP.NET web application. And I'm using a site map for site navigation. I have ASP.NET TreeView and Menu navigation controls populated using a SiteMapDataSource. But off-limits administrator-only pages are visible to non-administrator users....

What is the Best Way to Populate a Menu Control on a Master Page

Database? Page variables? Enum????? looking for opionions here. ...

How can I use multiple sitemap file without multiple root nodes

Hi, I'm using a ASP.NET menu control. I'd like the menu to look like this, where link 1 through 10 are in one sitemap file and link 11 through 20 in another. root --link 1 (...) --link 10 --link 11 (...) --link 20 However, sitemap file MUST have a root which I cannot seem to suppress. Any thoughts? -Edoode ...

Is there any way to use XmlSiteMapProvider within WinForm/Console/VSTest application?

I wonder whether there is a workaround for using the standard XmlSiteMapProvider within a non asp.net application, like WinForm/Console or, in my case, VS Unit Test one. The following code fails, because it cannot create a path to the .sitemap file inside a private GetConfigDocument method. XmlSiteMapProvider provider = new XmlSiteMapP...

How do I apply css to second level menu items?

I have a menu running off of a sitemap which one of the SiteMapNode looks like this: <siteMapNode title="Gear" description="" url=""> <siteMapNode title="Armor" description="" url="~/Armor.aspx" /> <siteMapNode title="Weapons" description="" url="~/Weapons.aspx" /> </siteMapNode> I also have a Skin applied to the asp:menu which ...

Creating a site map of an FTP site

Where I work, we maintain an FTP site that needs occasional cleanup. Are there any tools out there to create a site map of an FTP site? It would greatly simplify clean up tasks. Thanks! ...

What's wrong with my sitemap?

Hi, We have a sitemap for our site http://www.appsamuck.com/ The sitemap is here http://www.appsamuck.com/sitemap.xml But Google seems to hate it. My question is why? I'm just staring at it now saying to myself it looks right. Am I missing something? 3 Paths don't match We've detected that you submitted your Sitemap using a URL pat...

How do I create a Google Sitemap for my ASP.NET website?

I'm using DotNetNuke, so the whole site is basically dynamically driven and I'm clueless to how to go about creating a Google sitemap for it. Any help will be greatly appreciated. Thanks, John ...

Using Web.SiteMap with Dynamic URLS (URL Routing)

I would like to match "approximate" matches in Web.SiteMap The Web.Sitemap static sitemap provider works well, except for one thing. IT'S STATIC! So, if I would have to have a sitemapnode for each of the 10,000 articles on my page like so : site.com/articles/1/article-title site.com/articles/2/another-article-title site.com/articles...

Unit Testing SiteMapNode

Does anyone know how to unit test SiteMapNode? We’re building some custom navigation controls, which renders unordered html lists from Site Maps with custom attributes. I’m trying to follow a test first approach but am finding that SiteMapNode has internal dependencies on HttpContext. To traverse the site map file it insists on using a ...

How to validate compliant XML sitemap?

For the following header I get the same two errors on all my sitemaps. It's confusing because, if Google can't read my sitemap, then how can they say that each URL has the same priority? The header counts as line 2, after the XML declaration. Google claims only to have indexed about 2% of the URLs from the maps. Please help. UPDA...

how to create a site map/list

I need to create a site map/list,but I need the link-name to show up as well. What I mean by that is given , say , www.google.com , I need the following list to be created. Google - www.google.com Images - http://images.google.com/imghp?hl=en&amp;tab=wi ... My Account - http://images.google.com/imghp?hl=en&amp;tab=wi Personal Infor...

Generating a Visual Site Map of an Existing Site

I thought I could easily answer this question by searching the web, but my Google-fu has failed me. So I turn to you, oh mighty stackoverflowers, and beseech you for enlightenment: What is the quickest and best way to generate a visual site map (e.g. flowchart, mind map, IA diagram) of an existing website? Additional context: my client...

Good URL strategy for sitemap and SEO

I run a site where users have their own profile pages. They are also able to post products for sale (that they have made) and write/import blog posts. I am going to be implementing a sitemap and I need to make a final decision with the URL strategy. Here's what I currently have for products (where 1234 is the product ID that I use to lo...

Link security trimming in asp.net mvc

I would like to show some links only to authenticated users in an asp.net mvc web application. I use the template for an asp.net mvc web application in Visual Studio 2008 that came with the beta release of asp.net mvc. I use forms authentication. I would like to add something like the following to an existing view: <a href="/Account...