Hi, I've got a SitemapActionResult that overrides the ActionResult, and delivers a SEO sitemap.xml when http://www.sprelle.no/Home/SiteMap is hit. So far so good.
What I would like, though, is to serve the sitemap.xml when Google visits /sitemap.xml. For that to work, I need a route that sees "sitemap.xml" and directs to /Home/Sitemap.
...
I have a list of links for our site that point to my local dev environment. I need to make a valid sitemap according to the protocol here. http://www.sitemaps.org/protocol.php
I have created an initial version by hand that validates as XML, however when I feed it into the Dustme Selectors Firefox extension, I am told that it is invalid....
Hi,
i have a static .sitemap file for my site. I want to add 5 subcategories for each maincategory (@Products) so they will appear in my menu (menu is custom helper which works, i just need to add to the Sitemap.Provider some pages at runtime...) Is this possible?
Sitemap:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap>
<node cont...
Hello everyone,
I've recently been involved in the redevelopment of a website (a search engine for health professionals: http://www.tripdatabase.com), and one of the goals was to make it more search engine "friendly", not through any black magic, but through better xhtml compliance, more keyword-rich urls, and a comprehensive sitemap (...
Hello,
I'm doing the Wicked Code implementation of SqlSiteMapProvider, except in VB.NET.
There's a few things with the code that are causing issues, and I don't understand how it is supposed to work the way it's written in the article. I've provided the code straight from the article provided below. I've pasted the code here for ease o...
Hi,
i created the following ActionFilterAttribute to check if a user is granted access to a page. I also created two custom Exceptions to handle different scenarios: NotLoggedInException and InsufficientPrivilegeException.
ActionFilterAttribute
Public Class ValidateAuthentication : Inherits ActionFilterAttribute
Private _page As B...
I have a custom SiteMapProvider (populated from database) and a custom AuthorizeAttribute (validates current users roles + requested page against Role_Page database) for controller classes.
I have to implement the function SiteMapProvider.IsAccessibleToUser(context, node). I also have to implement AuthorizeAttribute.AuthorizeCore(contex...
Hi,
i have a custom SiteMapProvider which I populate from a database. I also have a custom SiteMapNode which has to be constructed with a custom Page argument.
The implementation of SiteMapProvider.IsAccessibleToUser(context, node) is now:
Public Overrides Function IsAccessibleToUser(context, node) As Boolean
Return CType(node, Cu...
Is there an easy way to create a sitemaps file for Rails projects? Especially for dynamic sites (such as Stack Overflow for example) there should be a way to dynamically create a sitemaps file. What is the way to go in Ruby and/or Rails?
What would you suggest? Is there any good gem out there?
...
I implemented a simple sitemap class using django's default sitemap app. As it was taking a long time to execute, I added manual caching:
class ShortReviewsSitemap(Sitemap):
changefreq = "hourly"
priority = 0.7
def items(self):
# try to retrieve from cache
result = get_cache(CACHE_SITEMAP_SHORT_REVIEWS, "sit...
The Google documentation says there's a limit of 50k URLs in sitemaps you send to them, and I want my sitemap to be submitted by an automated job periodically. Therefore, shouldn't I just have the sitemap contain only the N most recent URLs added to my site? Yes, I know you can have multiple sitemaps, and I do have a separate one for the...
Hi,
I am currently trying to figure out how to best go about implementing an administration side for my application.
I have a user site, where users can log in, customize their profile, submit information etc.
I would like administration users to be able to log in and be able to choose from a list of users. From there, the administrato...
We are planning on using google for our search functionality in an Ektron site. We have to do this because we want pages from a few sites outside of the actual Ektron site to be included in the search results. The problem with this is newly published content won't show up in our sites search results for as long as two weeks unless we c...
I have changed a structure of my site.
I have changed a sitemap file on googleWebmasters.
But Google still gives me old information on search. old links.
How I can solve this problem?
I mean, how to make Google to show new information from site?
...
What is the best way for create a sitemap for google using .net 1.1 and use this sitemap in a treeview into a webpage .aspx?
...
I am working on an ASP.NET 3.5 Web Application project in C#. I have manually added a Google-friendly sitemap which includes entries for every page in the project - this is not a CMS.
<url>
<loc>http://www.mysite.com/events.aspx</loc>
<lastmod>2009-11-17T20:45:46Z</lastmod>
<changefreq>daily</changefreq>
<priorit...
Almost a dupe of this: http://stackoverflow.com/questions/12297/how-can-i-remove-nodes-from-a-sitemapnodecollection
In fact, I used that answer after coverting the code to c# but I end up with an IEnumerable< SiteMapNode > result which wont bind to the sitemenu control.
Here's the code:
ASPxSiteMapDataSource sitemap = new ASPxSiteMapD...
Is there a lib i can use in C# to generate a sitemap for my asp.net website?
I am looking for something that i can insert data into and it will tell me if the generated sitemap has reach its limit or if the file size has reach it limit. Then allows me to save it as a file
...
I want to create a menu that looks like:
HOME | FOO | BAR | ABOUT | CONTACT
How might I go about doing this?
Here is what I have tried:
<lift:Menu.builder ul:class="menu" li_item:class="current" />
and
ul.menu li {
display: inline;
list-style-type: none;
text-transform: uppercase;
border-right: 1px solid white;
padd...
Hi, I am having a little difficulty trying to wrap my head around site structures.
I have quite a large asp.net site, for which:
Admins can see a user list, Each user can have many accounts, and for each account can have many items.
I can picture this as a breadcrumb trail of editing a particular item.
User List > Mr Bob > Accounts > ...