From photark-dev-return-1011-apmail-incubator-photark-dev-archive=incubator.apache.org@incubator.apache.org Sun Oct 10 23:21:07 2010 Return-Path: Delivered-To: apmail-incubator-photark-dev-archive@minotaur.apache.org Received: (qmail 59311 invoked from network); 10 Oct 2010 23:21:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Oct 2010 23:21:07 -0000 Received: (qmail 41744 invoked by uid 500); 10 Oct 2010 23:21:07 -0000 Delivered-To: apmail-incubator-photark-dev-archive@incubator.apache.org Received: (qmail 41717 invoked by uid 500); 10 Oct 2010 23:21:07 -0000 Mailing-List: contact photark-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: photark-dev@incubator.apache.org Delivered-To: mailing list photark-dev@incubator.apache.org Received: (qmail 41709 invoked by uid 99); 10 Oct 2010 23:21:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Oct 2010 23:21:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of luckbr1975@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-iw0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Oct 2010 23:21:02 +0000 Received: by iwn7 with SMTP id 7so1988515iwn.6 for ; Sun, 10 Oct 2010 16:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=UjCzjYKwTUB1M56cFCcBCgMwfMQJVNhumGMLOhBPGss=; b=rmZrzc6YeuTP6WRCr3QbfKuuV72f7TIGyUsRyg+d0vDeRnXjYxEylGfykqybFluYf8 hio75FAyCaUWdur/+5n9NGePTlUBg5kSiCAGO3gTzKn3PW23ga/WMPDcNEboMXQCWEoU +Frte1O+yflju0UuItT4wfUZ7SG7HCqrtVcQI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=d7OMaIVeqcfInL4oDM43qVxirPYaGQ4gY2xsg0W4vp7j4UJU8YQLGwTqW6t4Ff/Qim syl63SXhKicOz+IDYFImmyXPt84sdNIRm1KI6Ql5/6wNPzPhl3WTcSZtJLBm91bcJo6c 24SyL5GNntpjXICstQaTgvOmy5R23YAKcvCzw= MIME-Version: 1.0 Received: by 10.42.179.136 with SMTP id bq8mr188481icb.93.1286752840325; Sun, 10 Oct 2010 16:20:40 -0700 (PDT) Received: by 10.231.115.155 with HTTP; Sun, 10 Oct 2010 16:20:40 -0700 (PDT) In-Reply-To: References: <6505452.544311286269776261.JavaMail.jira@thor> Date: Sun, 10 Oct 2010 16:20:40 -0700 Message-ID: Subject: Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums From: Luciano Resende To: photark-dev@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Oct 10, 2010 at 12:03 PM, Subash Chaturanga w= rote: > Hi all , > > On Thu, Oct 7, 2010 at 1:47 PM, Avdhesh Yadav wrot= e: > >> check this thread. >> http://www.mail-archive.com/photark-dev@incubator.apache.org/msg00784.ht= ml > > > The first patch i submitted stores each subscribed albums in a java > collection .So based on that, for the next step, I went through the above > discussion and what i feel was to store the meta data > (location,name,description) of images in a JCR node. As, a JCR =C2=A0prop= erty can > hold multiple values, I think we can store each album as a property and w= e > can have two nodes for flicker and picasa . So that when we want to show > them in gallery we can retrieve those data and on the fly create albums a= nd > show them in the gallery. I would like to know, if anything wrong with th= is > approach or is there any better way to do this? > > > > I'd recommend following the same node structure as the "local JCR" albums, which the exception that when it's a subscription, the actual image is stored remotely and we only have it's URL. --=20 Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/