scheduled include using win2k, not linux?

M

.:mmac:.

what do I need to know to add a scheduled include page within a web page
served by win2k server. FP include doesn't work without attention and the
links I have found all speak of using Apache which is linux I believe.
Help? I have a year worth of pages I want to serve without changing a link
every day.
 
T

Tom Pepper Willett

http://support.microsoft.com/default.aspx?scid=kb;en-us;194172
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| what do I need to know to add a scheduled include page within a web page
| served by win2k server. FP include doesn't work without attention and the
| links I have found all speak of using Apache which is linux I believe.
| Help? I have a year worth of pages I want to serve without changing a link
| every day.
|
|
 
M

.:mmac:.

I saw that originally but doesn't it seem a little fragile to have to
schedule a batchfile to run to make this work? Or perhaps thats the only
option?
 
R

Ronx

You could use ASP to schedule Server Side Include pages:
My knowledge of vbScript is limited, but in PseudoCode (you will need to
check the syntax, dates, and translate to vbScript) :

<% If Now()>date("1/3/2005") then %>
<!-- #include file="includes/mar.asp" -->
<% elseif Now()>date("1/2/2005") then %>
<!-- #include file="includes/feb.asp" -->
<% else %>
<!-- #include file="includes/jan.asp" -->
<% endif %>

The included files should not contain the <HTML> tag, <Head> section, or
<<body> tag, nor the corresponding closing tags.

The pages using the includes will also need to be .asp pages, which means
that FrontPage run time components (Forms, Hit Counters) will not function
on them.
 
M

.:mmac:.

Hmmm, that sounds like a grand idea... Thanks, I'll try that
It would make it scriptable too. Better still!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top