nmdias / FeedKit

An RSS, Atom and JSON Feed parser written in Swift
MIT License
1.19k stars 174 forks source link

PHP Feed not parsing #127

Closed andoma93 closed 1 year ago

andoma93 commented 4 years ago

Hello, i tried to parse this address:

https://www.uniurb.it/it/portale/feed.php

But it doesn't work. Could you please explain why? Thanks for help

nmdias commented 1 year ago

Hi @andoma93,

I believe this is because of the HTML entities being rendered from the feed with strict ampersands, such as — and so on.

Look into PR #85 by @GarthSnyder he provided a wonderful example detailing the failure to parse such feeds, as well as a an extension that could be evolved to handle these scenarios.

I'm closing this issue for now, kindly open again if needed.

Thank you