You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Nicola Ghirardi <gh...@gmail.com> on 2010/02/10 14:57:30 UTC

Socialsite mavenized status update. please help!

I'm working on the project socialsite-mavenized that aims to port
socialsite to work using maven and the latest version of shindig
(allowing me to use opensocial 0.9 features).
I'd like to make it work with tomcat 6 and possibily with other
application servers.
I've tried to merge container.js (the one in socialsite) with the new
one in shindig
You can find it here:
http://code.google.com/p/socialsite-mavenized/source/browse/trunk/web/src/main/resources/containers/socialsite/container.js
I have no error in tomcat anymore but the gadgets are not display correctly.
In firebug i get errors like this one:
osapi.people is undefined
http://127.0.0.1:8080/socialsite/gadgets/ifr?container=socialsite&mid=151&nocache=0&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Flocalhost%3A8080&url=http%3A%2F%2Flocalhost%3A8080%2Fsocialsite%2Flocal_gadgets%2F09.xml#rpctoken=555204386&st=65163e1f-4c1b-4cdf-a415-d12829efe67e
Line 1921

could it be a permission error?
thanks for any help

Re: Socialsite mavenized status update. please help!

Posted by Viggo Navarsete <vi...@gmail.com>.
Hi,

yes this was the status I had went last time I worked on it too. I think
there are still differences in what's defined in SocialSite and what is the
current status of the configuration of Shindig. Paul Lindner has been very
helpful providing input to fix such errors, and I hope him, or some other at
the Shindig team could help us solve the remaining issues ;)

Regards,
Viggo

On Wed, Feb 10, 2010 at 2:57 PM, Nicola Ghirardi
<gh...@gmail.com>wrote:

> I'm working on the project socialsite-mavenized that aims to port
> socialsite to work using maven and the latest version of shindig
> (allowing me to use opensocial 0.9 features).
> I'd like to make it work with tomcat 6 and possibily with other
> application servers.
> I've tried to merge container.js (the one in socialsite) with the new
> one in shindig
> You can find it here:
>
> http://code.google.com/p/socialsite-mavenized/source/browse/trunk/web/src/main/resources/containers/socialsite/container.js
> I have no error in tomcat anymore but the gadgets are not display
> correctly.
> In firebug i get errors like this one:
> osapi.people is undefined
>
> http://127.0.0.1:8080/socialsite/gadgets/ifr?container=socialsite&mid=151&nocache=0&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Flocalhost%3A8080&url=http%3A%2F%2Flocalhost%3A8080%2Fsocialsite%2Flocal_gadgets%2F09.xml#rpctoken=555204386&st=65163e1f-4c1b-4cdf-a415-d12829efe67e
> Line 1921
>
> could it be a permission error?
> thanks for any help
>

Re: Socialsite mavenized status update. please help!

Posted by Paul Lindner <li...@inuus.com>.
I'm not sure how social site implements the gadget containing pages.  It may
just be a small task to match up the javascript includes in
samplecontainer.html with what is generated for the container pages in
Social Site


On Thu, Feb 11, 2010 at 12:27 AM, Viggo Navarsete <viggo.navarsete@gmail.com
> wrote:

> Thanks for the reply Paul.
>
> Based on what's in the mavenized-socialsite project, could you be more
> concrete about what needs to be changed/fixed?
>
> Regards,
> Viggo
>
>
> On Thu, Feb 11, 2010 at 8:56 AM, Paul Lindner <li...@inuus.com> wrote:
>
>> It's possible that the containing page is not including osapi.js, which is
>> part of samplecontainer.html in shindig.
>>
>> With that said I've already proposed moving as much client side javascript
>> into the shindig features directory.  This will allow for much better
>> maintenance of this.
>>
>>
>> On Wed, Feb 10, 2010 at 5:57 AM, Nicola Ghirardi <
>> ghirardi.nicola@gmail.com> wrote:
>>
>>> I'm working on the project socialsite-mavenized that aims to port
>>> socialsite to work using maven and the latest version of shindig
>>> (allowing me to use opensocial 0.9 features).
>>> I'd like to make it work with tomcat 6 and possibily with other
>>> application servers.
>>> I've tried to merge container.js (the one in socialsite) with the new
>>> one in shindig
>>> You can find it here:
>>>
>>> http://code.google.com/p/socialsite-mavenized/source/browse/trunk/web/src/main/resources/containers/socialsite/container.js
>>> I have no error in tomcat anymore but the gadgets are not display
>>> correctly.
>>> In firebug i get errors like this one:
>>> osapi.people is undefined
>>>
>>> http://127.0.0.1:8080/socialsite/gadgets/ifr?container=socialsite&mid=151&nocache=0&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Flocalhost%3A8080&url=http%3A%2F%2Flocalhost%3A8080%2Fsocialsite%2Flocal_gadgets%2F09.xml#rpctoken=555204386&st=65163e1f-4c1b-4cdf-a415-d12829efe67e
>>> Line 1921
>>>
>>> could it be a permission error?
>>> thanks for any help
>>>
>>
>>
>

