With the increasing popularity of mobile devices such as smartphones and the iPad, location-aware applications are flourishing. On the other hand, with HTML5 and all of its amazing features, web applications seem to be the way to go. So, how exactly do you locate your web application visitors? Let’s start with a little background information on geolocation.
Continue reading “How to Use Geolocation to Locate Your Visitors”
Continue reading “Introducing Twitter’s @Anywhere”
Have you ever visited a web page and actually had to take a moment to figure out where the content was because the page was so heavily loaded with non-content stuff? With the growing number of websites, with different designs, one may wish to simply read the page’s content without having to deal with all the extra stuff (navigation, ads, social features…).
Continue reading “How to Extract Only the Content from a Web Page”
CSS selectors are a powerful clean way of adding styles to your web pages. Pseudo classes are quite helpful when it comes to efficiently selecting which items to apply styles to. However, some interesting pseudo classes are little known. Chris Coyier, from CSS-Tricks, wrote an awesome article that introduces all the available pseudo class selectors available. Check out a demo of some of those selectors here.
So, you are building a C# application and need to parse a web page’s HTML. You could use regular expressions, but it seems more efficient to use a DOM-based approach. What if you could even take advantage of the power of XPath?
Continue reading “Easily Parse HTML Documents in C#”