[Gambas-user] gb.xml questions
Benoit Minisini
gambas at ...1...
Fri Oct 10 12:25:36 CEST 2008
On vendredi 10 octobre 2008, Ron wrote:
> Hi,
>
> Im trying to read the rss from gmail:
> it looks like this:
> ---
> <?xml version="1.0" encoding="UTF-8"?>
> <feed version="0.3" xmlns="http://purl.org/atom/ns#">
> <title>Gmail - Inbox for ron at ...1740...</title>
> <tagline>New messages in your Gmail Inbox</tagline>
> <fullcount>1</fullcount>
> <link rel="alternate" href="http://mail.google.com/mail" type="text/html"
> /> <modified>2008-10-10T09:56:10Z</modified>
> <entry>
> <title>DomotiGa: Test e-mail</title>
> <summary>If you read this, e-mail support is working! - Powered by
> DomotiGa V0.0.121</summary>
> <link rel="alternate"
> href="http://mail.google.com/mail?account_id=bla%40bla.nl&message_id=21
>ce61dc985d425d&view=conv&extsrc=atom" type="text/html" />
> <modified>2008-10-10T09:37:03Z</modified>
> <issued>2008-10-10T09:37:03Z</issued>
> <id>tag:gmail.google.com,2004:1283070543924118109</id>
> <author>
> <name>domotiga</name>
> <email>domotiga at ...1992...</email>
> </author>
> </entry>
> </feed>
> ---
> gb.xml and XmlReader doesn't grok these <link rel= "alternate" href=
> lines, it's aborts after the :// is this correct behaviour?
> also during parsing it dumps this to console, so I guess debugging
> message print are still enabled in the component.
> The rest of the fields and doc is parsed 100% ok.
> ---
>
> :6: parser error : AttValue: ' expected
>
> <link rel="alternate" href="http://
> ^
>
> :6: parser error : attributes construct error
>
> <link rel="alternate" href="http://
> ^
>
> :6: parser error : Couldn't find end of Start Tag link
>
> <link rel="alternate" href="http://
> ^
>
> :1: parser error : Document is empty
>
> mail.google.com/mail" type="text/html" />
> ^
>
> :1: parser error : Document is empty
> ://mail.google.com/mail?account_id=bla%40bla.nl&message_id=21ce61dc98
>
> ^
>
> :1: parser error : Document is empty
>
> 43924118109</id>
> ---
>
> Can someone please fix this, or if google is misusing the rss specs, add
> support for this?
>
> Gambas 2.9 svn yesterday
> Thanks.
>
> Regards,
> Ron_2nd
>
I'm currently busy with my job, but when I have time, I will look at it.
Regards,
--
Benoit Minisini
More information about the User
mailing list