Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS and the New GGReadabilityParser #3

Open
adeperio opened this issue Feb 23, 2012 · 3 comments
Open

iOS and the New GGReadabilityParser #3

adeperio opened this issue Feb 23, 2012 · 3 comments

Comments

@adeperio
Copy link

Hi there, wondering if you had managed to get this working on iOS and if you have examples. Ive been wracking my brain in the last few weeks trying to mod kissxml to work with parsing html so that I can parse stuff with the new GGReadabilityParser. Would you be able to provide me with any tips to help me out getting this to work on iOS?

@curthard89
Copy link
Owner

Hello, im not an iOS developer, so I have not touched any iOS port or tried to make one. To port you will need a xml parser that supports XPath - not sure what frameworks are available on iOS for this as like I said, I don't touch iOS :D. But to port it would be swapping out all the NSXML stuff and replacing with the framework you use.

@adeperio
Copy link
Author

Ahh ok no worries. I basically tried to swap in kissXML (which is supposed to be a direct port of NSXML that you are using, class names and all) But I'm just going through it now and debugging html parse bugs. When I get this up I'll git a html iOS version of your parser (well that's the aim)

@DZamataev
Copy link

@adeperio @curthard89 please take a look at my iOS-compatible implementation here https://github.com/DZamataev/DZReadability
It uses HTMLReader lib with CSS selectors instead of XPath and supports both OSX and iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants