Media Center WebGuide with Google Calendar output
|
|
Hi, I need some help to create a script for WebGuide4. It is a web program with a "built-in" server that let you check XP Media Center 2005 and Vista Media Center EPG remotely, schedule TV recordings and even see the recorded shows from any computer connected to the web. My idea is to add those Google Calendar buttons to the TV show description so the user can add it to Google Calendar as an event and thus create reminders. The WebGuide allows to automatically record TV shows or even entire series of shows, but for those who have satellite TV boxes without PC input is kind of complicated, because you have to remember to change channels before the scheduled recording starts. My TV provider allows to setup some reminders in the onscreen EPG, but it doesn't change channels automatically and have a limited number of reminder slots. So, adding a Google Calendar event button would minimize the technology constrains and help to keep the TV recording schedule. I don't have a web site to serve as example, because I'm running the server on localhost under dynamic IP but you can look at WebGuide4 at http://asciiexpress.com/webguide/ Below you can see a screenshot of the WebGuide page with Harry Potter selected, showing the buttons "Record", "Record Series" and "Other Showings". So I would like to add the Google Calendar Button below them and retrieve the schedule data. Any help will be much appreciated, because I don't have a clue where to start. The program is coded with ASP but I think they compiled most of the code instead of using scripted programming. |
|
|
Well, if you can't change the server code to include the buttons, you could do it in the browser with a user script of course. To get started, this document is just perfect: http://diveintogreasemonkey.org/toc/ Especially, take a look at the DOM inspector and Javascript Shell part of it (chapter 3). With these two tools it should be quite easy to adapt one of my Google Calendar button scripts to your needs. The main task is to fish the necessary bits of information (date, time, duration, description) out of the original page and pack them into a Google Calendar button. Without having the HTML of these pages at hand, I can't say anything more specific. Regards, Tilman |

