Is it possible to hide a tickerzone when the rss feed is empty? I use a rss feed for traffic jam and want to hide the zone when there is no traffic info.
2 comments
-
Lyndon It would require a plugin to do this to know that the feed is empty.
If you're using brightauthor 4.4 beta, there's a command for showing and hiding zones. Using a parser plugin attached to the feed, we could count the # of items in the feed, and update a variable to indicate that the feed is empty.
Or if you have control over what's in the feed, you can create a network variable that's linked to the feed. If you create variable called "count" for example. You can add an item to your feed with the title count, and description the # of items in the feed.
If you set it up as a networked variable then whenever the count value is updated in the feed, you'll get the updated variable.
-
E Ijtsma Hello Support,
I don't have control over the rss feed. I use a free feed from a dutch traffic site. ( http://www.verkeerplaza.nl/rssfeed)