New Post: Extracting a table from a page
Hi all Currently I am trying to extract a table from a page that contains multiple tables. The table that I am interested in comes after this html code <caption> Results </caption> So I...
View ArticleNew Post: Extracting a table from a page
Here's one way to do it. I like to use Linq, but you can do it other ways. This shows loading the document from a file, but again, you can do it other ways. I didn't compile it, so apologies in advance...
View ArticleNew Post: Expanding HtmlConvert.cs to handle List Items
Hello there We've tried using the excellent HtmlToTxt sample: http://htmlagilitypack.codeplex.com/SourceControl/changeset/view/98677#1010173 Whilst it converts text great, removed the CSS etc, it...
View ArticleNew Post: gzip encoding
Are there plans to incorporate a solution to this in the NuGet Package? I am not in a position to use and modify the source code. I am using the Html Agility Pack NuGet Package and more often than not...
View ArticleNew Post: gzip encoding
Hi Linda, You don't have to figure it out, it is written in the posts above. My solution and Ron02's solution both will do the job. good luck
View ArticleNew Post: gzip encoding
Thanks but I definitely saw your posts above and tried to make it work before posting my reply. I am not a trained developer and can usually hack my way through based on review of solutions like yours...
View ArticleNew Post: gzip encoding
Update: I do believe I just got Ron02's solution to work - THANKS!!! :) But still the question: do you know if these fixes will be incorporated into the NuGet package so I won't have to modify the code?
View ArticleNew Post: gzip encoding
The solutions are more or less the same, Ron02 did a little more work, my solution is simpler and as effective. I am still using this code daily and it works all the time. I really don't know about...
View ArticleNew Post: Not compatible with .Net 2.0
For unfortunate reasons, I cannot run a project in anything higher than .Net 2.0. With versions 1.4.4 and 1.4.3, the solution won't compile because it has dependencies requiring a higher .net version....
View ArticleNew Post: Not compatible with .Net 2.0
What kind of errors are you getting? Have you used the latest 1.4.5 source code? It builds for 2.0 target in VS2010 using the Solutions\HtmlAgilityPack.sln
View ArticleNew Post: gzip encoding
I'll look into adding this in for the next release. It won't work for all versions since GzipStream isn't supported across all .NET platforms. Most notably anything based on Silverlight (SL, Windows...
View ArticleNew Post: Looking for HtmlAgilityPack.Metro .dll compiled in Release mode...
Hi, Is any where I can find HtmlAgilityPack.Metro .dll compiled in Release mode (not Debug mode)? I obtained a HtmlAgilityPack.Metro .dll online, but it's in Debug mode. and I try to recompile one...
View ArticleNew Post: Not compatible with .Net 2.0
Hi, no, not using the source code, but including the binaries through NuGet. Here's the recipe: In Vs2010, create a new console application. Go to project properties, and set the target framework to...
View ArticleNew Post: Is Html Agility Pack thread safe if using in ReadOnly mode...
I am just loading a single html page into a single HtmlDocument object. I want to scrape different 4-6 sections of the page using a Parallel loop in .net 4.0. Is this library thread safe for read-only...
View ArticleNew Post: Port HtmlAgility Pack to Metro App
Hello, I created a Blank XAML metro app using VS2012 RC. Have written some C++ code to do some tasks. I need to parse HTML content in my task. I tried with XmlDocument object. But it seems doesn't...
View ArticleNew Post: stackoverflow exception - cannot trace cause
Did you find an answer for this?
View ArticleNew Post: stack overflow in loadhtml
Hi. I hope someone can help me catch/work around this issue. because this has caused me days of lost work trying to debug this. I have a number of sites which I am trying to parse. take...
View ArticleNew Post: Port HtmlAgility Pack to Metro App
Porting an existing C# dll to be a full WinRT Metro assembly is not trivial. I recently gave a presentation on how to do this. Here are the basic steps Take the existing experimental Win8 Metro C#...
View Article