Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: SSI  (Read 455 times)
0 Members and 1 Guest are viewing this topic.
Chris
Guest
SSI
« on: January 05, 2003, 12:38:00 AM »

I am pleased to say I have CS up and running and customized to my liking on my site. What a GREAT package....kudos!!

I would now like to take a plunge and dabble in some SSI to do something similar to what was done on this site by David at http://www.austinUU.org  where "events of the week" are displayed using SSI.

I would really appreciate it if someone can tell me how this was done or point me to a post or tutorial that shows how to set this up. Pointing me to code examples would also be very useful.

Best regards
Chris

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
SSI
« Reply #1 on: January 05, 2003, 02:05:00 PM »

Using SSI with CalendarScript is covered in the previous forum message "Having trouble with SSI" which is found linked from the Unofficial CalendarScript - Mods and Plugins site along with SSI templates and links to other SSI related topics.

Dan O.

------------------

Logged
Chris
Guest
SSI
« Reply #2 on: January 05, 2003, 06:48:00 PM »

Dan,
Don't take this wrong way becuase I really appreciate the help....I find some of these references you have pointed to are so diluted with debugging questions / comments back and forth that it's darn near impossible to discern how to actually do it or how it was done. Sigh! ;-)

Boy if somebody could just take a little time and put together a clean "look...here's exactly what you do....step1....step 2.....step3..." example I am certain a lot of time could be saved on your part.

I think there is enough interest here for it to be of value to all. And if nobody does and I ever figure it out I would certainly document it for all to benefit from. ;-)

Regards
Chris

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
SSI
« Reply #3 on: January 05, 2003, 08:39:00 PM »

From "Having trouble with SSI":
quote:
1. You put the SSI call to the calendar.pl file **in your home page's code** [or whichever page you want the calendar results to display on]

2. You make sure that **that page** has an .shtml file name ending. [(so your server knows to parse it for SSI tags)]

3. You modify the ssi.txt file with the data you want the calendar to use [(duration, template, etc.)]. Meaning, normally the template=... will point to the template you want included into your main page (usually ssi.html unless you've changed it).

That's it!


You can modify the ssi.html file as you see fit to produce the format you prefer. Or you can use one of the SSI templates available at the Mods and Plugins' site or the discussions liked there of other display possibilities.

If you want to use the exact template that other site used, try contacting the webmaster there and asking if he'll give it to you. But IMO, you'll get a lot more out of this script if you learn to do it yourself.

JMO

Dan O.

------------------

Logged
yullah
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
SSI
« Reply #4 on: February 19, 2003, 02:24:00 PM »

is it possible to post events from my calendar using SSI to other domain names?

for example, could i make a page that says "get our events on your website" and supply a few lines of code for webmasters to include on thier site that will call up my SSI on thier site, then allow thier users to click through these gerenated links to my website?

i've tried using

<!--#exec cgi="http://www.yullah.com/cgi-local/calendar.pl?template=weekssi.shtml" -->

but i'm not sure if the actual website addess will work for this...

this code did not work for me on a somain seperate from the one on which the calendar is hosted...

any ideas???

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
SSI
« Reply #5 on: February 19, 2003, 04:19:00 PM »

** is it possible to post events from my calendar using SSI to other domain names? **

No. SSI can only call local files.

** any ideas? **

If you have PHP or Perl available on that other server, you can read the CalendarScript output using a script in one of those languages and then call that script via SSI to included its output into your pages.

Or you could include the CalendarScript output into the pages of the other site using HTML frames or iframe.

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: