[Fwd: Re: [EventCalendar] Re: vcal output error apparantly?]

Malcolm Bell malcolm at 3hc.co.uk
Sat Feb 25 17:25:53 UTC 2006


I've added this (to eventcalendar 3.0.4) but it has not enabled the 
calender to show up in ical.  The UID stream appears in the output file 
as anticipated though.

If I post the file it generates (and rename it to .ics) on the server 
then put this in as a static calendar it displays OK - and it this this 
before adding the UID line.

I'd really like to solve this one!

Thanks

Malcolm

website:    www.3hc.co.uk
Skype u/n:  malcolmbell



Peter Allgeyer wrote:
> Am Montag, den 20.02.2006, 16:24 +0000 schrieb Malcolm Bell:
>   
>> I can confirm that simply changing 2.0 to 1.0 doesn't help.  I've also
>> discovered the standard is 148 pages long (eek) but will have a look a
>> bit later.
>>
>>     
> The problem arises because of a nonexistence field "UID" in every event.
> With this field added, my evolution calendar is able to import the
> webcal successfully. I've attached my patch to eventcalendar 3.0.3 to
> this email.
>
> BR,
>   PIT
>
>
> ---------------------------------------------------------------------------
>  copyleft(c) by |           On the Internet, no one knows you're using
>  Peter Allgeyer |   _-_     Windows NT  -- Submitted by Ramiro Estrugo,
>                 | 0(o_o)0   restrugo at fateware.com
> ---------------oOO--(_)--OOo-----------------------------------------------
>
>   
> ------------------------------------------------------------------------
>
> --- eventcalendar3.php	2006-02-04 17:09:44.000000000 +0100
> +++ /var/www/wordpress/wp-content/plugins/eventcalendar3.php	2006-02-25 16:43:50.000000000 +0100
> @@ -1161,7 +1161,7 @@
>             post_excerpt,
>             DATE_FORMAT(post_date_gmt,'%Y%m%dT%H%i%sZ') as dt_start,
>             $user_nicename
> -         FROM $tableposts p, $tablepost2cat p2c
> +         FROM $tableposts p INNER JOIN $tablepost2cat p2c
>           LEFT JOIN $tableusers u
>             ON u.ID=p.post_author
>           WHERE post_status = 'publish'
> @@ -1197,6 +1197,7 @@
>        {
>          echo "DURATION:PT$duration"."H\r\n";
>        }
> +      echo "UID:$entry->dt_start" . "-$id@" . getenv("SERVER_NAME") . "\r\n";
>        echo "DTSTART:$entry->dt_start\r\n";
>        echo "DTEND:$entry->dt_start\r\n";
>        echo "END:VEVENT\r\n";
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20060225/103e7763/attachment.htm


More information about the EventCalendar mailing list