Fei, I am not sure I perfectly understand your problem with the timestamps... but I believe if you use ATOM as the payload (as we do at http://superfeedr.com), then, you get the exact <published> and <updated> times, right? It shouldn't change whether these messages where buffered at the XMPP server level.
Let me know, Julien On Thu, May 17, 2012 at 9:04 PM, Fei Yan <[email protected]> wrote: > Thanks for your quick reply. My concern is really the timestamp. I'll have > to retrieve all, store them somewhere than sort by timestamp. > > > > ------Original Message------ > From: Dave Cridland > To: Fei Yan > To: XMPP PubSub > Subject: Re: [PubSub] How to retrieve events from all subscribed nodes? > Sent: May 17, 2012 1:02 PM > > On Thu May 17 19:55:29 2012, Fei Yan wrote: > > Hello, > > > > For example in a RSS scenario I'm subscribed to 20 blogs (nodes). I > > want to retrieve the latest 20 entries (events) from all my > > subscribed nodes. > > > > I can't find out how to do that by reading XEP60. It seems only > > allow retrieve from a single node at a time. > > Fei Yan > > Sent from my BlackBerry > > Yes, you'd need to retriev all your subscriptions from the service, > and then iterate through that list fetching the items. > > There is some interest in working on a kind of "PubSub Inbox" > metaphor, which would avoid this. > > Dave. > -- > Dave Cridland - mailto:[email protected] - xmpp:[email protected] > - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/ > - http://dave.cridland.net/ > Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade > > > Fei Yan > Sent from my BlackBerry >
