Author Topic: SSI Latest Posts  (Read 5296 times)

0 Members and 2 Guests are viewing this topic.

Offline tcultice

  • album.pl User
  • *
  • Posts: 16
  • Karma: +0/-0
  • Offical Walleye Junkie
    • ohio-walleye.com
Re: SSI Latest Posts
« Reply #15 on: August 06, 2002, 21:39:00 »
Thats a cool idea!


What type of html tag do you use so your page will auotmaticly show that in the table?



tcultice
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Dino

  • album.pl Donor
  • I Spend Too Much Time Here
  • *****
  • Posts: 250
  • Karma: +5/-0
  • That's actually my childhood cookie jar!
    • Dino's Bulletin Board
Re: SSI Latest Posts
« Reply #16 on: August 07, 2002, 06:34:54 »
<!--#include virtual="/cgi-bin/album/album.pl?album=:recent&ssi=1"-->  

or

<!--#exec cgi="/cgi-bin/album/album.pl?album=:recent&ssi=1"-->  

It all depends on how your server is configured. The top one will usually work for all servers.

However, your html file needs to be saved as an ".shtml" file.

And you'll need at least album v 5.6 for this to work.

Hope it helps.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

"He who seeks the truth must doubt everything."Aristotle
"Extraordinary claims require extraordinary proof."Sagan

Offline tcultice

  • album.pl User
  • *
  • Posts: 16
  • Karma: +0/-0
  • Offical Walleye Junkie
    • ohio-walleye.com
Re: SSI Latest Posts
« Reply #17 on: August 07, 2002, 08:46:38 »
Thanks Dino,

I'll try it.

I'm running 5.7,  I believe I can change the file extention without having to do to much revamping. Right now I have it saved as .html. I'm not up to speed on the difference between the two, What are the differences between .shtml & .html?
By the way I checked out your site last night, sweet site, do you use dreamweaver?

TCultice


Offline Bytes_U

  • album.pl Donor
  • album.pl Contributor
  • ***
  • Posts: 75
  • Karma: +0/-0
  • Oh no... not again?
Re: SSI Latest Posts
« Reply #18 on: August 07, 2002, 12:15:36 »
I'm not a web pro like Dino but I THINK the shtml extension tells the page server that inside this page [example.shtml] is a Server Side Include statement that usually begins with <!--#include virtual=  The statement could tell the server to include info from another page, site or script generated info.
I should have left this for Dino to explain.  :-X  I'm sure I just confused tcultice.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline tcultice

  • album.pl User
  • *
  • Posts: 16
  • Karma: +0/-0
  • Offical Walleye Junkie
    • ohio-walleye.com
Re: SSI Latest Posts
« Reply #19 on: August 07, 2002, 14:14:33 »
lol,

 I was confused way before you replied !


tony
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Dino

  • album.pl Donor
  • I Spend Too Much Time Here
  • *****
  • Posts: 250
  • Karma: +5/-0
  • That's actually my childhood cookie jar!
    • Dino's Bulletin Board
Re: SSI Latest Posts
« Reply #20 on: August 07, 2002, 15:04:33 »
The shtm/shtml extension instructs the server to parse the page: Basically, the server reads the document and parses it (techie word for chops up and looks for special instructions) for directives (another techie word for directions). Therefore, it needs to be executable and writable by the server.

There's lots of tutorials out there on SSI and dynamic pages. Just look up ssi help or shtml help in google. Vast amounts of info. There's a slew of directives available for SSI. Pretty neat stuff... but it does impact server performance, so don't overuse SSI.

Thanks for all the props on the site. I use Dreamweaver pretty exclusively... it's the best editor out there.

"He who seeks the truth must doubt everything."Aristotle
"Extraordinary claims require extraordinary proof."Sagan

Offline tcultice

  • album.pl User
  • *
  • Posts: 16
  • Karma: +0/-0
  • Offical Walleye Junkie
    • ohio-walleye.com
Re: SSI Latest Posts
« Reply #21 on: August 07, 2002, 16:16:17 »