How do you envision this working?
As a separate plugin or an enhancement to the existing ticker?
Pulling one piece of content at a time (like it currently does) or pulling all of them and combining them, only refreshing when it has finished the whole string?
Using the html marquee tag or some other mechanism?
How will we get news (RSS .a.k.a. Text) in the ticker?
I think it depends what people want. One implement would be to create the Marquee transition which would get used by the Ticker field. The transition could ignore the content's duration and manually trigger the advancement when it was getting ready to scroll the next one across.
Alternatively, if someone wants a specific RSS feed to act as a Marquee that speaks more to a specific content type that has special JS to slide across a bunch of messages for duration seconds before fading back to the regular ticker stuff.
So, I don't know the nitty gritty of the code base yet because I'm a front end guy. That said, a plugin should take in specific text or some RSS feed, parse it, and store it somewhere. When it comes time to run the scrolling ticker, something like http://www.smoothdivscroll.com/index.html should be used. The front end needs to be told to use a specific jQuery plugin for a certain length of time, also.
That plugin with run text and divs (I assume with images, if one wants), looping if the user wants. I imagine it wouldn't be hard to grab headlines from somewhere and throw the Concerto logo between them.
It sounds like there are two things at work here. The first is getting RSS content into the ticker form-factor. The second is introducing, perhaps through a fieldConfig, the possibility of having the ticket text scroll.
I can do out the jQuery code if someone wants to take on the other thing(s).
So we're going to do a fieldConfig for a moving ticker to close this out. Separately, I'm going to file an issue regarding putting RSS feeds into the ticker field.
Here's some code to get the marquee to work. Obviously, the stylesheet and JS both have to be worked into the code of the site.
I suggest separating headlines or news snippets with the Concerto logo.
Here's a demo: http://therealdanbruce.com/dev/tick/
We should use some css3 animation based approach. Even on my iMac the current marquee does not play smoothly. On an iPad the individual characters are "jumping" (space between chars varies).
Here is an example: http://jsfiddle.net/MaY5A/1/
Hm. I tried it on a few machines, and I didn't have any problems, although I can't say it doesn't surprise me.
I'll work on another version.
Finished the CSS3 code. Here's a demo: http://therealdanbruce.com/dev/csstick/
Here's a gist: https://gist.github.com/ddbruce/75e13171facfb7b8df5c
Way better then the previous version. Animation is nice and smooth, even on a mobile phone
@simplysoft thanks! I aim to please
@bamnet How best could be go about integrating this into the frontend (assuming a fieldConfig exists to activate this)?
Has anyone been able to get the scrolling marquee to not jump on the Raspberry Pi?
From what I've seen online, the pi performs really poorly with any sort of visual effects (including CSS3) in Midori. Have you tried Chromium?
Reopening. I'm not very comfortable with this implementation, it's hardcoded into the frontend in such a way that isn't very flexible for people to introduce other models for multi-content flows. Marquees should be a thing, but like CAS and LDAP I'm not comfortable having them baked in as closely as they are right now. I won't pull out the code now, but let's not advertise this as a V2 feature until a supporting framework is in place. I'll open a new issue tracking the frontend work required to clean up this implementation.
Additional commits captured in follow up prs:
251e40f <-- This is a hack changing the intended frontend API.
I think this should be closed because there is an existing issue under the frontend repo for this.