You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Jacky Wang (王超)" <ch...@google.com> on 2010/04/13 09:23:12 UTC

Re: html_sanitize is not defined

Hi Pieter,

Sorry for the late reply.

I just run the gadget [http://osda.appspot.com/gadget/osda-0.8.xml] against
the latest version of PHP Shindig, which is r933501.  And it works fine.

For PHP Shindig setup, you may like to refer to the site
http://code.google.com/p/partuza/, which is setup by Chris.

Partuza is a sample SNS site which hosts gadget using PHP Shindig.  The
relationship between Partuza and PHP Shindig is like Google Orkut and Java
Shindig.

Chris wrote 2 great tutorials for how to setup PHP Shindig and Partuza,
which you may find useful.
- Shindig: http://www.chabotc.com/guides/shindig_install/
- Partuza: http://www.chabotc.com/guides/partuza_install/

Please feel free to ping me back - and we're more than happy to help. :)

Regards,
Jacky

On Tue, Mar 23, 2010 at 7:22 AM, Pieter Maes -- Maescool
<pi...@aslpage.be>wrote:

>
> Any update? or are the guys responsible on a deserved holiday? :)
>
> Op 17/03/10 23:45, John Hjelmstad schreef:
> > Aha! I keep forgetting to ask which Shindig you're using. My expertise
> ends
> > at the Java version. Jacky? Chris?
> >
> > On Wed, Mar 17, 2010 at 3:39 PM, Pieter Maes -- Maescool
> > <pi...@aslpage.be>wrote:
> >
> >
> >> uhm features dir is there and looks pretty loaded..
> >>
> >> my way of building:
> >> checked out last trunk version
> >> went to the trunk/php dir did ./make-release.sh
> >> then unpacked one of the packages it made in the webdir
> >>
> >> i guess that is the normal way to make a php release?
> >>
> >> note: default setup: unpacking the downloaded file in the webdir..
> >>
> >> Op 17/03/10 23:33, John Hjelmstad schreef:
> >>
> >>> Does your rendered gadget have _any_ JavaScript in it? Sounds like the
> >>> features dir isn't being built or loaded correctly for you.
> >>>
> >>> On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
> >>> <pi...@aslpage.be>wrote:
> >>>
> >>>
> >>>
> >>>> Trunk version 924505
> >>>>
> >>>> gadgets is not defined
> >>>>
> >>>>
> >>>>
> >>
> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
> >>
> >>>> ifr?ur...0.8.xml (row 7)
> >>>>
> >>>> opensocial is not defined
> >>>> var
> >>>>
> >>>>
> >>
> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
> >>
> >>>> ifr?ur...0.8.xml (row 138)
> >>>>
> >>>> gadgets is not defined
> >>>> <script
> >>>>
> >> type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
> >>
> >>>> ifr?ur...0.8.xml (row 167)
> >>>>
> >>>>
> >>>>
> >>>> Op 17/03/10 23:15, John Hjelmstad schreef:
> >>>>
> >>>>
> >>>>> Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
> >>>>>
> >>>>> --j
> >>>>>
> >>>>> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
> >>>>> <pi...@aslpage.be>wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> Hi again,
> >>>>>>
> >>>>>> I just tried on a clean default setup with the beta5 download
> >>>>>> when i go to
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>
> >>
> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
> >>
> >>>>
> >>>>>> i get "html_sanitize is not defined"
> >>>>>> so.. what goes wrong?
> >>>>>>
> >>>>>> Best regards
> >>>>>> Pieter Maes
> >>>>>>
> >>>>>> Op 12/02/10 10:25, Chris Chabot schreef:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
> >>>>>>> <pi...@aslpage.be>wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> yep.. i can fetch it..
> >>>>>>>> and i found the code you just pasted.. so it's there..
> >>>>>>>> maybe i need to clean a cache?\
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>> if you're on *nix and using the standard file cache back-end:
> >>>>>>>
> >>>>>>> # rm -rf /tmp/shindig
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
>



-- 
Best Regards,

Jacky Wang
(Office) +86-10-6250-3316
(Mobile) +86-1381-0018-677
Kejian Building, Tsinghua Science Park Building 6
No.1 Zhongguancun East Road, Haidian District
Beijing P.R.China 100084

Re: html_sanitize is not defined

Posted by "Jacky Wang (王超)" <ch...@google.com>.
It seems like we're using the same command line...

My repository says:
Revision / Author: 933501 lindner
Last commit revision: 933487  14:19:28, 2010/04/13

On Tue, Apr 13, 2010 at 4:03 PM, Evgeny Bogdanov <ev...@epfl.ch>wrote:

