Has anybody figured out a way to use Google Sites to create all the
static content for a site but then have certain pages call out to a
rails app and inject the results directly into the Sites page?

I was hoping it was as simple as embedding ajax calls into the Sites
page just like you would in a rails template - except that it seems
like Sites is pretty carefully set up not to let you insert your own
<script> tags.

The closest approximation I've been able to come up with so far is to
create a "Gadget" that makes the AJAX calls. I haven't actually tried
it yet, but even if it does work, it's still kludgy in that when
inserting a gadget into a Sites page, you have to specify it's
dimensions explicitly. So, for example, you would not be able to have
a page that had no scroll bar if it were not required, but expanded
and added the scroll bar if the content was long enough. Since the
dimensions of the gadget insertion are static, the page height is also
static (the gadget is what would get a scroll bar if the content
required it, not the page).

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to