Its true sites doesnt allow embedding arbitary code in a site, but it
does allow carefully controled code via a Google Gadget
I was saying you could create a gadget that uses uses the Earth Plugin/
API and embed that. In the post I refereced is how to create a gadget
for embedding a 2D map from My Maps - purely to show you can use
gadgets.
But Roman is saying that his embeding KML gadget (referenced in the
mapperz blog post) does work on sites.
Goto sites, and edit your page, then 'Insert' menu and select
'More...' in the Gadgets section, on the popup, click 'Add by URL' and
paste in the XML URL of Romans gadget.
http://hosting.gmodules.com/ig/gadgets/file/114026893455619160549/embedkmlgadget.xml
On Feb 17, 4:50 pm, JeffJensen wrote:
> Hello Roman and Barry,
>
> Thanks for the reply. I'm still having troubles getting Earth API to
> work with Google Sites.
>
> According to these two posts from Google Sites Group, the Sites
> Administrators scrub all JavaScript, CSS and some HTML for security
> reasons:
>
> 1.
http://groups.google.com/group/sites-help-somethingisbroken/
> browse_thread/thread/7c24fc6cd2353a71/1463c3aa9a66539e?lnk=gst&q=html
> +javascript#1463c3aa9a66539e
>
> 2.
http://groups.google.com/group/sites-help-somethingisbroken/browse_th...