Check 
http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html

It's really simple, and it isn't Flash, just add into the view,
"<iframe 
src="http://docs.google.com/gview?url=#{YOUR_PDF_URL}&embedded=true"; 
style="width:600px; height:500px;" frameborder="0"></iframe>"

Fernando

Marnen Laibow-Koser wrote:
> mahesh s wrote:
>> Thank you for your idea guys
>>        I got the solution to show the file in iframe tag is that good 
>> way to
>> show the file in iframe or any better solution in rails to show the pdf
>> content.
> 
> It doesn't have to be in an iframe -- you can serve it just like an HTML 
> file.  Rails doesn't come into the issue.
> 
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]

-- 
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 [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