🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.xml
Article #186

Re: Atom read

#186
From: Remy Lebeau (TeamB)
Date: Tue, 17 Jun 2008 17:13
25 lines
1766 bytes
"Sergio Pottstock" <pttk@pttk.cl> wrote in message 
news:4857d362$1@newsgroups.borland.com...

> I build RSS reader with delphi 7 using TXMLDocument component,
> but I'cant read ATOM protocol :

Why not?  You need to be more specific.  What exactly are you having trouble 
with?

> With RSS :
> StartItemNode :=
> XMLDoc.DocumentElement.ChildNodes.First.ChildNodes.FindNode('item');
>
> With ATOM:
> StartItemNode :=
> XMLDoc.DocumentElement.ChildNodes.First.ChildNodes.FindNode('entry');
>
> StartItem = NIL

Just a guess, what you are likely looking for the nodes in the wrong place. 
What does the actual XML look like?


Gambit 
Technical Details
Message-ID: <4857f107$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!news-out.readnews.com!transit4.readnews.com!207.99.111.53.MISMATCH!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4857d362$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5d9b,a07bb6d00dda2221
X-Google-Attributes: gidf5d9b,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.delphi.xml
References: <4857d362$1@newsgroups.borland.com>
Subject: Re: Atom read
Date: Tue, 17 Jun 2008 10:13:20 -0700
Lines: 27
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 207.178.157.90
Message-ID: <4857f107$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1213722887 207.178.157.90 (17 Jun 2008 10:14:47 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!news-out.readnews.com!transit4.readnews.com!207.99.111.53.MISMATCH!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail