New Post: Added Functionality - LoadUri
Hi, Thanks for the great add-on-method, exactly what I was looking for... I also needed to pass in credentials, so I'm posting the changes I did here as well... public void LoadUri(string uri) {...
View ArticleNew Post: DocumentNode.Descendants comes back with null values
I am trying to scrape a website for a Windows 8 store app and every resource I find says to run a linq statement off of DocumentNode.Descendants("tagName"); However, no matter how I try it I get back...
View ArticleNew Post: convert a string with HTML tags with a properly formatted string
Hi, Can I convert a string with HTML tags with a properly formatted string? I mean <TR>Test</TR><TR>Test2</TR> Can this be, Test Test2
View ArticleNew Post: I want to get the link url when i click on the link..
in my default.aspx page in page load I am doing this. When i click on the link it show error. i want to get the link url for clicked links, or when i click on a link in session or variable it will...
View ArticleNew Post: Ajax
some page have ajax link for pagination. Like this page below:http://realtors.realtylink.org/page/realtors/ezlist_members_.aspx How I can got to page 2 or 4 or 5 with htmlagility
View ArticleNew Post: Text Highlight color
hi , I got the solution using the text property "text.Highlight(Highlight)".
View ArticleNew Post: why ignore four specified string
see code below: public static string HtmlEncode(string html) { if (html == null) { throw new ArgumentNullException("html"); } // replace & by & but only once! Regex rx = new...
View ArticleNew Post: Option not to fix malformed HTML
Hi, I was wondering if there is an option the set HtmlDocument not to fix malformed HTML. Thanks.
View ArticleNew Post: Scrape website without document extensions
Is there a way to get htmlagilitypack to load a webpage in windowsphone that does not have a document extension? eg.http://www.bbc.co.uk/sport/tennis/mens-singles/live-scores
View ArticleNew Post: No child nodes for FORM objects
In Html specification form tag can overlap, so Htmlagilitypack handle this node a little different. Can you clarify what you mean here? This is pretty confusing default behavior.
View ArticleNew Post: Added couple of nodes to the existing Node, Now im not able to find...
I have added the nodes to existing Node using the following code. Im not able to find the newly added node in the 'htmldoc'. HtmlDocument htmldoc = new HtmlDocument(); htmldoc.LoadHtml(reportHTML); var...
View ArticleNew Post: iterate through like items
HTML I'm scraping is below. It contains a post and 2 replies:<div class="share_buttons noprint">...</div> <strong>Dan</strong> Says:<br/> <span class="small...
View ArticleNew Post: iterate through like items
just for the record, I figured this out and wanted to post the answer for anyone that needs it in the future.'then get thread replies Dim nodesPostNumber As HtmlNodeCollection =...
View ArticleNew Post: XPath and SelectNodes
Why did the function SelectNodes from any element starts looking from DocumentNode not from the current element? Is it have any backlashes?
View ArticleNew Post: DirectoryNotFoundException?
Hi guys brand new to Html Agility Pack, and not much wiser when it come to c# however; trying to get the fundamentals rolling and fallen at the first hurdle. HtmlAgilityPack.HtmlDocument htmlDoc = new...
View ArticleNew Post: HTML parsing awec windows 8 app store
Bonjour :) Je vais vous poser mon probléme . En fait je veux faire le parsing HTML de quelques données d'ne page web en utilisant HTMLagilityPack . De ce fait , je suis devant une page iframe qui...
View ArticleNew Post: hi i need code for my blog- Popular post of "day" ? is there any...
My blog have popular post widget but it shows on "7 days" basis can i make is per day ?TEXT this is my blog http://govtsarkarijob.blogspot.in
View Article