Read the statement by Michael Teeuw here.
MMM - NewsFeed Ticker Hangs
-
@matthewlawson3 no idea
-
this module has a design problem…
a request to get the feed content is started async for each source… so in this case there are 4 fetches going on at once.
when A feed completes in the helper, it sends ALL feeds data (even if none yet) up to the module. (fastest wins)
then second finishes and IT sends up the complete list
and then third
and then forth.and the useful list gets rebuilt over and over…
and it keeps a counter into the list for the next item, BUT the list could get replaced with a smaller number of entries and the code will die… (‘hang’)so the item list gets redone over and over… and over…
-
@sdetweil okay. That’s surprising considering it is the default news module for MM. I’ll find another option.
-
@matthewlawson3 it is not the default. it is an extra. I am talking about MMM-NewsFeedTicker
-
@sdetweil Oh okay. The last code I posted is actually from the default news module, not the news ticker I was working on.
I was trying the default one and it keeps repeating the same source over and over as well. It doesn’t go on to any of the other sources. It just repeats BBC for 10 minutes.
I switched out BBC and added in a CNET RSS feed and it hangs on CNET now.
Just for the heck of it I removed the code and module of the NewsTicker we have been discussing since the beginning of this post. Didn’t have any effect either.
-
@sdetweil Edit: I believe I got the default news module to work. I apparently was missing some brackets around some of the source urls and that I think made the module not see the other sources.