curthard89 / COCOA-Stuff

Just code by me
http://www.geekygoodness.com
66 stars 9 forks source link

iOS and the New GGReadabilityParser #3

Open adeperio opened 12 years ago

adeperio commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

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 commented 9 years ago

@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.