Hi,
Brian Suda wrote:
hmm...
1) I'll look into the UTF-8 issue, Your server is NOT sending any
language encoding:
HTTP/1.1 200 OK
Date: Tue, 26 Sep 2006 12:02:13 GMT
Server: Apache
Transfer-Encoding: chunked
Content-Type: text/html
if my memory is good.
text/html is by default: iso-8859-1
text/xml is by default: utf-8
Do you prefer if I send a Content-Type: text/html; charset=iso-8859-1
It's much a matter of your tool. Technorati deals with this page
correctly (except with the dates) so why x2v cannot, strange no?
so i might be assuming it as UTF-8? when i run your code through the
W3C tidy, they are NOT finding any encoding so it defaults to
<?xml version="1.0" encoding="iso-8859-1"?>
That might be why there are characters incorrectly encoded. Do you
expect UTF-8 or ISO-8859-1?
DESCRIPTION;LANGUAGE=fr;CHARSET=utf-8:M�langez The Sonics, ...
it tells utf-8 but gives a strangly encoded utf-8 string ('�' should
be an 'é').'�' looks like BOM, isn't it ?
As for the incorrect dtend: i couldn't find your example in your HTML,
so i can't verify the error. Can you point to an example you know is
incorrect so i can check it?
The one on the 24th:
<abbr class="dtend" title="2006-09-24T02:00:00+02:00">02:00</abbr>
converts to:
DTEND:20060924T000000Z
which is correct.
It's correct, I'm sorry. My fault.
Btw, I've tried this tool and Google Calendar doesn't deal with Summer
Time. Bad bad bad.
http://torrez.us/code/googlehcal/converthcalendartogooglecal.user.js
Cheers,
Yoan
Thanks,
-brian
x2v add serious bug with utf-8 (that technorati doesn't have) and now
the hours are false, not buggy but simply false.
this:
<abbr class="dtend" title="2006-09-30T02:00:00+02:00">...</abbr>
becomes:
DTEND:20060930T020000Z
It's obviously false because:
Z is UTC
+02:00 is CEST
so 2am (CEST) can't be 2am (Z)
http://suda.co.uk/projects/X2V/get-vcal.php?uri=http://www.bikinitest.ch/agenda/2006/09/
Thanks for you work
--
Yoan
>
> -brian
>
> [1] - http://hg.microformats.org/x2v?fd=753da7c7d63c;file=datetime.xsl
>
> On 9/25/06, Yoan BLANC <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I've hCal'd a website that contains with this kind of dtend :
>>
>> <abbr class="dtend" title="2006-09-24T02:00:00+02:00">...</abbr>
>>
>> and feeds.technorati.com/events/ convert it to
>>
>> DTEND:20060924T0000000Z
>>
>> with se7en 0 instead of six.
>>
>> Test it from there :
>>
http://feeds.technorati.com/events/http://www.bikinitest.ch/agenda/2006/09/
>>
>>
>> Cheers,
>>
>> --
>> Yoan Blanc
>> _______________________________________________
>> microformats-discuss mailing list
>> [email protected]
>> http://microformats.org/mailman/listinfo/microformats-discuss
>>
>
>
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss