[uf-discuss] A bug in the Technorati's events exporting tool

Brian Suda brian.suda at gmail.com
Tue Sep 26 05:06:08 PDT 2006


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

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?

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.

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 <greut.lists at dosimple.ch> 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
> >> microformats-discuss at microformats.org
> >> http://microformats.org/mailman/listinfo/microformats-discuss
> >>
> >
> >
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>


-- 
brian suda
http://suda.co.uk


More information about the microformats-discuss mailing list