New Ticker RSS parser #240
Replies: 9 comments
-
Nice, working fine with xml. Do you think there is a way to use with atom files ? Like Diaspora feeds. Thanks |
Beta Was this translation helpful? Give feedback.
-
Currently atom feeds are not supported, but shouldn't be to difficult to implement. I'll try to add support for such feeds. |
Beta Was this translation helpful? Give feedback.
-
headdesk It seems that simplexml is not very comfortable in handling namespaces, so atom feeds in deed are a little tricky to implement. I'll have an eye on this, but currently I just added basic error handling to avoid parser errors when an unsupported feed is given. |
Beta Was this translation helpful? Give feedback.
-
@nibreh: I've added support for the SimplePie parser wich can handle atom feeds and also has caching capabilities. Currently SimplePie is not bundled and the plugin still uses simplexml by default, I might change this at a later time depending on user feedback. Here's howto download and install SimplePie for yellow (shell access with php and git required, not necessarily on the same machine wich yellow is running):
Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hey Steffen, well done. While I was thinking about, how to, you did it. Thanks. „feature request“: it would be nice to have an optional transfer of a css class to the ticker, compareable to image plugin:
This should lead to
This allows individual handling of different ticker entries. Instead of adding this myself, it seems to me as a better solution, that you have the full control over your plugin. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the valuable feedback @BsNoSi, I'll have a look into your request after my radio show this evening. Sometimes I'm neglecting design features in my work. I'm a blind user and therefore my websites and plugins are text-oriented and probably never will win a price for the best design. :) |
Beta Was this translation helpful? Give feedback.
-
@BsNoSi, please try the latest plugin update, ticker sections now should be able to style individually. Just add a class name as 3rd parameter to your ticker shortcode. |
Beta Was this translation helpful? Give feedback.
-
I tried in my blog – you are too fast ;) I must adjust the classes tonight … . Thank you! |
Beta Was this translation helpful? Give feedback.
-
Added to the list of plugins. |
Beta Was this translation helpful? Give feedback.
-
Ticker is a RSS parser plugin for yellow. It uses the
simplexml_load_file
function of php, so there's no need for 3rd party classes.Inspired by code from Webdesign Weisshart
Feel free to test and comment, I'll add it to the plugin list if nothing critical happens outside my playground.
Beta Was this translation helpful? Give feedback.
All reactions