SOLVED - ICal export
Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
SOLVED - ICal export
by obelix1990 » Thu Oct 20, 2011 8:12 am
Hello,
I have a problem with Ical export.
I generate a repetitive event (birthday) without hours (tick box), and when I export the birthday category, jevents generate the following file:
BEGIN:VEVENT
UID:494160462fcf3fcd4a2e5e3ac71e4662
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Yannick
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels;VALUE=DATE:20111020T100144
DTSTART;TZID=Europe/Brussels;VALUE=DATE:20100106
DTEND;TZID=Europe/Brussels;VALUE=DATE::20100107
SEQUENCE:0
RRULE:FREQ=YEARLY;UNTIL=20200106T235959Z;INTERVAL=1;BYYEARDAY=+006
TRANSP:OPAQUE
END:VEVENT
When I try to import into google, it doesn't work.
The first problem is :: instead of : in DTEND line.
The second, the event is not treated by google except if I remove the ';VALUE=DATE' to have the following:
DTSTAMP;TZID=Europe/Brussels:20111020T100144
DTSTART;TZID=Europe/Brussels:20100106
DTEND;TZID=Europe/Brussels:20100107
Could you help?
Thanks
I have a problem with Ical export.
I generate a repetitive event (birthday) without hours (tick box), and when I export the birthday category, jevents generate the following file:
BEGIN:VEVENT
UID:494160462fcf3fcd4a2e5e3ac71e4662
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Yannick
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels;VALUE=DATE:20111020T100144
DTSTART;TZID=Europe/Brussels;VALUE=DATE:20100106
DTEND;TZID=Europe/Brussels;VALUE=DATE::20100107
SEQUENCE:0
RRULE:FREQ=YEARLY;UNTIL=20200106T235959Z;INTERVAL=1;BYYEARDAY=+006
TRANSP:OPAQUE
END:VEVENT
When I try to import into google, it doesn't work.
The first problem is :: instead of : in DTEND line.
The second, the event is not treated by google except if I remove the ';VALUE=DATE' to have the following:
DTSTAMP;TZID=Europe/Brussels:20111020T100144
DTSTART;TZID=Europe/Brussels:20100106
DTEND;TZID=Europe/Brussels:20100107
Could you help?
Thanks
- obelix1990
- Posts: 30
- Joined: Thu Sep 15, 2011 4:23 am
Re: ICal export
by Geraint » Mon Oct 24, 2011 2:54 pm
I can't see in the code where this second : could be coming from.
Which version of Joomla and JEvents do you have?
Which version of Joomla and JEvents do you have?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: ICal export
by obelix1990 » Mon Oct 24, 2011 6:38 pm
Hello Geraint,
Thanks for your reply,
I use joomla 1.7 and jevents 2.0.7
Thanks for your reply,
I use joomla 1.7 and jevents 2.0.7
- obelix1990
- Posts: 30
- Joined: Thu Sep 15, 2011 4:23 am
Re: ICal export
by obelix1990 » Mon Oct 24, 2011 6:47 pm
This is the export result for this event:
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels;VALUE=DATE:20111024T204258
DTSTART;TZID=Europe/Brussels;VALUE=DATE:20101206
DTEND;TZID=Europe/Brussels;VALUE=DATE::20101207
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
- Clipboard01.jpg (120.57 KiB) Viewed 489 times
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels;VALUE=DATE:20111024T204258
DTSTART;TZID=Europe/Brussels;VALUE=DATE:20101206
DTEND;TZID=Europe/Brussels;VALUE=DATE::20101207
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
- obelix1990
- Posts: 30
- Joined: Thu Sep 15, 2011 4:23 am
Re: ICal export
by obelix1990 » Tue Oct 25, 2011 7:19 am
For help purpose...
This is an event setting who works correctly (as you can see, the start and end time are in use)
and this is the calendar.ics result who is correct
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels:20111025T090808
DTSTART;TZID=Europe/Brussels:20101206T080000
DTEND;TZID=Europe/Brussels:20101206T170000
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
This is the same event without start and end time (tick box full day or time not specified). This doesn't work
and this is the calendar.ics result who is not correct
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels;VALUE=DATE:20111025T091430
DTSTART;TZID=Europe/Brussels;VALUE=DATE:20101206
DTEND;TZID=Europe/Brussels;VALUE=DATE::20101207
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
Thanks for your help....
This is an event setting who works correctly (as you can see, the start and end time are in use)
- Clipboard01.jpg (120.15 KiB) Viewed 484 times
and this is the calendar.ics result who is correct
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels:20111025T090808
DTSTART;TZID=Europe/Brussels:20101206T080000
DTEND;TZID=Europe/Brussels:20101206T170000
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
This is the same event without start and end time (tick box full day or time not specified). This doesn't work
- Clipboard02.jpg (128.38 KiB) Viewed 484 times
and this is the calendar.ics result who is not correct
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels;VALUE=DATE:20111025T091430
DTSTART;TZID=Europe/Brussels;VALUE=DATE:20101206
DTEND;TZID=Europe/Brussels;VALUE=DATE::20101207
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
Thanks for your help....
- obelix1990
- Posts: 30
- Joined: Thu Sep 15, 2011 4:23 am
Re: ICal export
by Geraint » Tue Oct 25, 2011 10:18 am
Thanks for the detailed explanation - I have found the problem and it will be fixed in version 2.1.0 (out soon). In the meantime you can fix it by changing line 161 of components/com_jevents/views/icals/tmpl/export.php from
- Code: Select all
$endformat = ":%Y%m%d";
- Code: Select all
$endformat = "%Y%m%d";
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: ICal export
by obelix1990 » Tue Oct 25, 2011 12:28 pm
Hello Geraint,
Marvelous, the first problem is solved
For the second one, in line 159 (same file), you wrote:
With this line, calendar.ics generate the following:
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels;VALUE=DATE:20111025T141225
DTSTART;TZID=Europe/Brussels;VALUE=DATE:20101206
DTEND;TZID=Europe/Brussels;VALUE=DATE:20101207
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
I you import the event in google, you have the following problem:
If you place a comment in the line:
calendar. ics become:
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels:20111025T142056
DTSTART;TZID=Europe/Brussels:20101206
DTEND;TZID=Europe/Brussels:20101207
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
Now, as you can see,the google import is working fine:
Is there a special feature for this line, or it should be removed?
Thanks for your help
Marvelous, the first problem is solved
For the second one, in line 159 (same file), you wrote:
$alldayprefix = ";VALUE=DATE";
With this line, calendar.ics generate the following:
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels;VALUE=DATE:20111025T141225
DTSTART;TZID=Europe/Brussels;VALUE=DATE:20101206
DTEND;TZID=Europe/Brussels;VALUE=DATE:20101207
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
I you import the event in google, you have the following problem:
- Clipboard01.jpg (87.24 KiB) Viewed 479 times
If you place a comment in the line:
// $alldayprefix = ";VALUE=DATE";
calendar. ics become:
BEGIN:VEVENT
UID:220ea411a77b02b9aad409eefb3b9e1f
CATEGORIES:Anniversaires
SUMMARY:Bon anniversaire Sylvian
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:
DTSTAMP;TZID=Europe/Brussels:20111025T142056
DTSTART;TZID=Europe/Brussels:20101206
DTEND;TZID=Europe/Brussels:20101207
SEQUENCE:0
RRULE:FREQ=YEARLY;COUNT=20;INTERVAL=1;BYYEARDAY=+340
TRANSP:OPAQUE
END:VEVENT
Now, as you can see,the google import is working fine:
- Clipboard02.jpg (80.35 KiB) Viewed 479 times
Is there a special feature for this line, or it should be removed?
Thanks for your help
- obelix1990
- Posts: 30
- Joined: Thu Sep 15, 2011 4:23 am
Re: ICal export
by Geraint » Wed Oct 26, 2011 9:15 am
The DTSTAMP field is not a date its a datetime so should not have the VALUE=DATE; piece.
The line
Geraint
The line
- Code: Select all
$html .= "DTSTAMP$tzid$alldayprefix:" . $stamptime . "\r\n";
Geraint
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: ICal export
by obelix1990 » Wed Oct 26, 2011 10:36 am
Hello Geraint,
could you confirl that I have to replace the line 184
by
and uncomment the
... other thing, I don't have the \r at the end of the line, is it normal?
Thanks
could you confirl that I have to replace the line 184
$html .= "DTSTAMP$tzid$alldayprefix:" . $stamptime . "\n";
by
$html .= "DTSTAMP$tzid:" . $stamptime . "\n";
and uncomment the
at line 159$alldayprefix = ";VALUE=DATE";
... other thing, I don't have the \r at the end of the line, is it normal?
Thanks
- obelix1990
- Posts: 30
- Joined: Thu Sep 15, 2011 4:23 am
Re: ICal export
by Geraint » Wed Oct 26, 2011 11:32 am
The \r was added in JEvents 2.0.7 to support Novell calendar software - its is not essential.
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
13 posts
• Page 1 of 2 • 1, 2
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: No registered users

