From photark-dev-return-1013-apmail-incubator-photark-dev-archive=incubator.apache.org@incubator.apache.org Mon Oct 11 05:55:01 2010 Return-Path: Delivered-To: apmail-incubator-photark-dev-archive@minotaur.apache.org Received: (qmail 54727 invoked from network); 11 Oct 2010 05:55:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Oct 2010 05:55:01 -0000 Received: (qmail 13292 invoked by uid 500); 11 Oct 2010 05:55:01 -0000 Delivered-To: apmail-incubator-photark-dev-archive@incubator.apache.org Received: (qmail 13243 invoked by uid 500); 11 Oct 2010 05:55:00 -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 13235 invoked by uid 99); 11 Oct 2010 05:54:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 05:54:59 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 05:54:55 +0000 Received: by bwz9 with SMTP id 9so453014bwz.6 for ; Sun, 10 Oct 2010 22:54:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.103.9 with SMTP id i9mr4640121bko.192.1286776472648; Sun, 10 Oct 2010 22:54:32 -0700 (PDT) Received: by 10.204.84.32 with HTTP; Sun, 10 Oct 2010 22:54:32 -0700 (PDT) In-Reply-To: References: <6505452.544311286269776261.JavaMail.jira@thor> Date: Mon, 11 Oct 2010 11:24:32 +0530 Message-ID: Subject: Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums From: Avdhesh Yadav To: photark-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=001636c5979b8ebde5049250feba --001636c5979b8ebde5049250feba Content-Type: text/plain; charset=ISO-8859-1 Yes Instead of using HashMap for saving the Images save the URL of the allbum into the JCR repository. On Mon, Oct 11, 2010 at 4:50 AM, Luciano Resende wrote: > On Sun, Oct 10, 2010 at 12:03 PM, Subash Chaturanga > wrote: > > Hi all , > > > > On Thu, Oct 7, 2010 at 1:47 PM, Avdhesh Yadav > wrote: > > > >> check this thread. > >> > http://www.mail-archive.com/photark-dev@incubator.apache.org/msg00784.html > > > > > > 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 property > can > > hold multiple values, I think we can store each album as a property and > we > > 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 > and > > show them in the gallery. I would like to know, if anything wrong with > this > > 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. > > -- > Luciano Resende > http://people.apache.org/~lresende > http://twitter.com/lresende1975 > http://lresende.blogspot.com/ > -- Avdhesh Yadav http://www.avdheshyadav.com http://twitter.com/yadavavdhesh --001636c5979b8ebde5049250feba--