Today I got my 1249:th registration email for Sorlov.PowerShell library! I get about 2-3 email daily with suggestions and questions about future versions! I love it – keep it comming! And I’m wondering who will be number 1250…
To celebrate this I updated some code in the Experimental DLL. I implemented a simple wrapper on top of HtmlAgilityPack (integrated) that will allow you to pull any HTML file and convert into XML. Why is this a good idea? Well if you wan’t to quickly access/scrape a site (I assume within the legal limits) and don’t wan’t to use the ParsedHTML (slooooow) property of a fetched HTML document. This approach is very simple and very effective! The new command is Import-HTML and accepts a local file or a remote http path as argument and you will get a xml-structure back to work with!