aolarchive / jquery-liveupdate

Other
8 stars 2 forks source link

Support status change from CMS #8

Open jeremyjannotta opened 12 years ago

jeremyjannotta commented 12 years ago

Add support to automatically make the widget live/disabled/completed from the CMS liveblog page directly, so that bloggers can control the state of the widget.

Looks like it may be indicated in existing API data using the int property: If int = 0 and last_update = 0, then blog hasn't started yet If int = 0 and last_update > 0, then blog is completed If int > 0, then blog is live

Joe Bartlett's plugin shows this implemented at: https://github.com/aoltech/liveblog-publisher/blob/master/src/LbP/Repeater.js#L47

neagle commented 12 years ago

As Jeremy and I discussed in person, this status change actually seems very inconsistent from Blogsmith itself. I'm reluctant to build in support for this until we're confident the status in the API is reliable.

CentralCommits commented 12 years ago

Is this something we should open up a support ticket for?

jeremyjannotta commented 11 years ago

In addition to the conditions listed above, also need to support the following:

If status = "error", then blog is disabled.

jeremyjannotta commented 11 years ago

Added support to detect the status in the API, via commit f5d0f923e50316844c245d0fb9da796335692fd3 .