Am writing an app that is very close to WatzNew. Specially because WatzNew has died long time ago and I find this tool very cool. What it does is crawl websites, ftp, files, mail, etc and let you know if something changed.
Here is the simple web crawler I did so far. Am still not happy with the design/API but for the v1.0 is good enough.
class Program
{
private const string url = "http://www.jetbrains.com/resharper/download/";
private static string filter = "os == ,vs2005,url = \",%1,\";,build number ,%2,</p>";
static void Main(string[] args)
{
string[] arguments = filter.Split(',');
string[] values = Crawler.Crawl<WebCrawler>(url, arguments);
for (int i = 0; i < values.Length; i++)
{
Console.WriteLine(values[i]);
}
}
}
The output of this cool app is:
The url of the latest resharper build for visual studio 2005
The latest build number of Resharper
I allready have this crawler run as a WCF service, further I also wrote a WCF RssService that uses the REST/POX channel to wrap the return values from the crawler service as a RSS feed. So you can use it something like that : www.MyService.svc?new=Resharper and you will get the latest rss feed of resharper.
Am now currently adding more stuff to the engine (cache, checksum, async, resource management and multi-threaded).