SimpleSi Posted June 28, 2011 Posted June 28, 2011 (edited) Starting to get there with my google cal display Listing calendar contents But I'd my display to alternate (say every 30 secs) between a region with the above in it and another one just showing the standard monthly view iframe. Can Xibo do this? [EDIT] Sussed out just to add a new element to the region and Xibo jsut sequences them - which is jsut what I want[/EDIT] Simon Edited June 28, 2011 by SimpleSi
SimpleSi Posted June 28, 2011 Author Posted June 28, 2011 My problem now is that I'm getting an error msg about content provider not allowing iframes to be used ???? But the iframe page http://www.st-leonards-pri.lancs.sch.uk/cal/monthly.html is displaying fine on my machine in a browser???? Si
cromertech Posted June 28, 2011 Posted June 28, 2011 Can I be ultra cheeky ask ask for the code to do that Been wanting to put something like that on the staff screen for the weeks activities
cromertech Posted June 28, 2011 Posted June 28, 2011 My problem now is that I'm getting an error msg about content provider not allowing iframes to be used ???? But the iframe page www.st-leonards-pri.lancs.sch.uk/cal/monthly.html is displaying fine on my machine in a browser???? Si I get the publisher message too. No content at all in chrome but error in IE Edit: I think it must be a google limitation as if I open in a new window it asks for google log on details
SimpleSi Posted June 28, 2011 Author Posted June 28, 2011 I think it must be a google limitation as if I open in a new window it asks for google log on details Ah The machine I'm on is logged into the google account - I'll need to find a way around using the private cal feed using magic url wizardry @cromertech Once I get the code beyond pre-alpha - no problem Si Si
Cools Posted June 28, 2011 Posted June 28, 2011 share it.. under settings.. or create a account for that PC on google..and keep it loged in. Edward Peake C of E (vc) Middle School >> click events and dates. googles education account with a shared cal.. for every one.. to access and read.. not to post..
SimpleSi Posted June 28, 2011 Author Posted June 28, 2011 share it.. under settings. Don't want to do that as may contain items that a school wouldn't want public(parents) to see, so need to use private feed or create a account for that PC on google..and keep it loged in. Worth trying but I think Xibo won't "see" the browser logged on setting - I'll try it though. Simon
cromertech Posted June 29, 2011 Posted June 29, 2011 I've had some success in creating a page similar to yours with a private shared url. I think you may have to use this and create a month view page with the same url. Maybe borrow some of the google code to make it a similar look. The API for the calendar has examples of this but I can't find an exact thing for what you want to do.
glennda Posted June 29, 2011 Posted June 29, 2011 Worth trying but I think Xibo won't "see" the browser logged on setting - I'll try it though. Xibo does with Some websites - but not with all! I have Nagios setup which doesn't like it (easy to fix as just put user/pass in url string) but i have others (like helpdesk) which works!
SimpleSi Posted June 29, 2011 Author Posted June 29, 2011 I've got a "magic cookie" iframe version working on a browser in another school and I'm not logged into the account http://www.st-leonards-pri.lancs.sch.uk/cal/monthly.html (Basically add in extra param &pvttk=magic where magic = string from private XML feed.) so hopefully it'll work within Xibo when I go back in tomorrow
SimpleSi Posted June 30, 2011 Author Posted June 30, 2011 I've come up with another layout prototype http://www.st-leonards-pri.lancs.sch.uk/calvert.php which looks to maybe be a better arrangement. And to let others start playing, I'm going to separate the formating/display code from the "get a cached feed and parse it to just extract the necessay info" so anyoone else can have play without having to decode my non-structured/non-oo/badly written php Si
SimpleSi Posted July 2, 2011 Author Posted July 2, 2011 Got my V1.0 core code up http://www.edugeek.net/forums/web-development/78794-simplecal-retrieve-display-google-calendar.html Si
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now