Dan, Are you working on a php container? Can u share some details with others on how you implemented it?
On Feb 11, 2008 11:23 AM, Dan Lester <[EMAIL PROTECTED]> wrote: > Kevin, > > The JsonRpc servlet is a great contribution - I've got it working from > PHP. > > However, is there any chance it could return all available details from > the spec? That would include thumbnail_url, width, height, author_email, > etc - every attribute on the ModulePrefs tag, I suppose. > > You mention that error handling is "kind of rough". I think any client > can just cater for the idiosyncrasies for now, but one glaring issue is > that any one gadget spec not found causes the whole call to break > (returns 'Incomplete processing'). That rather ruins your hard work to > allow multiple gadget specs to be fetched at once. > > SHINDIG-25 is marked as closed which is why I'm bringing it up rather > than just waiting to see if you had anything more in store... > > Thanks, > > Dan > > > -----Original Message----- > From: Kevin Brown [mailto:[EMAIL PROTECTED] > Sent: 08 February 2008 01:58 > To: [email protected] > Subject: Re: Getting Gadget Info without rendering gadget > > > Yes, there will most likely just be a new method on GadgetServer (a new > class would require replicating much of what it does already anyway). > > On Feb 7, 2008 5:32 PM, Dan Lester <[EMAIL PROTECTED]> wrote: > > > > > Excellent - thanks for pointing me to those open issues. > > > > I guess your JsonRpc servlet will be wrapping some classes that I can > > access directly if I'm using Java. Prefer to use your 'official' code > > than something I've hacked together for my own purposes... > > > > Anyway, I'll have a look at your submission when it's ready. > > > > Thanks, > > > > Dan > > > > > > -----Original Message----- > > From: Kevin Brown [mailto:[EMAIL PROTECTED] > > Sent: 07 February 2008 17:23 > > To: [email protected] > > Subject: Re: Getting Gadget Info without rendering gadget > > > > > > I'm working on a JsonRpc servlet that requires this functionality. If > > you can wait until this weekend, you'll find that I've already got > > everything that you probably need. See also > > https://issues.apache.org/jira/browse/SHINDIG-51 and > > https://issues.apache.org/jira/browse/SHINDIG-25. > > > > On Feb 7, 2008 8:39 AM, Dan Lester <[EMAIL PROTECTED]> wrote: > > > > > > > > Let's say I have a directory of gadgets that users might want to run > > > > on my site, entered only by URL. I want to display more information > > > about each gadget to the user so they can make a choice about which > > > gadgets they might want to run - so, I would want to extract > > > information from the XML such as author name, thumbnail, > > > description. > > > > > > So far, I have ripped out bits of code from > > > GadgetRenderingServlet.java, doing most of the same things as the > > > /ifr > > > > > servlet except for actually rendering the gadget. This seems to > > > work, and even uses the same cache I think. But I just thought there > > > > must be > > > > > a better way? If not, is it worth adding a class to do this? > > > > > > I've decided to build the whole site in Java so that I can do things > > > > like this. I'm not sure what I'd do if I was using another language > > > for the rest of my site. > > > > > > Thanks for any guidance! > > > > > > Dan > > > > > > > > > > > > -- Akash Xavier [EMAIL PROTECTED]

