feed-io
feed-io copied to clipboard
parse-rss example outdate
As you can see on https://github.com/alexdebril/feed-io/blob/7d0bad46434c2717c41aa92109a1ff8262b4ca2b/examples/parse-rss.php#L33 it was updated 9 years ago but some classes changed and doesn't work anymore.
Ref: https://github.com/alexdebril/feed-io/issues/413
My code doing that is on: https://gitlab.com/ItalianLinuxSociety/planet/-/blob/63fe3c6b9a99b516578464a3becfc74350a6b915/src/rss.php#L187-L193
Does also a detection of the feed type with strpos I didn't found how do that with this library.