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

changed ExampleRssWidget to use simplexml instead of Zend_Feed #112

Merged
merged 1 commit into from Oct 2, 2013
Merged

changed ExampleRssWidget to use simplexml instead of Zend_Feed #112

merged 1 commit into from Oct 2, 2013

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Oct 1, 2013

As we are trying to get rid of all the Zend parts we are using, I've changed the ExampleRssWidget which was still using Zend_Feed. It now uses simplexml instead.

Any thoughts or suggestions?

@halfdan
Copy link
Member

halfdan commented Oct 1, 2013

I like the change! Will it however still be able to parse RSS and Atom feeds?

I'll have to adjust my FeedAnnotation plugin (see referenced ticket) since it uses Zend_Feed.

@sgiehl
Copy link
Member Author

sgiehl commented Oct 1, 2013

atom feeds have another structure than rss. so you might need to use other properties within the xml. Maybe we could also use another smaller and simpler script for that...

@mattab
Copy link
Member

mattab commented Oct 2, 2013

It's a good change because the example plugin is more simple and does not require Zend_Feed...

@halfdan instead of rewriting FeedAnnotations, maybe you could simply bundle Zend_Feed in your plugin so you can keep supporting Atom feeds?

@mattab
Copy link
Member

mattab commented Oct 2, 2013

@sgiehl please merge the PR if you have tested it and are happy with it! 👍

sgiehl pushed a commit that referenced this pull request Oct 2, 2013
changed ExampleRssWidget to use simplexml instead of Zend_Feed
@sgiehl sgiehl merged commit 2af6d1d into matomo-org:master Oct 2, 2013
@halfdan
Copy link
Member

halfdan commented Oct 2, 2013

@mattab I don't want Zend_* anywhere near my plugin. The dependency is way too big to bundle it with my plugin. I'm going to write my own simple feed parser.

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

Successfully merging this pull request may close these issues.

None yet

3 participants