gerev / nsoup Goto Github PK
View Code? Open in Web Editor NEWNSoup is a .NET port of the jsoup (http://jsoup.org) HTML parser and sanitizer originally written in Java
License: MIT License
NSoup is a .NET port of the jsoup (http://jsoup.org) HTML parser and sanitizer originally written in Java
License: MIT License
I am rewriting a Java program in C#. I used the XML parse JSoup, and I'd like to use the .NET port NSoup. However, I cannot find the replacement for
source=Jsoup.connect("http://www.example.com");
Visual Studio tells me "NSoup.IConnection does only exists
Can this be solved?
I look forward to your reply.
NOTE: (2013-07-10) In the last few months I've been struggling with a few tests crashing for some reason I cannot isolate. I've pushed the latest version of the source code, and if anyone can help solve those issues it would greatly help this project.
Still interested in some help on this?
I use the project in my application, today I noticed this in the README:
NSoup is currently unmaintained.
At this time, I am not actively working on this library. However, I will happily accept any help and pull requests, and perhaps return to working on it, should it gain any more traction.
The source code has been migrated from CodePlex in the hopes it will get picked up by the GitHub community. It is by now fairly outdated and perhaps should be ported from latest jsoup scratch.
So, for now the project remains functional, but there is no guarantee that it will continue. Are there any alternatives similar to this? Something practically equal to the JSoup?
Thank u!
When input these cases, it does not output as expected:
1. Case1: "<![CDATA[]]"
-> Output: Error out of range
2. Case2: "<noframes />One"
-> Output: "<noframes></noframes><meta name=foo></head><body>One</body></html>"
-> Expectation: "<noframes></noframes>One"
3. Case3: "<style />One"
-> Output: "<style></style><meta name=foo></head><body>One</body></html>"
-> Exectation: "<style></style>One"
And some testcases are not passed. I hope that you guys can see my comment and will be fixed as soon as possible
I'm using method:
NSoupClient.ParseBodyFragment(input, "http://localhost");
Thanks for reading
How to Solve Emoji Characters Displayed as Question Marks?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.