Return-Path: Delivered-To: apmail-abdera-user-archive@www.apache.org Received: (qmail 21302 invoked from network); 29 Jan 2010 05:18:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jan 2010 05:18:14 -0000 Received: (qmail 40745 invoked by uid 500); 29 Jan 2010 05:18:14 -0000 Delivered-To: apmail-abdera-user-archive@abdera.apache.org Received: (qmail 40595 invoked by uid 500); 29 Jan 2010 05:18:12 -0000 Mailing-List: contact user-help@abdera.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@abdera.apache.org Delivered-To: mailing list user@abdera.apache.org Received: (qmail 40582 invoked by uid 99); 29 Jan 2010 05:18:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 05:18:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of linazhao128@gmail.com designates 74.125.92.24 as permitted sender) Received: from [74.125.92.24] (HELO qw-out-2122.google.com) (74.125.92.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 05:18:04 +0000 Received: by qw-out-2122.google.com with SMTP id 3so259104qwe.51 for ; Thu, 28 Jan 2010 21:17:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=++hv6smDeoe92sJyabvDvjfdY7HawDlbBqsXtHIRpHU=; b=sEuAOhfI5yCYF6//1brGCzG475S4v2xzDIQOkrf0vlzsHE/K9hLYdmb6ChrIly3ncz oVzDtRugL9onXMyjEKhjPQWYQZsu8am+TT+IsieMao/pfuFhvi4KsRjWh4FlosR5AS1t S4MsNqeMG0EkC4emD4EF4bUNT3FTIxGkWQqRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=ePCBn/r2MRKUxPPLkUE2O/aPFOd9s862vt+avUrdJtjrLv3jus18Ss57hMhB6CofSW nOXM7NVv2vNfk+5bT4/QRcStGxmsas+q15KIlz3+8jori/CzhO9Zrgeym5EFoESXTD3e VYvtcTcaenyiN4GIjSdLdKmsIu3ZOT6RnEr2I= MIME-Version: 1.0 Received: by 10.224.35.102 with SMTP id o38mr136011qad.174.1264742264115; Thu, 28 Jan 2010 21:17:44 -0800 (PST) From: Na Li Date: Fri, 29 Jan 2010 00:17:24 -0500 Message-ID: Subject: Paging and Archiving Question! To: user@abdera.apache.org Content-Type: multipart/alternative; boundary=00c09f9daea1629639047e46c1e4 --00c09f9daea1629639047e46c1e4 Content-Type: text/plain; charset=ISO-8859-1 Hi, everyone. Can anyone help me with Abdera paging and archiving function? I'm building an Abdera feed server, in which, feed entries are xml files that are stored in a folder. If the number of files is less than 25, then the feed page is displaying normally. However, when the number is larger than 25, still only 25 entries can be displayed on the screen, and others are lost. And there is no previous, next, archive, or signs like that so that I can click and navigate. So I thought I should use paging and archiving, and I found the following code on Snell's blog: (*The problem IS after I added the code, the problem was still there, only 25 entries could be displayed. Shouldn't there be any clickable navigator so that I can jump from one page to another?) Did anyone here ever encounter this problem before? Anyone can help*? Feed feed = abdera.newFeed(); FeedPagingHelper.setArchive(feed, true); FeedPagingHelper.setComplete(feed, true); FeedPagingHelper.setFirst(feed, "?page=1"); FeedPagingHelper.setLast(feed, "?page=10"); FeedPagingHelper.setNext(feed, "?page=3"); FeedPagingHelper.setPrevious(feed, "?page=1"); FeedPagingHelper.setCurrent(feed, "?page=1"); FeedPagingHelper.setNextArchive(feed, "?month=200708"); FeedPagingHelper.setPreviousArchive(feed, "?month=200709"); FeedPagingHelper.isArchive(feed); FeedPagingHelper.isComplete(feed); FeedPagingHelper.isPaged(feed); Thank you in advance!!! -- Best Regards Na Li --00c09f9daea1629639047e46c1e4--