Twitter will eat your URLs: save your lost users with smart 404 pages
joshdutter-wick.com1 pointsby toolate2 comments
var foo = new Animal Brown Quadruped Barking();
Even if styles could be inherited, this seems to be taking the wrong approach. Most of use realise that classes should be used to denote identity, and not behaviour (or in this case, styling). CSS preprocessors seem to fix the same problem in a much nicer way. /* Define classes used in HTML */
.sidebar {
@include bordered-box;
}
#special-offer {
@include bordered-box;
position: absolute;
top: 0;
right: 0;
}
/* Define theme information */
@mixin bordered-box {
h3 {
background: red;
color: white;
}
border: 1px solid red;
} 1. URL: "test - Google"
Title: http://www.google.com/search?q=test
2. URL: http://test.org.us
Title: "Test"
Referrer: http://www.google.com/search?q=test
Time: 2 secs
2. URL: http://en.wikipedia.org/wiki/Test_cricket
Title: "Test cricket - Wikipedia, the free encyclopedia"
Referrer: http://www.google.com/search?q=test
Time: 249 secs
It's really just an extension of page rank by seeing what links are being clicked on and not just which links exist. Whether MS should be capturing this data under false pretenses is another issue. function getCount()
{
return
{
'count': 1
};
}
Not what I'd do, but a common style nonetheless.