> Hi Jacky,
>
> just noticed that you say revision is 933501
>
> I get shindig from here: svn co
> http://svn.apache.org/repos/asf/shindig/trunk/ .
> And the latest revision is 933444
>
> Could you please explain how to get another branch?
> Best,
> Evgeny
>
>
> On 13.04.10 09:23, Jacky Wang (王超) wrote:
>
>> Hi Pieter,
>>
>> Sorry for the late reply.
>>
>> I just run the gadget [http://osda.appspot.com/gadget/osda-0.8.xml]
>> against
>> the latest version of PHP Shindig, which is r933501.  And it works fine.
>>
>> For PHP Shindig setup, you may like to refer to the site
>> http://code.google.com/p/partuza/, which is setup by Chris.
>>
>> Partuza is a sample SNS site which hosts gadget using PHP Shindig.  The
>> relationship between Partuza and PHP Shindig is like Google Orkut and Java
>> Shindig.
>>
>> Chris wrote 2 great tutorials for how to setup PHP Shindig and Partuza,
>> which you may find useful.
>> - Shindig: http://www.chabotc.com/guides/shindig_install/
>> - Partuza: http://www.chabotc.com/guides/partuza_install/
>>
>> Please feel free to ping me back - and we're more than happy to help. :)
>>
>> Regards,
>> Jacky
>>
>> On Tue, Mar 23, 2010 at 7:22 AM, Pieter Maes -- Maescool
>> <pi...@aslpage.be>wrote:
>>
>>
>>
>>> Any update? or are the guys responsible on a deserved holiday? :)
>>>
>>> Op 17/03/10 23:45, John Hjelmstad schreef:
>>>
>>>
>>>> Aha! I keep forgetting to ask which Shindig you're using. My expertise
>>>>
>>>>
>>> ends
>>>
>>>
>>>> at the Java version. Jacky? Chris?
>>>>
>>>> On Wed, Mar 17, 2010 at 3:39 PM, Pieter Maes -- Maescool
>>>> <pi...@aslpage.be>wrote:
>>>>
>>>>
>>>>
>>>>
>>>>> uhm features dir is there and looks pretty loaded..
>>>>>
>>>>> my way of building:
>>>>> checked out last trunk version
>>>>> went to the trunk/php dir did ./make-release.sh
>>>>> then unpacked one of the packages it made in the webdir
>>>>>
>>>>> i guess that is the normal way to make a php release?
>>>>>
>>>>> note: default setup: unpacking the downloaded file in the webdir..
>>>>>
>>>>> Op 17/03/10 23:33, John Hjelmstad schreef:
>>>>>
>>>>>
>>>>>
>>>>>> Does your rendered gadget have _any_ JavaScript in it? Sounds like the
>>>>>> features dir isn't being built or loaded correctly for you.
>>>>>>
>>>>>> On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
>>>>>> <pi...@aslpage.be>wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Trunk version 924505
>>>>>>>
>>>>>>> gadgets is not defined
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
>>>
>>>
>>>>
>>>>>
>>>>>> ifr?ur...0.8.xml (row 7)
>>>>>>>
>>>>>>> opensocial is not defined
>>>>>>> var
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
>>>
>>>
>>>>
>>>>>
>>>>>> ifr?ur...0.8.xml (row 138)
>>>>>>>
>>>>>>> gadgets is not defined
>>>>>>> <script
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
>>>>>
>>>>>
>>>>>
>>>>>> ifr?ur...0.8.xml (row 167)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Op 17/03/10 23:15, John Hjelmstad schreef:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Sounds like Beta5 might be broken w/r/t this. Can you use
>>>>>>>> Beta6/head?
>>>>>>>>
>>>>>>>> --j
>>>>>>>>
>>>>>>>> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
>>>>>>>> <pi...@aslpage.be>wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi again,
>>>>>>>>>
>>>>>>>>> I just tried on a clean default setup with the beta5 download
>>>>>>>>> when i go to
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
>>>
>>>
>>>>
>>>>>
>>>>>>
>>>>>>>
>>>>>>>> i get "html_sanitize is not defined"
>>>>>>>>> so.. what goes wrong?
>>>>>>>>>
>>>>>>>>> Best regards
>>>>>>>>> Pieter Maes
>>>>>>>>>
>>>>>>>>> Op 12/02/10 10:25, Chris Chabot schreef:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
>>>>>>>>>> <pi...@aslpage.be>wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> yep.. i can fetch it..
>>>>>>>>>>> and i found the code you just pasted.. so it's there..
>>>>>>>>>>> maybe i need to clean a cache?\
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> if you're on *nix and using the standard file cache back-end:
>>>>>>>>>>
>>>>>>>>>> # rm -rf /tmp/shindig
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>


-- 
Best Regards,

Jacky Wang
(Office) +86-10-6250-3316
(Mobile) +86-1381-0018-677
Kejian Building, Tsinghua Science Park Building 6
No.1 Zhongguancun East Road, Haidian District
Beijing P.R.China 100084

Re: html_sanitize is not defined

Posted by Evgeny Bogdanov <ev...@epfl.ch>.
Hi Jacky,

just noticed that you say revision is 933501

