sitemap

how to install and use MVC Sitemap

since the Sitemap of VS2008 does not work with MVC, I found MVC Sitemap by maartenba on codeplex. But how do I install and use this.. The download is a sample, and below it is a Dll. I'm sure the install is ridiculously simple, and also overlooked. So I'm looking here to see if I can get assistance using this package in my VB website. ...

Website Sitemaps and <priority>, is it working?

Hi, My "Privacy Policy" page is seen more important by Google than other really more important pages on my website. I'm currently creating a script to generate a sitemap, should I bother with the priority? How do you effectively assign priorities to pages? I consider one of my page important but the page have less content than another...

Immediate update of site-map index in google, shouldn't that be impossible?

Ckeck out http://www.blocket.se/goteborg?ca=15 Look at the first ad. Copy the headline, and paste it into google, and also write 'blocket' after the headline in google, now search. You will see it finds the ad right away. How come? Does googles crawlers really update their index that fast? Or is it just because you entered that sea...

ASP.Net Menu Control with .sitemap file

I don't have tons of experience with binding sitemap files to the menu control in ASP.Net and wanted to see if this was possible (without a lot custom plumbing). I am using the CSS Friendly Adapters to get clean markup. I have the CSS already prepared to create horizontal navigation, where the top bar represents the main navigation, and...

How to get information form page in Custom XMLSiteMapProvider

Hey there guys! First of all I need to tell you that I use URL Rewriting on this project. For the article page this is the url : www.mysite.com/section1/section2/month/day/year/modifiedArticleName For breadcrumbs I use SiteMapPath control with a custom XMLSiteMapProvider because I can't keep all my articles in the xml file. In this p...

How to affect single child nodes when Security Trimming a SiteMap?

I have a ASP.Net site, in which I'm trying to use Windows Authentication and Active Directory roles to limit access to some pages. I've looked at a tutorial page from Scott Gu, but I can't quite achieve what I want. I'm ignoring the root node in my SiteMapDataSource. I want to show the "Documents" node to all users, but limit the displa...

Add a sitemap provider at runtime in asp.net (MVC framework)

I'm building a regionalized site each region has it own sitemap and own content. The regions can be added at runtime. Is there any way to add a sitemap provider at runtime? I need multiple site map providers at once so that I can leverage the mvcsitemap without to many changes. ...

Open same page through multiple Menu Item in asp.net using sitemap

I am using SiteMap and Menu in asp.net to create menus on masterpage. i want to open a same page lets say "Under Construction" from multiple menus. but its giving me error that one menu can refer to one page only. please give me solution to implement this. ...

Embedding Sitemap Meta Tag on Free Wordpress Blog That I have a Domain For

I have a free wordpress blogging account and I have a domain from GoDaddy which is forwarding to my wordpress blog. I want to use Google's sitemap which requires me to add the meta tag in my wordpress page. In Google Webmaster tools or Yahoo's, if I use mysite.wordpress.com and get the meta tag in the blog, it works, but if I use my do...

StartingNodeUrl - How to programmatically get its value?

Is it possible to get the value for StartingNodeUrl programmatically? My sitemap has 3 levels to it at it's deepest and, depending on what section your are in I want to display all of the children below the parent in a navigation. I reckon all I have to do is look at where I am in the navigation and put a value in StartingNodeUrl. But...

StartingNodeUrl - Is it possible to use a Method to set it's value programmatically?

From my Content MasterPage I want get the StartingNodeUrl and programmatically set it: Example of what I'm trying to do: <'asp:SiteMapDataSource ID="SiteMapDataSource1" StartingNodeUrl="<%= SomeMethod()%>" runat="server" /> but that gives the error: Could not find the sitemap node with URL '<%=SomeMethod() %>'. Is it possible to ...

Sitemap webpart based on user permissions using object model

Hi All, I have requirement to create a custom sitemap webpart. The webpart should have a misc field in the edit pane where we could set the number of tiers or levels of childnodes. Here the sites in the sitemap should be displayed based on the permissions of the user who have logged in. Your help would be highly appreciated. ...

reading asp.net sitemap

I'm thinking of using sitemap in my asp.net application. Will sitemap affect the application's performance in any way, I mean will it be read repeatedly or only once like web.config and stored in memory? ...

How to load content pages async using jQuery?

TGIF, I have a website I'm developing which is using ASP.NET masterpage/sitemap/content pages setup. I hate the "blinking" the site does when navigating between content pages using the asp:menu control. Any suggestions on how to use jQuery ajax instead of AJAX.NET updatepanels? I've used updatepanels in the past and I hate it; clunky an...

How to automatically generate the site map path in page header?

I used web.sitemap to generate the site map path for my asp.net application. and I can generate two lays just like: http://localhost:8080/test.aspx but If i need to generate the MVC path like this: http://localhost:8080/test.aspx/edit/2 and I need to know the "2" to get the site map. Is there any method that I can use wild card http://lo...

Empty URL In SiteMapNode

I've got a SiteMap with blank URL attributes in each siteMapNode. Anyone know how to render them if the URL is blank? I'm doing a foreach against the SiteMap.CurrentNode and it doesn't retrieve siteMapNode elements that have empty URL attributes, but I do need to render them (just without a URL). Any ideas? ...

Production SqlSiteMapProvider issue - all the items 'disappeared'?

Hello, We have several ASP.NET applications that use a sitemap which is populated via a VB.NET implementation of the SqlSiteMapProvider example found at Wicked Code. It is compiled to a DLL, then installed and referenced from the GAC on the servers and from our locals as well. It has been working in production just fine for a few months...

XML Error: Only one top level element is allowed...

Hello, I recieve XML error: "Only one top level element is allowed in an XML document." when I try to run my sitemap script in PHP: $num_rows = mysql_num_rows(mysql_query("SELECT * FROM pages_content WHERE date < CURRENT_TIMESTAMP")); $result = mysql_query("SELECT * FROM pages_content WHERE date < CURRENT_TIMESTAMP ORDER BY id DESC")...

looking for asp.net navigation menu editor with source code

web-based so it can be used by users and hopefully using the class SQLSiteMapProvider which allows for saving sitemap in a SQL Database instead of XML. ...

sitemap generation strategy

Hi, i have a huge site, with more than 5 millions url. We have already pagerank 7/10. The problem is that because of 5 millions url and because we add/remove new urls daily (we add ± 900 and we remove ± 300) google is not fast enough to index all of them. We have a huge and intense perl module to generate this sitemap that normally is...