Re: [xml] trouble with rss feeds from google...



uhm... any comment on this? maybe a suggestion how to make it parse at least what it can parse? or which encoding i should use? or a link to a solution?


Thanks,
Dirk


Dirk wrote:
Hello,

Google RSS feeds contain junk characters recently...

http://video.google.com/videosearch?q=test&output=rss&num=100

I/O error : encoder error
/tmp/t_8HVfUT:403: parser error : Premature end of data in tag
description line 403
#x7740;いた方ようこそ(・ω

^
/tmp/t_8HVfUT:403: parser error : Premature end of data in tag item line
398
#x7740;いた方ようこそ(・ω

^
/tmp/t_8HVfUT:403: parser error : Premature end of data in tag channel
line 3
#x7740;いた方ようこそ(・ω

^
/tmp/t_8HVfUT:403: parser error : Premature end of data in tag rss line 2
#x7740;いた方ようこそ(・ω

^
I/O error : encoder error
/tmp/t_8HVfUT:403: parser error : Premature end of data in tag
description line 403
#x7740;いた方ようこそ(・ω

^
/tmp/t_8HVfUT:403: parser error : Premature end of data in tag item line
398
#x7740;いた方ようこそ(・ω

^
/tmp/t_8HVfUT:403: parser error : Premature end of data in tag channel
line 3
#x7740;いた方ようこそ(・ω

^
/tmp/t_8HVfUT:403: parser error : Premature end of data in tag rss line 2
#x7740;いた方ようこそ(・ω

^

also in Seamonkey it will stop after ~10 feeds... i tried xmlreadfile()
with "ASCII" as encoding and all... but it will keep failing...


Dirk

_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]