Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

HTML managing static website with 100 or more pages, and no CMS

views
     
seanie
post Dec 16 2010, 09:29 PM

On my way
****
Senior Member
539 posts

Joined: May 2007
From: PD
QUOTE(happy4ever @ Dec 16 2010, 09:12 PM)
so it could be problematic.
Well, that's your job. Try out a few and see how it goes for you. The one that allows you to export a static site most reliably is the one to use. Wget shouldn't give you any trouble with CSS - it reads it to hunt for background images etc. Javascript is only really a problem if it is generating URLs for server side scripts. If it's generating URLs for content that already exists on the server then wkkay's tip to copy the static content separately from the wget will handle that.
nyem
post Dec 17 2010, 06:04 AM

Enthusiast
*****
Senior Member
751 posts

Joined: Jan 2007


Javascript-only solution might not work well across all browsers and search engines.

IMHO find-and-replace is the easiest solution for static contents. Much easier if your editor can do regular expression

Find all
CODE
< ! -- MENU START -->.*?< !-- MENU END -->

Replace with
CODE
< !-- MENU START -->
<div id=menu>
 <a href="">..</a>
 <a href="">..</a>
</div>
< !-- MENU END -->




 

Change to:
| Lo-Fi Version
0.0148sec    0.98    5 queries    GZIP Disabled
Time is now: 27th November 2025 - 12:10 PM