Before WP7 is used Htmlagilitypack and XPath to parse the page, very useful.
But under the Wp8.1, there is a lack of a very important method.
1 New HTMLDocument (); // instantiating a HTMLDocument object 2 Doc. loadhtml (HTML); // Loading HTML 3 var tags = doc. Documentnode. selectnodes ("//li"); // gets the node based on the ID of the HTML node
The SelectNodes () method is used to read the nodes, and the example above is to select all the <li><li/>
So we have to find another way to parse the HTML, like LINQ, Anglesharp (I can't install it)
So take a slow look at what's going on with LINQ to XML.
Another is social sharing, such as sharing content to everyone, Twitter, space, etc.
Used to be Sharemanager (@ Fernando developed), may be due to System.Xml.XPath reference and error
Today, we found a friend league, and shared it with Facebook and Twitter, but still failed to share features.
Does this mean that I should give up htmlagilitypack this artifact in order to realize the sharing function, instead of studying other methods of parsing HTML?
Htmlagilitypack parser in WP8.1 error, not only this, social sharing also error.