Needs work
Project:
DrupalCon Denver 2012 Website
Component:
Theme
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
17 Mar 2012 at 08:06 UTC
Updated:
20 Mar 2012 at 22:19 UTC
Jump to comment: Most recent
We need a BoF view that will be syndicated on CCC television screens. I got a start on this, which can be viewed here http://pixelwhip-denver2012.redesign.devdrupal.org/bofs/marquee.
This consists of
It would be best if this were to run in Chrome as anything that scrolls forever is going to be cpu intensive. This particular script was the best I could find in that regard. There are some tweaks that could be made, but I need sleep.
Comments
Comment #1
sirkitree commentedPersonally I think that takes too long. I'd rather see a bunch of information instantly, and it cycle through the time slots, or days or something. Instead of scrolling, show as much as possible, and then pop to the next screen of information.
Comment #2
coltraneFrom mpotter:
Comment #3
pixelwhip commentedThe benefit of auto-scrolling is that we don't know how long the view is going to be for a given time slot and don't know the resolution of the monitors. The current solution sets the regions to a fixed percentage of the screen size and lets the list scroll through from start to finish. So it should work on any monitor.
With that being said, I agree it is slow and doesn't allow you to see all the info at once. An ideal solution would show a grid of all (12?) rooms for each timeslot and the BoFs that are scheduled at that time. Then we can cycle between times every 20 sec. or so. This has the benefit of showing which rooms are available in addition to which are scheduled. It also allows us to predict how much content will be on the screen so it can be sized in percentages. Is it possible to create such a view, being that the room is referenced from the bof rather than the bof being referenced the room?
We also need to figure out a way to refresh the view or page periodically so the information is current. Jerad, why don't you whoop up something in node so this gets updated in real time :) Actually that may not be a bad idea. The markup is simple enough and the styles can be pulled out easily. This page could just as easily point to some other server running node.
I honestly don't know when I'll have time to do much more work on this. My day today is packed and I'll be in a training all day Monday. So, what is the next step?
Comment #4
sirkitree commentedI could work on this tomorrow during the hackathon. Do we have the TV/monitors that this'll be displayed upon so that we can test in real-time?
I might start on this tonight to get something working for real-time updates using Node.js - thanks for the suggestion John!
Comment #5
coltraneJerad, there's a JSON feed at http://denver2012.drupal.org/api/bofs if you'd like. But you'll have to do filtering and sorting yourself.
Comment #6
sirkitree commentedAlso, this would have to be near-realtime, since it'd be on one of my servers, and I won't have the live db to query I'll have to scrape.
Comment #7
sirkitree commentedComment #8
Anonymous (not verified) commentedi'm happy to help with this.
Comment #9
sirkitree commentedGot a quick start on this here: https://github.com/sirkitree/BoFscreen
Comment #10
sirkitree commentedLooking at this now - just saw there is a json feed :P
That being the case we can do this all with front-end javascript using
jQuery.getJson();and just update the DOMComment #11
sirkitree commented@coltrane: is there a jsonp version of this feed so i can pull it cross domain?
Comment #12
sirkitree commentedComment #13
coltrane@sirkitree created http://denver2012.drupal.org/api/bofs-jsonp which is prefixed with "feed" so http://denver2012.drupal.org/api/bofs-jsonp?callback=feed should be consumable.
Comment #14
mpotter commentedThe page at http://pixelwhip-denver2012.redesign.devdrupal.org/bofs/marquee looks really great! We just need to get that moved to the main drupalcon site and I think we are all set. I assume it's set to show the sessions for the current day?
I'll try to track down the monitors today and see how it looks live.
Jerad: do you have a demo page for your rotator? Or is your code already integrated on pixelwhip's site?
Comment #15
sirkitree commented@mpotter: I have nothing to show yet. If pixelwhip's is fine with everyone, then we can use that and just refresh the page manually after every timeslot. I was just trying to come up with something because it was suggested by pixelwhip.
I certainly have other things I can be working on if what we have is already fine. No need in duplicating efforts here. Please let me know.
Comment #16
sirkitree commented@coltrane, the feed seems malformed. I keep getting this error.
Comment #17
sirkitree commentedNM - we're using johns original. we tested on a monitor this evening and it looks great :)
The one thing is that we need to insert some js to only show the next time slot. I've a start on some.
Of course this still needs some work in the morning. Need to get what time it is now, formatted, and then compare and hide irrelevant ones. But tired now. More in the morning!
Comment #18
mpotter commentedHey guys. Do we have a URL this morning? The original one from pixelwhip isn't showing anything. Setting up the monitors in the 500 and 200 hallways this morning.
Comment #19
mpotter commentedTook another look at the scroller at http://pixelwhip-denver2012.redesign.devdrupal.org/bofs/marquee and while it's showing some data again, there is something wrong with the feed. It does not show all of the BoF sessions at 10:45.
I took an informal poll of people around me and they agreed that scrolling the entire day schedule is bad. For now I've just got the screens pointing to the BoF schedule page to show the next block of upcoming sessions. If we can incorporate jerad's js to limit the scrolling to the next 2 time slots (and not show anything in the past slots), that would be great assuming we get the data feed working also.
If not, I guess I'll just update the screens manually through the day whenever I can.
BTW: The laptops are not locked or password protected, so if you get something going during the day, feel free to change the URL. Just be sure to leave Firefox in Fullscreen mode when done. I'll keep monitoring this thread throughout the day.
Comment #20
coltraneThis is now up at http://denver2012.staging.devdrupal.org/bofs/marquee
Please confirm that it is correct
Comment #21
coltraneThis is now live at http://denver2012.drupal.org/bofs/marquee
If the View needs editing its http://denver2012.drupal.org/admin/structure/views/view/bof_marquee/edit
Comment #22
pixelwhip commentedI updated the 2 TV screens with the new url.
Comment #23
pixelwhip commentedThe sessions seem to not be getting updated when it refreshes. I'm guessing it's because the page is being cached for anon users. Is it possible to exclude this page from page caching?
Comment #24
coltrane@sirkitree can you just log in to the site?
if you need an account hit me up on irc for the password for account "everydayuser"
edit: it's probably possible to have that page excluded, but you'll have to get somebody on the infra team to do that