For users without an internet connection we are thinking about converting a rather large site to a DVD. As dynamic solutions with databases seem hard (see another thread) we are also considering a static html version. The site is clearly convertible to a static version, I can make sure that all search functions are turned off. Can the conversion itself optimized with Rails? Do you know solutions to make a site static e.g. with different user agents? Or by treating the requests as some different output format? (I''m thinking in the direction of the current HTML/XML output constructions...) Bart
Bart Braem wrote:> For users without an internet connection we are thinking about > converting a > rather large site to a DVD. As dynamic solutions with databases seem > hard > (see another thread) we are also considering a static html version. The > site is clearly convertible to a static version, I can make sure that > all > search functions are turned off. > Can the conversion itself optimized with Rails? Do you know solutions to > make a site static e.g. with different user agents? Or by treating the > requests as some different output format? (I''m thinking in the direction > of > the current HTML/XML output constructions...)If you can set it up so the site displays all the pages you want to put in the static version as a user clicks through it, you could use HTTrack http://www.httrack.com/ to make the static site for the DVD. --Al Evans -- Posted via http://www.ruby-forum.com/.
On 6/14/06, Bart Braem <bart.braem@gmail.com> wrote:> For users without an internet connection we are thinking about converting a > rather large site to a DVD. As dynamic solutions with databases seem hard > (see another thread) we are also considering a static html version. The > site is clearly convertible to a static version, I can make sure that all > search functions are turned off. > Can the conversion itself optimized with Rails? Do you know solutions to > make a site static e.g. with different user agents? Or by treating the > requests as some different output format? (I''m thinking in the direction of > the current HTML/XML output constructions...)wget might be your friend here. http://www.gnu.org/software/wget/ for more information. I think the line you''re looking for is something like: wget --convert-links --recursive http://myserver/ But the manual pages and the examples should help work out exactly what you''ll need. Matt
Greetings from a (hopefully) new Rails developer! Just trying to use the dbmodel gem. I installed the gem, and installation went fine, but when I try to actually use the gem using W:\BookingCalendar>ruby script/generate dbmodel bookingcal.xml I get the message: Couldn''t find ''dbmodel'' generator Has anyone used this gem and received the same error message? ---------------------------
Wow. Nobody on the whole list has used dbmodel? -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Steve Lawrence Sent: Thursday, June 15, 2006 11:32 AM To: rails@lists.rubyonrails.org Subject: [Rails] Dbmodel-0.1.0 GEM Greetings from a (hopefully) new Rails developer! Just trying to use the dbmodel gem. I installed the gem, and installation went fine, but when I try to actually use the gem using W:\BookingCalendar>ruby script/generate dbmodel bookingcal.xml I get the message: Couldn''t find ''dbmodel'' generator Has anyone used this gem and received the same error message? --------------------------- _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 6/16/06, Steve Lawrence <steve@nexiaweb.com> wrote:> Wow. Nobody on the whole list has used dbmodel?Never even heard of it... ;)> > > Greetings from a (hopefully) new Rails developer! > > Just trying to use the dbmodel gem. I installed the gem, and installation > went fine, but when I try to actually use the gem using > > W:\BookingCalendar>ruby script/generate dbmodel bookingcal.xml > > I get the message: > > Couldn''t find ''dbmodel'' generator > > Has anyone used this gem and received the same error message? > > > --------------------------- > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/