Re: Socialsite mavenized status update. please help!

Posted by Viggo Navarsete <vi...@gmail.com>.
Thanks for the reply Paul.

Based on what's in the mavenized-socialsite project, could you be more
concrete about what needs to be changed/fixed?

Regards,
Viggo

On Thu, Feb 11, 2010 at 8:56 AM, Paul Lindner <li...@inuus.com> wrote:

> It's possible that the containing page is not including osapi.js, which is
> part of samplecontainer.html in shindig.
>
> With that said I've already proposed moving as much client side javascript
> into the shindig features directory.  This will allow for much better
> maintenance of this.
>
>
> On Wed, Feb 10, 2010 at 5:57 AM, Nicola Ghirardi <
> ghirardi.nicola@gmail.com> wrote:
>
>> I'm working on the project socialsite-mavenized that aims to port
>> socialsite to work using maven and the latest version of shindig
>> (allowing me to use opensocial 0.9 features).
>> I'd like to make it work with tomcat 6 and possibily with other
>> application servers.
>> I've tried to merge container.js (the one in socialsite) with the new
>> one in shindig
>> You can find it here:
>>
>> http://code.google.com/p/socialsite-mavenized/source/browse/trunk/web/src/main/resources/containers/socialsite/container.js
>> I have no error in tomcat anymore but the gadgets are not display
>> correctly.
>> In firebug i get errors like this one:
>> osapi.people is undefined
>>
>> http://127.0.0.1:8080/socialsite/gadgets/ifr?container=socialsite&mid=151&nocache=0&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Flocalhost%3A8080&url=http%3A%2F%2Flocalhost%3A8080%2Fsocialsite%2Flocal_gadgets%2F09.xml#rpctoken=555204386&st=65163e1f-4c1b-4cdf-a415-d12829efe67e
>> Line 1921
>>
>> could it be a permission error?
>> thanks for any help
>>
>
>

Re: Socialsite mavenized status update. please help!

Posted by Paul Lindner <li...@inuus.com>.
It's possible that the containing page is not including osapi.js, which is
part of samplecontainer.html in shindig.

With that said I've already proposed moving as much client side javascript
into the shindig features directory.  This will allow for much better
maintenance of this.


On Wed, Feb 10, 2010 at 5:57 AM, Nicola Ghirardi
<gh...@gmail.com>wrote:

> I'm working on the project socialsite-mavenized that aims to port
> socialsite to work using maven and the latest version of shindig
> (allowing me to use opensocial 0.9 features).
> I'd like to make it work with tomcat 6 and possibily with other
> application servers.
> I've tried to merge container.js (the one in socialsite) with the new
> one in shindig
> You can find it here:
>
> http://code.google.com/p/socialsite-mavenized/source/browse/trunk/web/src/main/resources/containers/socialsite/container.js
> I have no error in tomcat anymore but the gadgets are not display
> correctly.
> In firebug i get errors like this one:
> osapi.people is undefined
>
> http://127.0.0.1:8080/socialsite/gadgets/ifr?container=socialsite&mid=151&nocache=0&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Flocalhost%3A8080&url=http%3A%2F%2Flocalhost%3A8080%2Fsocialsite%2Flocal_gadgets%2F09.xml#rpctoken=555204386&st=65163e1f-4c1b-4cdf-a415-d12829efe67e
> Line 1921
>
> could it be a permission error?
> thanks for any help
>