PDF document viewer in rails

Hai guys i would like to show my pdf document into my app like scribd
site
show the document in their site i need a help how to implement the
viewer
into my app give me some reference for implement the viewer

Hi mahesh

Please check

An example is
send_file ‘filepath’, :disposition => ‘inline’,:type =>
‘application/pdf’

Sijo

Hi sijo
thank you it help me some way but what i really need is i would like to
show the content in the flash player like this url shows
http://www.scribd.com/doc/18244537/The-World-According-to-Twitter

Thanks & regards
Mahesh

On Tue, Sep 15, 2009 at 1:56 PM, Sijo Kg

mahesh s wrote:

Hi sijo
thank you it help me some way but what i really need is i would like to
show the content in the flash player like this url shows
http://www.scribd.com/doc/18244537/The-World-According-to-Twitter

Don’t do this. Scribd’s PDF viewer is an impressive piece of Flash, but
it’s underpowered compared to real PDF viewers like the Adobe Reader
plugin. Also, iPhone and Palm users can display PDF files but not
Flash, and I think screen readers would have an easier time with PDF
files.

Just serve up the straight PDF file and don’t worry about Flash.

Thanks & regards
Mahesh

On Tue, Sep 15, 2009 at 1:56 PM, Sijo Kg

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

On 15 Sep 2009, at 10:51, mahesh s wrote:

thank you it help me some way but what i really need is i would
like to show the content in the flash player like this url shows http://www.scribd.com/doc/18244537/The-World-According-to-Twitter

http://www.google.com/search?q=pdf+flash+viewer

Best regards

Peter De Berdt

Marnen Laibow-Koser wrote:

Don’t do this. Scribd’s PDF viewer is an impressive piece of Flash, but
it’s underpowered compared to real PDF viewers like the Adobe Reader
plugin. Also, iPhone and Palm users can display PDF files but not
Flash, and I think screen readers would have an easier time with PDF
files.

Just serve up the straight PDF file and don’t worry about Flash.

+1

Or, at least provide both options to visitors. As a Safari user I don’t
even need a plugin to have a great PDF viewing experience (even
surpasses that of the Adobe Reader plugin IMHO). Being forced to view
PDF inside Flash would just serve to irritate me to the point of never
using a site again. Or at least not without a lot of grumbling and
cursing of the site developer.

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.

On Wed, Sep 16, 2009 at 7:45 AM, Robert W. <

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,
“”

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]

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]