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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Marnen Laibow-Koser
2010-Jan-25 18:40 UTC
Re: embedding a rails app in a Google Sites site?
Avram Dorfman wrote:> 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?This is almost certainly more trouble than it''s worth. If you want free Rails hosting, try Heroku. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I''m not sure how you got that form my question. It''s practically the opposite of what I''m saying. I am not looking for free rails hosting or free anything. I already have rails hosting. I am just trying to benefit from Google Sites having a very easy to use interface and a rich set of templates for organizing a site, generating menus, and creating it''s static content so I don''t have to build all of that functionality myself with rails. All I really need rails for is a few dynamic content pages. On 25 Jan 10 , at 1:40 PM, Marnen Laibow-Koser wrote:> Avram Dorfman wrote: >> 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? > > This is almost certainly more trouble than it''s worth. If you want free > Rails hosting, try Heroku.-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Marnen Laibow-Koser
2010-Jan-25 21:53 UTC
Re: Re: embedding a rails app in a Google Sites site?
Avram Dorfman wrote:> I''m not sure how you got that form my question. It''s practically the > opposite of what I''m saying. > > I am not looking for free rails hosting or free anything. I already have > rails hosting. I am just trying to benefit from Google Sites having a > very easy to use interface and a rich set of templates for organizing a > site, generating menus, and creating it''s static content so I don''t have > to build all of that functionality myself with rails.You don''t have to anyway. Try a CMS such as Radiant n> > All I really need rails for is a few dynamic content pages.Then the other alternative would be plain old hyperlinks. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>> >> All I really need rails for is a few dynamic content pages. > > Then the other alternative would be plain old hyperlinks. >or also some Iframe Simone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.