feed-io icon indicating copy to clipboard operation
feed-io copied to clipboard

parse-rss example outdate

Open Mte90 opened this issue 1 year ago • 2 comments

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.

Mte90 avatar Mar 06 '24 12:03 Mte90

Ref: https://github.com/alexdebril/feed-io/issues/413

Mte90 avatar Mar 06 '24 12:03 Mte90

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.

Mte90 avatar Mar 07 '24 17:03 Mte90