On Tue, Jul 9, 2013 at 9:05 AM, Charl van Niekerk <c.vanniek...@utwente.nl> wrote: > Hi All, > > In Shindig 2.0.x there is a JavaScript that is being loaded from Google. > iGoogle is shutting down in November and the expectation is that this > JavaScript will no longer be available. > > This has been discussed in-depth on shindig-users over the last month and I > was asked to create a patch to include in a possible release of 2.0.x. > > I am currently working off this branch: > > http://svn.apache.org/repos/asf/shindig/branches/2.0.x > > I already built an alternative implementation of Google's dynamically > generated JavaScript but now I need to include this as a servlet somewhere > inside Shindig. > > I am not sure where to place it. I thought of the following: > > org.apache.shindig.gadgets.servlet.GadgetSettingsServlet > > Is this correct? Sounds like a good enough spot to me.
> > I also need to place a helper class and a custom exception class. Maybe I can > use a more generic Shindig exception. > > What I have so far (made for use inside our existing site based on the Spring > framework): > > RenderUserPrefsController > https://gist.github.com/anonymous/5849412 > > RenderUserPrefsService > https://gist.github.com/anonymous/5849417 > > RenderUserPrefsException > https://gist.github.com/anonymous/5849420 > > Any advice appreciated. I would suggest you make your changes and then post a patch to reviews.apache.org so we can get a better feel for you changes. There is some good documentation on the Community Overiview [1] page on the Shindig site that might help you. If you can't find an answer there don't be afraid to shoot the dev list an email. > > Best Regards, > Charl > > -- > Charl van Niekerk > ICT Service Centre > University of Twente [1] http://shindig.apache.org/community_overview.html