Export to static? Topic is solved

General project discussion. NOT for help questions.
Anonymous

Export to static?

Post by Anonymous »

I have installed the newest version of cms made simple multi language. I have just found the advertising iframe before website content.  It is like this:where post_id = 112388;
";
Bewbs

Export to static?

Post by Bewbs »

you could do file > save page as on every page, but why? you wouldnt be able to update the content with cms which would be... it would take less time to download and install php
Thijs

Export to static?

Post by Thijs »

There is no "publish to static page" option. But page generation is pretty quick with CMSms[size=9px]ms[/size]ms and long loading times are usually the reason why people want static pages. You would also miss out on any dynamic goodies, like newsfeeds and such. If you
want even more speed you might look at the built-in caching capabilities that the Smarty template engine has http://smarty.php.net/manual/en/caching.php. Im not sure, though, how this interacts with CMS.
Ploc

Export to static?

Post by Ploc »

People sometime prefer static pages in order to burn the website on a cdrom or to get hosted on a free web hosting.

I can't tell how it would be to implement 'export to static' feature, but I think it wouldn't be that big... And it could be very useful for some.

In the end, you still can use wget qith some option to get the static version of your site...
jptechnical
Forum Members
Forum Members
Posts: 131
Joined: Wed Jan 12, 2005 12:18 am

Export to static?

Post by jptechnical »

I suppose IF YOU HAVE TO you can use mod_rewrite and make all the urls end with .shtml. I do that on my sites. But with the previously mentioned caching I see no need to make any static pages.
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Wget command

Post by sjg »

If you have wget installed, it's as easy as:

Code: Select all

wget --mirror –w 2 –p --html-extension –-convert-links http://www.yourdomain.com
Then you can run it off of a CD, static web host, or other filesystem.
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
jptechnical
Forum Members
Forum Members
Posts: 131
Joined: Wed Jan 12, 2005 12:18 am

Export to static?

Post by jptechnical »

If you want to run it off of a cd, you might consider microweb http://www.indigostar.com/microweb.htm that is what it is designed for. Then you can have the dynamic features as well as the content. Although at $300 for a license it is pricey.
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Export to static?

Post by sjg »

jptechnical wrote:If you want to run it off of a cd, you might consider microweb http://www.indigostar.com/microweb.htm that is what it is designed for. Then you can have the dynamic features as well as the content. Although at $300 for a license it is pricey.
Yikes. At that price, I'd make a custom Knoppix CD, with Apache, mysql, and my site on it. The database would be read-only, of course, but it would work for demonstration purposes.
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
jptechnical
Forum Members
Forum Members
Posts: 131
Joined: Wed Jan 12, 2005 12:18 am

Export to static?

Post by jptechnical »

The license is only to get rid of the nag window when you start the executible.

If you seriously want to display a site on a cd this is the only product I have seen that is able to do this dynamic content.

Obviously you could go the knoppix route or the other live distros, but you would have to reboot into it and vew the site in another browser then the client is familiar with, unless IE is coming on knoppix, can't remember what it is called, I think it uses emulation like CrossOver Office. Plus having all your htdocs and settings on a floppy or a usb key.

Are your clients or those you are going to demo the sites to running linux desktops? I have been in the IT industry for 7 years doing networking and repair and have only seen one shop with non-windows workstations (except the macs in printshops) and they were running HP-UX on Kayaks and 3 SGI boxes. But that was for the engineers (Mapping and USGS stuff). All the other staff had wintel boxes.

What desktop OS do you use? I have been trying to move over to *nix for years but keep hitting a wall when I try to replace the macromedia suite and CorelSuite.

It is free to use and distribute, you just have this popup.
---------------------------
MicroWeb Server
---------------------------
This is an evaluation version of the MicroWeb Server.
It is not licensed for redistribution.
For more information see the attached mwman.htm file
or visit http://www.indigostar.com/microweb.htm.

The registered version does not display this message.

---------------------------
OK
---------------------------
I tried some of the other 'test servers' other forum members have suggested, since then I have changed over to wampserver mainly. though I still use microweb alot for testing since it is just extract, change 1 file and execute. However, since I am doing ALOT of websites lately I am building a redhat9 web server today. We will see how that goes.

I am going to have to play around with wget, especially if it will change the file extensions as it gets the files.
Yikes. At that price, I'd make a custom Knoppix CD, with Apache, mysql, and my site on it. The database would be read-only, of course, but it would work for demonstration purposes.
Oh, by the way, with microweb the database isn't readonly, it is copied to the windows temp folder and run from there. :wink:
Akrabat

Re: Export to static?

Post by Akrabat »

jptechnical wrote: If you want to run it off of a cd, you might consider microweb http://www.indigostar.com/microweb.htm that is what it is designed for. Then you can have the dynamic features as well as the content. Although at $300 for a license it is pricey.
This is great. My boss came to me today asking about putting one of our sites on CDROM... This looks like the perfect solution and for a mere $300!  Off to download now!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Export to static?

Post by Ted »

I still like the wget approach...  :)
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: Export to static?

Post by Greg »

Another tool HTTrack
Greg
jptechnical
Forum Members
Forum Members
Posts: 131
Joined: Wed Jan 12, 2005 12:18 am

Re: Export to static?

Post by jptechnical »

httrack is good. Firefox has an extension based on it called spiderzilla http://spiderzilla.mozdev.org/
jack

Re: Wget command

Post by jack »

sjg wrote: If you have wget installed, it's as easy as:

Code: Select all

wget --mirror –w 2 –p --html-extension –-convert-links http://www.yourdomain.com
Then you can run it off of a CD, static web host, or other filesystem.
this technique doesn't seem to work for a cms site like http://aresa.dk 

is there a better way?
alarach

Re: Export to static?

Post by alarach »

I export my Site, but I can't see the "LOGO" inside the "Header" area.
Any idea how to solve this?
Post Reply

Return to “General Discussion”