[Seaside] Re: iCal to Drupal requires Content-Encoding: gzip

bobn at rogers.com bobn at rogers.com
Tue Sep 22 19:54:18 UTC 2009


>> Content-type: text/calendar;charset=utf-8
>> Content-length: 10944
>> 
>> BEGIN:VCALENDAR
>> <...>
>> 
>> Drupal is still not happy.  But at least this looks cleaner than what I had before.  
>> A bit more to do.
>Try looking for blank characters after the '>' tag delimiters.
>
>Also, use octal dump ("od") to spot the exact differences between that 
>one that works, and the one that doesn't.
I think we're good, now.  I had made the mistake of using VW to check the saved ics files before, 
and it changed the Google cr, lf to a single cr.  I should know better.  
So now I answer an massaged file with cr, lf.  
This is the output from hexdump -C <file> (octal dump is just too painful). 
We're looking at Drupal diagnostics now.  Every other web tool is happy with our data.  
Ours...
000000e0  0a 0d 0a 42 45 47 49 4e  3a 56 43 41 4c 45 4e 44  |...BEGIN:VCALEND|
000000f0  41 52 0d 0a 50 52 4f 44  49 44 3a 2d 2f 2f 43 68  |AR..PRODID:-//Ch|
00000100  65 72 6e 69 61 6b 20 53  6f 66 74 77 61 72 65 2f  |erniak Software/|
00000110  2f 4d 45 2f 2f 45 4e 0d  0a 56 45 52 53 49 4f 4e  |/ME//EN..VERSION|
00000120  3a 32 2e 30 0d 0a 42 45  47 49 4e 3a 56 54 49 4d  |:2.0..BEGIN:VTIM|
Google...
00000140  0a 0d 0a 42 45 47 49 4e  3a 56 43 41 4c 45 4e 44  |...BEGIN:VCALEND|
00000150  41 52 0d 0a 50 52 4f 44  49 44 3a 2d 2f 2f 47 6f  |AR..PRODID:-//Go|
00000160  6f 67 6c 65 20 49 6e 63  2f 2f 47 6f 6f 67 6c 65  |ogle Inc//Google|
00000170  20 43 61 6c 65 6e 64 61  72 20 37 30 2e 39 30 35  | Calendar 70.905|
00000180  34 2f 2f 45 4e 0d 0a 56  45 52 53 49 4f 4e 3a 32  |4//EN..VERSION:2|


More information about the seaside mailing list