By
Norty | August 24, 2010 21:01
Problem:
We wanted to use Web.sitemap XML file in ASP.Net to populate our breadcrumb control in our Master Page. The issue with the default functionality of the ASP.Net SiteMapPath tools is that it requires default.aspx to be in the NavigateURL of each link. Functionally that is an acceptable method, but we didn't want to display the default.aspx filename and extension to the user. Removing the filename gives the website cleaner URLs and creates easier links for users and SEO.
Solution:
You have to manipulate the SiteMap object in order to achieve these results. Our project used a Master Page, so in the page load of the master page you need C# code:
protected void Page_Load(object sender, EventArgs e)
{
SiteMap.SiteMapResolve += new
SiteMapResolveEventHandler(SiteMap_SiteMapResolve);
}
SiteMapNode SiteMap_SiteMapResolve(object sender,
SiteMapResolveEventArgs e)
{
SiteMapNode currentNode = SiteMap.CurrentNode.Clone(true);
SiteMapNode tempNode = currentNode;
tempNode = _fixParent(tempNode);
return currentNode;
}
protected SiteMapNode _fixParent(SiteMapNode s)
{
s.Url = _normalizeURL(s.Url);
if (s.ParentNode != null)
{
s.ParentNode = _fixParent(s.ParentNode);
}
return (s);
}
protected string _normalizeURL(string s)
{
if(s.Contains("default.aspx")) {
return(s.Substring(0, s.LastIndexOf("/")));
} else {
return(s);
}
}
This code allows for each page like http://domain.com/category/subcat/ to display the breadcrumb even though it is listed with its complete path and filename (~/category/subcat/default.aspx) in the Web.sitemap file. Looping through the parents fixes link on each breadcrumb to function sans default.aspx as well.
By
Norty | August 18, 2010 20:58
In an recent post on the Yahoo! search blog, the Yahoo! and Microsoft Search Alliance team announce that later this week we would be seeing "Powered by Bind" on the organic search results pages of Yahoo! search.

About a month ago Yahoo! made the announcement that they had begun testing this merger in the U.S. and Canada markets. This transition will mark the move to a Bing powered Yahoo! search.
The post goes on to say that tests will begin to transition paid search accounts this week.
By
Norty | July 21, 2010 08:55
Yahoo! recently announced they are in the testing phase of have Yahoo! Search results powered by Microsoft. Initial testing will only provide the Microsoft powered results to about 25% of the U.S. search traffic on Yahoo!
During this testing the user will not notice a difference in the listings powered by Yahoo! versus those by Microsoft; however, other layout tests are being conducted with this Microsoft test. The near future will also see Microsoft powered results making it to Yahoo!'s mobile platform.

Following successful testing, Yahoo! states their timeline to roll Microsoft powered organic search results to all U.S. and Canada traffic in August or September of 2010. Paid search listings will following suite in October.
The “alliance” between Yahoo! and Microsoft was announced back in February of 2010.
What does this mean to you?
Users of Yahoo! will likely see more focus from the company on usability improvements and an effort to pitch Yahoo! has a complete launching point for all of your Internet needs. Less competition in search algorithms, but probably a smart business move for Yahoo! Time will tell.
By
Norty | July 12, 2010 11:11
Since Google's Caffeine search index announcement, all the buzz around search indexing has been about page load speed. In a May 26, 2010 report Google released some interested stats on some key factors that play into page load speed.
Key takeaways from the data:
- Average web page transfers 320 KB of data.
- Most websites could reduce their HTTP requests by combining JavaScript and CSS files respectively.
- The average page has almost 44 resources, 30 of which are images.
Some of the metric data does have a yep factor; though it's not all that suprising. The era of "cloud computing" lends a lot to the gets per post and hosts per request. Just keep in mind, reduction of some of the reported metrix data could improve your web page's page download speed.
The data in the report is based upon a sample size of 4.2 billion pages. Yes, that is billion. We are talking about Google's search index.