rubyonrailsin

A Ruby and Rails talk

Friday, March 19, 2010


[Rails] Re: How to save rails generated pages to a file on the server

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

You might want to check out:

http://code.google.com/p/wkhtmltopdf/
http://www.princexml.com/

wkhtmltopdf is free. prince will cost you. prince has better css
print-related implementation coverage at this time, but wkhtmltopdf
can be a very good alternative depending on the needs of your project.

Jeff

On Mar 19, 12:54 pm, Fritz Trapper <li...@ruby-forum.com> wrote:
> Philip Hallstrom wrote:
> > render_to_string
>
> >http://api.rubyonrails.org/classes/ActionController/Base.html#M000659
>
> > That puts it into a local variable anyway... if you can then pass that
> > to htmldoc you're on your way.  Not sure how this might affect any
> > paths to CSS/images for HTMLDOC though.
>
> Thanks. CSS is "no problem" with HTMLDOC - it doesn't support it ;-)
>
> Maybe, I need to find some alternative for HTMLDOC. My problem is, that
> I have a table with variable number of columns.
> --
> Posted viahttp://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@googlegroups.com.
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.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive