tardate / jquery.addtocalendar

jQuery UI widget that provides "Add to Calendar" functionality. Supports an extensible range of calendar services - desktop and web-based
MIT License
93 stars 35 forks source link

Truncate details to avoid 414 error on Google Calendar site #3

Closed woodchuck closed 11 years ago

woodchuck commented 12 years ago

A long description yields this error on the Google Calendar site:

414 That’s an error.

The requested URL /calendar/b/0/render... is too large to process. That’s all we know.

This is how I worked around it, although it would probably be better to check the length of the entire url.