logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Re: H::T future: msg#00061

lang.perl.modules.html-template

Subject: Re: Re: H::T future

On Tue, Dec 09, 2003 at 03:29:55AM -0500, Brett Sanger wrote:

>I can see how this is too involved for a handful of pages, but I don't
>see it as "silly" for any site of size.

The problem I have with it is that, when you add a page, you need to add
both the file and the database entry. For the main site I administer
with H::T, I use my Set extension and have a few lines at the top:

<!-- tmpl_set name=title value=Personnel -->
<!-- tmpl_set name=related0 value=/ -->
<!-- tmpl_set name=related1 value=contact.html -->
<!-- tmpl_include name=top.inc.tmpl>

(actual page content here)

<!-- tmpl_include name=bottom.inc.tmpl>

The site-building script takes these, adds appropriate headers and
<title> tags and so on, and (in a two-pass process) builds all the
related-pages lists with full titles too.

So if I change a page's title, or want to add or delete a related page,
I just have one file to do it in. Everything about that page is in a
single place.

Roger


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation