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

parse-rss example outdate #424

Open
Mte90 opened this issue Mar 6, 2024 · 2 comments
Open

parse-rss example outdate #424

Mte90 opened this issue Mar 6, 2024 · 2 comments

Comments

@Mte90
Copy link

Mte90 commented Mar 6, 2024

As you can see on

$feed = $parser->parse($document, new \FeedIo\Feed());
it was updated 9 years ago but some classes changed and doesn't work anymore.

@Mte90
Copy link
Author

Mte90 commented Mar 6, 2024

Ref: #413

@Mte90
Copy link
Author

Mte90 commented Mar 7, 2024

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.

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

1 participant