I get shindig from here: svn co 
http://svn.apache.org/repos/asf/shindig/trunk/ .
And the latest revision is 933444

Could you please explain how to get another branch?
Best,
Evgeny

On 13.04.10 09:23, Jacky Wang (王超) wrote:
> Hi Pieter,
>
> Sorry for the late reply.
>
> I just run the gadget [http://osda.appspot.com/gadget/osda-0.8.xml] against
> the latest version of PHP Shindig, which is r933501.  And it works fine.
>
> For PHP Shindig setup, you may like to refer to the site
> http://code.google.com/p/partuza/, which is setup by Chris.
>
> Partuza is a sample SNS site which hosts gadget using PHP Shindig.  The
> relationship between Partuza and PHP Shindig is like Google Orkut and Java
> Shindig.
>
> Chris wrote 2 great tutorials for how to setup PHP Shindig and Partuza,
> which you may find useful.
> - Shindig: http://www.chabotc.com/guides/shindig_install/
> - Partuza: http://www.chabotc.com/guides/partuza_install/
>
> Please feel free to ping me back - and we're more than happy to help. :)
>
> Regards,
> Jacky
>
> On Tue, Mar 23, 2010 at 7:22 AM, Pieter Maes -- Maescool
> <pi...@aslpage.be>wrote:
>
>    
>> Any update? or are the guys responsible on a deserved holiday? :)
>>
>> Op 17/03/10 23:45, John Hjelmstad schreef:
>>      
>>> Aha! I keep forgetting to ask which Shindig you're using. My expertise
>>>        
>> ends
>>      
>>> at the Java version. Jacky? Chris?
>>>
>>> On Wed, Mar 17, 2010 at 3:39 PM, Pieter Maes -- Maescool
>>> <pi...@aslpage.be>wrote:
>>>
>>>
>>>        
>>>> uhm features dir is there and looks pretty loaded..
>>>>
>>>> my way of building:
>>>> checked out last trunk version
>>>> went to the trunk/php dir did ./make-release.sh
>>>> then unpacked one of the packages it made in the webdir
>>>>
>>>> i guess that is the normal way to make a php release?
>>>>
>>>> note: default setup: unpacking the downloaded file in the webdir..
>>>>
>>>> Op 17/03/10 23:33, John Hjelmstad schreef:
>>>>
>>>>          
>>>>> Does your rendered gadget have _any_ JavaScript in it? Sounds like the
>>>>> features dir isn't being built or loaded correctly for you.
>>>>>
>>>>> On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
>>>>> <pi...@aslpage.be>wrote:
>>>>>
>>>>>
>>>>>
>>>>>            
>>>>>> Trunk version 924505
>>>>>>
>>>>>> gadgets is not defined
>>>>>>
>>>>>>
>>>>>>
>>>>>>              
>>>>          
>> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
>>      
>>>>          
>>>>>> ifr?ur...0.8.xml (row 7)
>>>>>>
>>>>>> opensocial is not defined
>>>>>> var
>>>>>>
>>>>>>
>>>>>>              
>>>>          
>> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
>>      
>>>>          
>>>>>> ifr?ur...0.8.xml (row 138)
>>>>>>
>>>>>> gadgets is not defined
>>>>>> <script
>>>>>>
>>>>>>              
>>>> type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
>>>>
>>>>          
>>>>>> ifr?ur...0.8.xml (row 167)
>>>>>>
>>>>>>
>>>>>>
>>>>>> Op 17/03/10 23:15, John Hjelmstad schreef:
>>>>>>
>>>>>>
>>>>>>              
>>>>>>> Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
>>>>>>>
>>>>>>> --j
>>>>>>>
>>>>>>> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
>>>>>>> <pi...@aslpage.be>wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>                
>>>>>>>> Hi again,
>>>>>>>>
>>>>>>>> I just tried on a clean default setup with the beta5 download
>>>>>>>> when i go to
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                  
>>>>>>              
>>>>          
>> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
>>      
>>>>          
>>>>>>              
>>>>>>>> i get "html_sanitize is not defined"
>>>>>>>> so.. what goes wrong?
>>>>>>>>
>>>>>>>> Best regards
>>>>>>>> Pieter Maes
>>>>>>>>
>>>>>>>> Op 12/02/10 10:25, Chris Chabot schreef:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                  
>>>>>>>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
>>>>>>>>> <pi...@aslpage.be>wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                    
>>>>>>>>>> yep.. i can fetch it..
>>>>>>>>>> and i found the code you just pasted.. so it's there..
>>>>>>>>>> maybe i need to clean a cache?\
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                      
>>>>>>>>> if you're on *nix and using the standard file cache back-end:
>>>>>>>>>
>>>>>>>>> # rm -rf /tmp/shindig
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                    
>>>>>>>>                  
>>>>>>>                
>>>>>>              
>>>>>            
>>>>          
>>>        
>>      
>
>
>