Hi, I''m needing an static page generated by my rails website. I''m thinking in get the cache of rails. Someone have done somethink like it? Or have an module to export rails application ro html? Thank you -- Pedro C. Valentini pedro-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org +55 (21) 8708-8035
Robby Russell
2005-Sep-16 18:45 UTC
Re: Export Cache to Make an Static Application of htmls
On Fri, 2005-09-16 at 15:37 -0300, Pedro Valentini wrote:> Hi, > > I''m needing an static page generated by my rails website. > I''m thinking in get the cache of rails. > Someone have done somethink like it? Or have an module to export rails > application ro html? > > Thank you >You could wget your site with a cron script? -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/
Pedro Valentini
2005-Sep-16 19:54 UTC
Re: Export Cache to Make an Static Application of htmls
Do you know if wget will make the links of the website work? Thank''s Pedro Robby Russell escreveu:>On Fri, 2005-09-16 at 15:37 -0300, Pedro Valentini wrote: > > >>Hi, >> >>I''m needing an static page generated by my rails website. >>I''m thinking in get the cache of rails. >>Someone have done somethink like it? Or have an module to export rails >>application ro html? >> >>Thank you >> >> >> > >You could wget your site with a cron script? > >-Robby > > >-- Pedro C. Valentini pedro-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org +55 (21) 8708-8035
Robby Russell
2005-Sep-16 21:01 UTC
Re: Export Cache to Make an Static Application of htmls
On Fri, 2005-09-16 at 16:54 -0300, Pedro Valentini wrote:> Do you know if wget will make the links of the website work? > > Thank''s > PedroWget can basically take a snapshot of your site (recursively). So, in theory, yes...should be possible to do this with a Rails site. Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/
Mikkel Bruun
2005-Sep-16 22:25 UTC
Re: Export Cache to Make an Static Application of htmls
this should do the trick wget -r -l inf -k -E -nh -nc http://whatever.tld Mikkel On 16/09/2005, at 23.01, Robby Russell wrote:> On Fri, 2005-09-16 at 16:54 -0300, Pedro Valentini wrote: > >> Do you know if wget will make the links of the website work? >> >> Thank''s >> Pedro >> > > Wget can basically take a snapshot of your site (recursively). > > So, in theory, yes...should be possible to do this with a Rails site. > > > Robby > > -- > /****************************************************** > * Robby Russell, Owner.Developer.Geek > * PLANET ARGON, Open Source Solutions & Web Hosting > * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 > * www.planetargon.com | www.robbyonrails.com > *******************************************************/ > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Pedro Valentini
2005-Sep-19 22:19 UTC
Re: Export Cache to Make an Static Application of htmls
Where is the default cache folder of rails?? I will look if I can get this files to export and use. Thank''s Pedro Mikkel Bruun escreveu:> > this should do the trick > > wget -r -l inf -k -E -nh -nc http://whatever.tld > > Mikkel > > On 16/09/2005, at 23.01, Robby Russell wrote: > >> On Fri, 2005-09-16 at 16:54 -0300, Pedro Valentini wrote: >> >>> Do you know if wget will make the links of the website work? >>> >>> Thank''s >>> Pedro >>> >> >> Wget can basically take a snapshot of your site (recursively). >> >> So, in theory, yes...should be possible to do this with a Rails site. >> >> >> Robby >> >> -- >> /****************************************************** >> * Robby Russell, Owner.Developer.Geek >> * PLANET ARGON, Open Source Solutions & Web Hosting >> * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 >> * www.planetargon.com <http://www.planetargon.com> | >> www.robbyonrails.com <http://www.robbyonrails.com> >> *******************************************************/ >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >-- Pedro C. Valentini pedro-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org +55 (21) 8708-8035
Andrew Stuart
2005-Sep-19 23:03 UTC
Re: Export Cache to Make an Static Application of htmls
httrack is far better than wget for mirroring websites into static HTML, by about ten miles. www.httrack.com httrack is free, and has a feature list as long as your arm - for example it will remap all links in the downloaded HTML andrew ----- Original Message ----- From: "Pedro Valentini" <pedro-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org> To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> Sent: Tuesday, September 20, 2005 8:19 AM Subject: Re: [Rails] Export Cache to Make an Static Application of htmls Where is the default cache folder of rails?? I will look if I can get this files to export and use. Thank''s Pedro Mikkel Bruun escreveu:> > this should do the trick > > wget -r -l inf -k -E -nh -nc http://whatever.tld > > Mikkel > > On 16/09/2005, at 23.01, Robby Russell wrote: > >> On Fri, 2005-09-16 at 16:54 -0300, Pedro Valentini wrote: >> >>> Do you know if wget will make the links of the website work? >>> >>> Thank''s >>> Pedro >>> >> >> Wget can basically take a snapshot of your site (recursively). >> >> So, in theory, yes...should be possible to do this with a Rails site. >> >> >> Robby >> >> -- >> /****************************************************** >> * Robby Russell, Owner.Developer.Geek >> * PLANET ARGON, Open Source Solutions & Web Hosting >> * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 >> * www.planetargon.com <http://www.planetargon.com> | >> www.robbyonrails.com <http://www.robbyonrails.com> >> *******************************************************/ >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >-- Pedro C. Valentini pedro-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org +55 (21) 8708-8035 _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails