For one of our customers we want to use Umbraco, but the client allows only simple static HTML pages in their hosting environment. Would it be possible to use Umbraco for content management on a staging environment and then push out the generated HTML pages to the hosting environment?
I was hoping to find the generated HTML cache somewhere, but can't seem to find it.
If you really need to create the site in Umbraco then you could and then just use some software that saves complete sites off as HTML and push this up to your hosting environment.
Umbraco doesn't save the html output of the pages. But you can either crawl a site as Rich suggested (try a google search for 'save website offline' to get some ideas of the tools available), or you could create an event handler that would save an html file on publish. There's an umbraco.tv episode about this and also some info available online.
I've heard that someone in the states did that, but I think it wil not be easy to do that. If it's a money issue you can also try Nitroserve in the Netherlands, really cheap hoster. I run 1 simple Umbraco site there http://www.greenrivers.eu/
Sounds like this might not be the best use for umbraco, given the static html resriction.
You could try something like http://www.cushycms.com/. ; Basically you upload a static html site, set a few classes on editable elements and give cushy your ftp details. Users can then log in to cushyCMS and edit the necessary areas, change photos etc.
Niels flat-file generator uses RenderTemplate, so make sure your site is built with 4.0.1 or later. I tried it a few years back, worked just fine, albeit, you can't have any interaction, since you won't have any server controls handling posted data. It's doable, but not a recommended approach.
How big ? I did a 10 page site on a server then just cut and paste the out putted source, changed a couple of directory names for the images and css and was done in about 1/2 an hour.
I hav a dought about navigation in umbraco. In my site created some pages in umbraco and have some static aspx pages also. Then, How can i navigate from static page to umbraco pages and vice versa? Please give me any suggestion for this problem.
Using Umbraco to create a static HTML site
Hi,
For one of our customers we want to use Umbraco, but the client allows only simple static HTML pages in their hosting environment. Would it be possible to use Umbraco for content management on a staging environment and then push out the generated HTML pages to the hosting environment?
I was hoping to find the generated HTML cache somewhere, but can't seem to find it.
thanks for any help on this,
Ewout
If you really need to create the site in Umbraco then you could and then just use some software that saves complete sites off as HTML and push this up to your hosting environment.
Umbraco doesn't save the html output of the pages. But you can either crawl a site as Rich suggested (try a google search for 'save website offline' to get some ideas of the tools available), or you could create an event handler that would save an html file on publish. There's an umbraco.tv episode about this and also some info available online.
cheers,
doug.
Hi Ewout,
I've heard that someone in the states did that, but I think it wil not be easy to do that. If it's a money issue you can also try Nitroserve in the Netherlands, really cheap hoster. I run 1 simple Umbraco site there http://www.greenrivers.eu/
Cheers,
Richard
Sounds like this might not be the best use for umbraco, given the static html resriction.
You could try something like http://www.cushycms.com/. ; Basically you upload a static html site, set a few classes on editable elements and give cushy your ftp details. Users can then log in to cushyCMS and edit the necessary areas, change photos etc.
Dan
Niels has apparently written a flat-file generator for Umbraco, or at least the prototype code for one. Just a matter of getting it off him.
I don't know if it generates HTML pages or ASPX pages though.
Niels flat-file generator uses RenderTemplate, so make sure your site is built with 4.0.1 or later. I tried it a few years back, worked just fine, albeit, you can't have any interaction, since you won't have any server controls handling posted data. It's doable, but not a recommended approach.
I made this back in 2006:
http://www.darren-ferguson.com/2006/06/05/plugin-to-export-html-from-umbraco.aspx
I have no idea if it would still work, but it should.
I should be able to dig out the source if you want to extend it. There are installation instructions if you extract the zip file.
How big ? I did a 10 page site on a server then just cut and paste the out putted source, changed a couple of directory names for the images and css and was done in about 1/2 an hour.
everyone,
many thanks for all your ideas and tips! I will investigate the options and let you know my findings.
Ewout
Hey there - did you end up finding a solution for this?
hi All,
I hav a dought about navigation in umbraco. In my site created some pages in umbraco and have some static aspx pages also. Then, How can i navigate from static page to umbraco pages and vice versa? Please give me any suggestion for this problem.
thanks,
alen
Hi Alen
Please see my response to your own post about the issue here http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/59692-Navigation-to-aspx-page-in-Umbraco?p=0#comment202047
Cheers, Jan
is working on a reply...