Comments please

They have: 568 posts

Joined: Nov 1999

Ok, I got a new script on my web site called Dirctor.
What this script does is manage your web site by using special comment tags around content

so if you had

this is the body

then all you would see when you log into director is "this is the body" in a text box that you would be able to update easily.

http://www.perlshell.com is the URL.

They have: 193 posts

Joined: Feb 2000

I like the idea...I would have used it a year ago. But I already have a template system! Laughing out loud But, there are A LOT of people who would find this useful. Wink

Good job.

Richard

richard@brevig.com

Everyone here has a website. It's just that not all are worth posting (Mine! Smiling).

They have: 568 posts

Joined: Nov 1999

Template system? Whats the URL?

They have: 193 posts

Joined: Feb 2000

It's something I made...very simple. Actually, not much of a template (I haven't needed anything more complex).

I use the following code to call the "template:"

$body = qq|This is the body|;
&build_html("This is the title", "this is the location, for visual nave purposes", $body);
'

Then in a global file I use:

sub build_html {
local ($title, $location, $body) = @_;
print qq|
  <html>
   <head>
    <title>$title</title>
   </head>
   <body>
    You are here: $location<br>
    $body
   </body>
  </html>
|;
}
'

It's a little more complex than that, but not much. I then keep subroutines for the diferent templates I might need. I know I should go to something else, but this seems like it would be faster than opening a file, parsing it, etc.

Richard

richard@brevig.com

Everyone here has a website. It's just that not all are worth posting (Mine! Smiling).

They have: 568 posts

Joined: Nov 1999

ohh ok. I'm in the middle of a program right now that manages web sites really easy. i thought i would get ideas from you.

They have: 45 posts

Joined: Aug 2000

Orpheus, I didnt know you owned perlshell. Thats why talon said he knew you. Sweetness. Im using director on my site, along with a script that I made that is very like it, but only for the news editors.

Laguna Loire
Site Director: Laguna's Jukebox (http://jukebox.3dstream.net)
Site Admin: RPGBoards (http://rpgboards.3dstream.net)

They have: 568 posts

Joined: Nov 1999

Yep I own perlshell.com Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.