On Mon, Nov 3, 2008 at 7:40 AM, 2saheb <[EMAIL PROTECTED]> wrote:
>
> hey,
> I wish to export my calendar, by providing a URL for the calendar to
> be exported.
> But, both google calendar is giving me error saying "could not fetch"
> or "error while importing".
> While KOrganiser and Sunbird can both the calendar by URL.
>
> So is there any problem with the way I am exporting the file?
> response.setContentType("text/calendar");
> response.setHeader("Content-Disposition", "inline; filename="
> + "myiCal.ics" + ";");
> Calendar cal = new Calendar();
> ...
> ...
> ...
> CalendarOutputter outputter = new CalendarOutputter();
> outputter.output(cal, response.getOutputStream());
>
> regards.
It looks like you're using iCal4j, correct? If so, you'll need to get
support from the maintainers of the iCal4j project.
It would also help if you provided an HTTP transcript, as well as a
more complete code snippet (for example, you didn't provide the URL
you're fetching from anywhere).
--
Trevor Johns
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---