Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

godoy (2167)

godoy
  (email not shown publicly)
http://www.g2ctech.com/
AOL IM: godoy0 (Add Buddy, Send Message)
Yahoo! ID: jgodoyf (Add User, Send Message)
Jabber: godoy@jabber.org

Never doubt how stupid people can be.

Journal of godoy (2167)

Saturday September 07, 2002
10:08 AM

Website

[ #7592 ]

My brother wrote the basics of our website and I had optimized a little the job of maintaining it by creating a template with correct and indented HTML.

Now, I've added a new page that I want to be available as a link on every other page. Two choices:

  1. Edit every page adding the link (and do that for every other link in the future)
  2. Write a Template Toolkit template and recreate the pages automatically

Guess which one was my choice? Editing everything, of course! ;-) Just kidding. Moving everything to TT2. It will save me a lot of work. ;-)

God bless Perl and its tools.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • If your nail is a webserver where you don't have a shell account,
    PHP include("link.inc"); is an easy hammer.
    --
    dc
    • I'm more of the Perl kind of guy. :-)

      As I said, I used TT2 and moved everything in 5 minutes. Now, whenever I want to add a new box or something to every page, I just have to edit the template and it's done.

      I may also have templates that call other templates, and then differentiate what appears in every page.

      And I can have variables there.

      And the best thing: the ISP has just to support plain HTML and CSS files. No PHP, no Perl, no mod_perl, no nothing. Everything is done here and ftp'ed there.
      --
      -- Godoy.