Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Gmail Calendar Nav Module
Displays a Google Calendar summary in a nav module in Gmail.
Setup Instructions:
- Click the install icon for this user script in FireFox
- First get your Calendar Feed URL from calendar.google.com (XML)
- click the down arrow beside the calendar name in the left panel
- choose calendar settings
- click the XML button next to "Private Address:" at the bottom
- copy the URL in the pop-up
- Add this URL to google bookmarks (http://google.com/bookmarks) with a label that does not contain spaces (GMgcal recommended)
- When GMail is loaded/refreshed a new NAV box will appear indicating you neeed to run setup.
- To run setup, click Firefox's tools menu, then choose Greasemonkey->User Script Commands->Gmail Calendar Nav Module Setup
- This will prompt you for the bookmark label (the one you selected above) and the number of events to display, and the number of pages of events to display.
- The Nav Module will refresh with your calendar data.
- To add feeds for further calendars, simply repeat steps 2 and 3 for each. Make sure you use the same label as before.
- To change the color of items from a calendar, rename that calendar (in google bookmarks) so that it ends with a color hex code, such as #F2A640 for orange -- the # is necessary
- To clear your data, click Firefox's tools menu, then choose Greasemonkey->User Script Commands->Clear Gmail Calendar Nav Module Settings
- If you make any changes to your calendar, or add new calendars to the bookmarks label, click 'Reload' in the Nav Module to download the new calendar information
- To avoid the use of Google Bookmarks you can enter your calendar urls directly into this script. Follow the instructions/examples starting around line 310.
- (optional) Clear your data (see above)
- Click Firefox's Tools menu->Greasemonkey->Manage User Scripts. Select "Gmail Calendar Nav Module" then click "Uninstall".
- Cry a little bit
v1.4.5 - 3/20/2008
- added support for static calendar lists - bypassing google bookmarks
- fixed recognition/detection of color codes
- added support for multiple pages of events (default: 2)
- added a script command to clear all settings
- locations link to a map
- changing script settings no longer reloads gmail - just the Nav Module
- canceled events are rendered with a strikethrough font
- updated install/uninstall instructions
- better error handling/reporting of invalid feeds
- fixed a problem with loading calendars on the first of the month
- fixed display of "12pm" times
- fixed highlighting of "today's events"
- uses gmail api
- should work with multiple timezones (not tested)
- completely rewritten - hopefully faster, and easier to maintain
Based on updated gmail calendar which was an updated version of Gmail Google Calendar sidebar.
|
|
Glenn, agenda is not show and i receive "Retrieving Dyn Calendars".What wrong? Thanks |
|
|
Great script! Is there any way to make events disappear when I delete them from google calendar rather than appearing in my NAV bar with a line through them? |
|
|
Thanks for the great script. Any updates in the works? |
|
|
oh and just another quick little idea for the next release. A plus sign that takes you to the quick add form in calendar to the left of the 'Prev 1/3 Next | Reload' text would be awesome. |
|
|
I see you have mentioned that in the future you will be moving the script the right side (for RTM purposes), and I understand that it is not an easy task, hence why you wait. What I'm wondering if it would just be easier (for in the mean time, til you do feel like moving it to the right) you would know how we can just move it up. maybe above the contact list or something. As of right now my contact list completely pushes it off the screen, rendering it near useless. Love the script tho. This one is much nicer than the last as well. |
|
|
Hi,
|
|
|
I added support for static calendar urls. For right now you have to edit the script manually (see the notes section). I will work on updating/expanding the settings to make that part easier, but I wanted to get this out sooner. Keep in mind, if you use this method, you will have to edit the script whenever it is updated here. And while using bookmarks means that your stored calendars are accessible across browsers/profiles, local storage is not. More on the subject of google bookmarks:
|
|
|
<quote>Re: Private links
Could you give a little more detail about this? I think it will help solve my issue: I use Google Apps Gmail/calendar, i.e., @mydomain.com, but my bookmarks are at my Gmail (@gmail.com). So, I think that is why it is not retrieving the feed, right? If so wouldn't hardcoding the feed fix this? |
|
|
Hey, Glenn, so great to hear that you will indeed work on the script. Take your time, but I'll be lying if I do not say that I'm looking forward to it. :-) T |
|
|
@tonyaross
I don't use rtm at all, so any sort of real integration with that is not anticipated. |
|
|
Glenn, I want to make my suggestion a little clearer. Different Jonathan's suggestion, I simply want to have the agenda panel on the right side of the screen. This arrangement makes it "look like" the arrangement made by Remember the Milk, it is not related in anyway to RTM. I simply think that if the agenda panel is on the right, it is more aesthetically pleasing, and save us the trouble to scroll down (if the agenda is not long). If Jon's idea is more difficult because it involves RTM, do you think it is doable to just move the agenda panel to the right? T |
|
|
@Forest Gregg
re:Private Links (or bookmark-less calendars)
|
|
|
Re: Remember the Milk
Re: Private links
|
|
|
I also want it to be on the right, beneath my Remember the Milk panel. I also have this question:
|
|
|
So to make this work i have to take a private address for a private calendar and put it in a public bookmarking system? |
|
|
Bug report: Does not handle exceptions to events. Example Calendar Feed: Figure Drawing
The sidebar shows this event for February 12th. |
|
|
Thanks so much for updating this script! |
|
|
@tonyaross - I like that idea. I will look into it. But I make no promises :-) @ronr - Nothing strikes me as obvious. If it makes it past 'retrieving calendars' then it is connecting and downloading, it just doesn't find anything to display. If you have firebug installed you can see a bunch of status messages that might reveal something. |
|
|
This seems like a very useful script, along with the new RTM Firefox add-on and Better Gmail 2 add-on which integrates Reader. Unfortunately, I cannot get it to work! The sidebar object appears, indicates that it is retreiving bookmarks and then calendars, but never connects or displays the feed. I have changed the XML link in the Google Bookmark a couple of times, with no success, and the feeds work when entered directly into Reader. Any thoughts would be appreciated! Thanks. |
|
|
Like your script very much, tried different versions of the same thing, only yours works. One question, the script as it is has the agenda panel on the left below all other things on the sidebar, and one has to scroll down to get to it. Is it possible to shorten the mainbody of the emails, and then put the agenda panel on the right, similar to the layout of the gmail addon by "Remember Milk." That will make the use of space much more efficient, and one does not have to scroll down to see the agenda. |
You could comment on this script if you were logged in.
