Return-Path: Delivered-To: apmail-abdera-user-archive@www.apache.org Received: (qmail 4550 invoked from network); 19 Aug 2009 06:36:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 06:36:48 -0000 Received: (qmail 82237 invoked by uid 500); 19 Aug 2009 06:37:07 -0000 Delivered-To: apmail-abdera-user-archive@abdera.apache.org Received: (qmail 82198 invoked by uid 500); 19 Aug 2009 06:37:06 -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 82188 invoked by uid 99); 19 Aug 2009 06:37:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 06:37:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gerke.ephorus@gmail.com designates 72.14.220.157 as permitted sender) Received: from [72.14.220.157] (HELO fg-out-1718.google.com) (72.14.220.157) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 06:36:56 +0000 Received: by fg-out-1718.google.com with SMTP id l27so691063fgb.7 for ; Tue, 18 Aug 2009 23:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=BwbXTXQDtX03bfgRlrc4nxjNaJjEUxSAfmyB0VCDUo0=; b=eNFuR97fpjRXADJvDzZth396aZq55acY/ZUf5T22zN/jFprmMJHo6a8380LrWBcSMT M6tdXBJRdb4os3AczpkbVtFjNjxFmKvo/6PCBAi1qgBa3qTwOjGSZ7ocAdMTNms6rez4 u/Q/p6DyiACFKazX2TQz4Pfsr3W/JFvDbtnDc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=gaJiMiBquwcvKPBe+FgvKzAGkXBDRPcXJzhLbL9LCkOhFxHELjNbAv4AizPAIX+CeK rOxLb2gC7Mfq9JL7+wXjZ/U8+H06xSorfzsl5Dpxstajw1NWhb0Utyaawwc2Vvjw0n/Y RJLcqJ0+RmYSwJkPydgkAvYxiHcLiqDrBg13A= Received: by 10.216.3.79 with SMTP id 57mr1394276weg.166.1250663795389; Tue, 18 Aug 2009 23:36:35 -0700 (PDT) Received: from ?192.168.155.126? (mail.ephorus.com [194.120.9.26]) by mx.google.com with ESMTPS id u14sm22296943gvf.5.2009.08.18.23.36.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 Aug 2009 23:36:34 -0700 (PDT) Message-ID: <4A8B9D99.4010307@googlemail.com> Date: Wed, 19 Aug 2009 08:37:13 +0200 From: Gerke Ephorus User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: user@abdera.apache.org Subject: Re: opensearch References: <4A896E54.4080805@googlemail.com> <4A8A4D4A.1030800@googlemail.com> <126CC1DFD1164C4E97685E36719DA37205B0F850@fw60.gensler.ad> In-Reply-To: <126CC1DFD1164C4E97685E36719DA37205B0F850@fw60.gensler.ad> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Yes, thanks, fellow users. This got me started. Very handy indeed. wkr, Gerke Jimmie Fulton wrote: > In case you haven't had any luck, OpenSearch is easy to add to your feed. Hopefully, this gets you started: > > int max = 20; > int start = 1; > int total = 2114; > > IntegerElement ie = feed.addExtension(OpenSearchConstants.ITEMS_PER_PAGE); > ie.setValue(max); > ie = feed.addExtension(OpenSearchConstants.START_INDEX); > ie.setValue(start); > ie = feed.addExtension(OpenSearchConstants.TOTAL_RESULTS); > ie.setValue(total); > > This should register the OpenSearch namespace at the in the feed declaration with xmlns:os, and add: > 20 > 1 > 2114 > > > If you want to customize the declared prefix, you'll want to call one of the other overloads on feed.addExtension(...); > > Hope this helps, > > Jimmie > > -----Original Message----- > From: dogan yazar [mailto:doganyazar@gmail.com] > Sent: Tuesday, August 18, 2009 2:54 AM > To: user@abdera.apache.org > Subject: Re: opensearch > > Nope, I did not have time to work on it. > > On Tue, Aug 18, 2009 at 8:42 AM, Gerke Ephorus wrote: > > >> Hi david (& list), >> >> I compiled the 1.0 tag (abdera-1.0) < >> http://svn.apache.org/repos/asf/abdera/java/tags/abdera-1.0> from >> subversion. (I could not get the trunk compiled here) >> >> thanks, >> Gerke >> >> >> David Calavera wrote: >> >> >>> What version of abdera are you using, 0.4 or 1.0-snapshot? >>> >>> On Mon, Aug 17, 2009 at 4:51 PM, Gerke Ephorus >> >>>> wrote: >>>> >>> >>> >>>> Hi Dogan, >>>> >>>> did you find any examples after this post? We try to find examples as >>>> well. >>>> >>>> wkr, >>>> Gerke >>>> >>>> >>>> >>>> dogan yazar wrote: >>>> >>>> >>>> >>>> >>>>> I could not find any examples about how to use openserach extension and >>>>> got >>>>> lost. Can anybody give some basic usages? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>> >>>