script on header

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

script on header

sebastianconcept@gmail.co
hi guys,

what do you do if you need this in the header?

<script type="text/javascript" src="http://platform.linkedin.com/in.js">/*
  api_key: DXjUrY-9apre6gnyK080MpTIoIS4f38AleG08Y0kLM0DH2xeNQATIfDMuoisCMO_
  onLoad: onLinkedInLoad
  authorize: true
*/</script>

ideas?


PS: something like this in the #updateRoot: doesn't help:

anHtmlRoot script 
url: 'http://platform.linkedin.com/in.js';
with:[
'api_key: ', apiKey].


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: script on header

Lukas Renggli
What about creating your own WAHtmlElement subclass that has the
semantics you need?

Obviously the output you need is kind of non-standard.

Lukas

On 28 October 2011 20:54, Sebastian Sastre <[hidden email]> wrote:

> hi guys,
> what do you do if you need this in the header?
>
> <script type="text/javascript" src="http://platform.linkedin.com/in.js">/*
>   api_key: DXjUrY-9apre6gnyK080MpTIoIS4f38AleG08Y0kLM0DH2xeNQATIfDMuoisCMO_
>   onLoad: onLinkedInLoad
>   authorize: true
> */</script>
>
> ideas?
> sebastian
> o/
> PS: something like this in the #updateRoot: doesn't help:
> anHtmlRoot script
> url: 'http://platform.linkedin.com/in.js';
> with:[
> 'api_key: ', apiKey].
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: script on header

Boris Popov, DeepCove Labs (SNN)
In reply to this post by sebastianconcept@gmail.co

(root script)

  url: 'http://platform.linkedin.com/in.js';

  with: 'api_key: your_api_key_goes_here'.

 

<script src="http://platform.linkedin.com/in.js">/*<![CDATA[*/api_key: your_api_key_goes_here/*]]>*/</script>

 

HTH,

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Sebastian Sastre
Sent: Friday, October 28, 2011 2:55 PM
To: Seaside - general discussion
Subject: [Seaside] script on header

 

hi guys,

 

what do you do if you need this in the header?

 

<script type="text/javascript" src="http://platform.linkedin.com/in.js">/*
  api_key: DXjUrY-9apre6gnyK080MpTIoIS4f38AleG08Y0kLM0DH2xeNQATIfDMuoisCMO_
  onLoad: onLinkedInLoad
  authorize: true
*/</script>

 

ideas?

 

 

PS: something like this in the #updateRoot: doesn't help:

 

            anHtmlRoot script 

                        url: 'http://platform.linkedin.com/in.js';

                        with:[

                                    'api_key: ', apiKey].

 


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: script on header

sebastianconcept@gmail.co
In reply to this post by Lukas Renggli
yeah, good idea.

actually yes, for this APIs people seems to send standards to the hyperspace (I've seen that not only for linkedIn)




On Oct 28, 2011, at 4:59 PM, Lukas Renggli wrote:

What about creating your own WAHtmlElement subclass that has the
semantics you need?

Obviously the output you need is kind of non-standard.

Lukas

On 28 October 2011 20:54, Sebastian Sastre <[hidden email]> wrote:
hi guys,
what do you do if you need this in the header?

<script type="text/javascript" src="http://platform.linkedin.com/in.js">/*
  api_key: DXjUrY-9apre6gnyK080MpTIoIS4f38AleG08Y0kLM0DH2xeNQATIfDMuoisCMO_
  onLoad: onLinkedInLoad
  authorize: true
*/</script>

ideas?
sebastian
o/
PS: something like this in the #updateRoot: doesn't help:
anHtmlRoot script
url: 'http://platform.linkedin.com/in.js';
with:[
'api_key: ', apiKey].

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: script on header

sebastianconcept@gmail.co
In reply to this post by Boris Popov, DeepCove Labs (SNN)
<base href="x-msg://175/">oww, yes.

thanks for the push :)




On Oct 28, 2011, at 5:00 PM, Boris Popov, DeepCove Labs wrote:

(root script)
  url: 'http://platform.linkedin.com/in.js';
  with: 'api_key: your_api_key_goes_here'.
 
<script src="http://platform.linkedin.com/in.js">/*<![CDATA[*/api_key: your_api_key_goes_here/*]]>*/</script>
 
HTH,
 
-Boris
 
From: [hidden email] [mailto:[hidden email]] On Behalf OfSebastian Sastre
Sent: Friday, October 28, 2011 2:55 PM
To: Seaside - general discussion
Subject: [Seaside] script on header
 
hi guys,
 
what do you do if you need this in the header?
 
<script type="text/javascript" src="http://platform.linkedin.com/in.js">/*
  api_key: DXjUrY-9apre6gnyK080MpTIoIS4f38AleG08Y0kLM0DH2xeNQATIfDMuoisCMO_
  onLoad: onLinkedInLoad
  authorize: true
*/</script>
 
ideas?
 
 
PS: something like this in the #updateRoot: doesn't help:
 
            anHtmlRoot script 
                        url: 'http://platform.linkedin.com/in.js';
                        with:[
                                    'api_key: ', apiKey].
 
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside