PC Review


Reply
Thread Tools Rate Thread

Automatically Replace Content

 
 
Jan T.
Guest
Posts: n/a
 
      15th Feb 2004
How can I replace content (cells/tables etc.) on a page or pages with FP
2003 on a scheduled basis?

I tried the "include page based on schedule" but can't get it to work. I
have customers that want their Web updated all the time with this or that
and its getting to be a pain.

Does this require "asp" or some other type of scripting and if so, is there
somewhere someone could direct me to where I can find more information?

Thanks a bunch!


 
Reply With Quote
 
 
 
 
MD Websunlimited
Guest
Posts: n/a
 
      15th Feb 2004
Hi Jan,

The scheduled include requires that you open the FP web and do a recalc hyperlinks. You can do this via a schedule using a Jimco
Addin.

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Stop Spam Email Mining from your web pages with SpamStopper
http://www.websunlimited.com/order/p...r_help_dir.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible

"Jan T." <jan.t(NOSPAM)@willco.net> wrote in message news:(E-Mail Removed)...
> How can I replace content (cells/tables etc.) on a page or pages with FP
> 2003 on a scheduled basis?
>
> I tried the "include page based on schedule" but can't get it to work. I
> have customers that want their Web updated all the time with this or that
> and its getting to be a pain.
>
> Does this require "asp" or some other type of scripting and if so, is there
> somewhere someone could direct me to where I can find more information?
>
> Thanks a bunch!
>
>



 
Reply With Quote
 
Jan T.
Guest
Posts: n/a
 
      15th Feb 2004
Hi Mike,

I tried the Jimco (Publisher) Add-in but couldn't get it to work. Do you
know of another add-in or another method?
"MD Websunlimited" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Jan,
>
> The scheduled include requires that you open the FP web and do a recalc

hyperlinks. You can do this via a schedule using a Jimco
> Addin.
>
> --
> Mike -- FrontPage MVP '97-'02
> http://www.websunlimited.com
> Stop Spam Email Mining from your web pages with SpamStopper
>

http://www.websunlimited.com/order/p...r_help_dir.htm
> FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
>
> "Jan T." <jan.t(NOSPAM)@willco.net> wrote in message

news:(E-Mail Removed)...
> > How can I replace content (cells/tables etc.) on a page or pages with FP
> > 2003 on a scheduled basis?
> >
> > I tried the "include page based on schedule" but can't get it to work. I
> > have customers that want their Web updated all the time with this or

that
> > and its getting to be a pain.
> >
> > Does this require "asp" or some other type of scripting and if so, is

there
> > somewhere someone could direct me to where I can find more information?
> >
> > Thanks a bunch!
> >
> >

>
>



 
Reply With Quote
 
Jim Buyens
Guest
Posts: n/a
 
      15th Feb 2004
Here's a simple example using JavaScript:

<script language="JavaScript">
today = new Date();
chdte = new Date("Feb 15, 2004");
if (today < chdte){
document.write("<img src=../images/old.gif>");
}else{
document.write("<img src=../images/new.gif>");
}
</script>

The "today" and "chdate" variables contain the current
date and the change date. The if statement compares
these, and adds the correct HTML to the page by running
the appropriate document.write statement.

In ASP, you would code something like:

<%If (Now < #2/15/2004# ) Then%>
<img src="../images/old.gif">
<%Else%>
<img src="../images/new"
<%End If%>

You can put whatever HTML you want between the
<%If ... Then%> and the <%Else%>, or between the
<%Else%> and the <%End If%>. Both versions will appear in
the FrontPage editor, but only when when you browse the
page from teh Web server.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------





>-----Original Message-----
>How can I replace content (cells/tables etc.) on a page

or pages with FP
>2003 on a scheduled basis?
>
>I tried the "include page based on schedule" but can't

get it to work. I
>have customers that want their Web updated all the time

with this or that
>and its getting to be a pain.
>
>Does this require "asp" or some other type of scripting

and if so, is there
>somewhere someone could direct me to where I can find

more information?
>
>Thanks a bunch!
>
>
>.
>

 
Reply With Quote
 
Jan T.
Guest
Posts: n/a
 
      15th Feb 2004
Hi Jim,

Thanks for the example, it really helps but this is new to me. Can you
direct me to a book that could help me learn how to schedule various
elements of a Web page at different times and for various durations?
"Jim Buyens" <(E-Mail Removed)> wrote in message
news:10dd401c3f3e0$9ea98700$(E-Mail Removed)...
> Here's a simple example using JavaScript:
>
> <script language="JavaScript">
> today = new Date();
> chdte = new Date("Feb 15, 2004");
> if (today < chdte){
> document.write("<img src=../images/old.gif>");
> }else{
> document.write("<img src=../images/new.gif>");
> }
> </script>
>
> The "today" and "chdate" variables contain the current
> date and the change date. The if statement compares
> these, and adds the correct HTML to the page by running
> the appropriate document.write statement.
>
> In ASP, you would code something like:
>
> <%If (Now < #2/15/2004# ) Then%>
> <img src="../images/old.gif">
> <%Else%>
> <img src="../images/new"
> <%End If%>
>
> You can put whatever HTML you want between the
> <%If ... Then%> and the <%Else%>, or between the
> <%Else%> and the <%End If%>. Both versions will appear in
> the FrontPage editor, but only when when you browse the
> page from teh Web server.
>
> Jim Buyens
> Microsoft FrontPage MVP
> http://www.interlacken.com
> Author of:
> *----------------------------------------------------
> |\---------------------------------------------------
> || Microsoft Office FrontPage 2003 Inside Out
> ||---------------------------------------------------
> || Web Database Development Step by Step .NET Edition
> || Microsoft FrontPage Version 2002 Inside Out
> || Faster Smarter Beginning Programming
> || (All from Microsoft Press)
> |/---------------------------------------------------
> *----------------------------------------------------
>
>
>
>
>
> >-----Original Message-----
> >How can I replace content (cells/tables etc.) on a page

> or pages with FP
> >2003 on a scheduled basis?
> >
> >I tried the "include page based on schedule" but can't

> get it to work. I
> >have customers that want their Web updated all the time

> with this or that
> >and its getting to be a pain.
> >
> >Does this require "asp" or some other type of scripting

> and if so, is there
> >somewhere someone could direct me to where I can find

> more information?
> >
> >Thanks a bunch!
> >
> >
> >.
> >



 
Reply With Quote
 
MD Websunlimited
Guest
Posts: n/a
 
      16th Feb 2004
Jan,

Contact Jimco.

--
Mike -- FrontPage MVP '09 - '02
http://www.websunlimited.com


"Jan T." <jan.t(NOSPAM)@willco.net> wrote in message news:(E-Mail Removed)...
> Hi Mike,
>
> I tried the Jimco (Publisher) Add-in but couldn't get it to work. Do you
> know of another add-in or another method?
> "MD Websunlimited" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi Jan,
> >
> > The scheduled include requires that you open the FP web and do a recalc

> hyperlinks. You can do this via a schedule using a Jimco
> > Addin.
> >
> > --
> > Mike -- FrontPage MVP '97-'02
> > http://www.websunlimited.com
> > Stop Spam Email Mining from your web pages with SpamStopper
> >

> http://www.websunlimited.com/order/p...r_help_dir.htm
> > FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
> >
> > "Jan T." <jan.t(NOSPAM)@willco.net> wrote in message

> news:(E-Mail Removed)...
> > > How can I replace content (cells/tables etc.) on a page or pages with FP
> > > 2003 on a scheduled basis?
> > >
> > > I tried the "include page based on schedule" but can't get it to work. I
> > > have customers that want their Web updated all the time with this or

> that
> > > and its getting to be a pain.
> > >
> > > Does this require "asp" or some other type of scripting and if so, is

> there
> > > somewhere someone could direct me to where I can find more information?
> > >
> > > Thanks a bunch!
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Jim Buyens
Guest
Posts: n/a
 
      16th Feb 2004
Well,

Stupid Web Tricks, MS Press, 1998
Web Database Development Step by Step, MS Press 2000

But as you can see, these books are pretty old. Although this sort of
thing is still new to lots of people, it's hardly cutting-edge stuff.

The same techniques I showed in my previous message work with any type
of HTML tag. I would think that's enough to get you started.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------




"Jan T." <jan.t(NOSPAM)@willco.net> wrote in message news:<u3J6Ej#(E-Mail Removed)>...
> Hi Jim,
>
> Thanks for the example, it really helps but this is new to me. Can you
> direct me to a book that could help me learn how to schedule various
> elements of a Web page at different times and for various durations?
> "Jim Buyens" <(E-Mail Removed)> wrote in message
> news:10dd401c3f3e0$9ea98700$(E-Mail Removed)...
> > Here's a simple example using JavaScript:
> >
> > <script language="JavaScript">
> > today = new Date();
> > chdte = new Date("Feb 15, 2004");
> > if (today < chdte){
> > document.write("<img src=../images/old.gif>");
> > }else{

> document.write("<img src=../images/new.gif>");
> > }
> > </script>
> >
> > The "today" and "chdate" variables contain the current
> > date and the change date. The if statement compares
> > these, and adds the correct HTML to the page by running
> > the appropriate document.write statement.
> >
> > In ASP, you would code something like:
> >
> > <%If (Now < #2/15/2004# ) Then%>
> > <img src="../images/old.gif">
> > <%Else%>
> > <img src="../images/new"
> > <%End If%>
> >
> > You can put whatever HTML you want between the
> > <%If ... Then%> and the <%Else%>, or between the
> > <%Else%> and the <%End If%>. Both versions will appear in
> > the FrontPage editor, but only when when you browse the
> > page from teh Web server.
> >
> > Jim Buyens
> > Microsoft FrontPage MVP
> > http://www.interlacken.com
> > Author of:
> > *----------------------------------------------------
> > |\---------------------------------------------------
> > || Microsoft Office FrontPage 2003 Inside Out
> > ||---------------------------------------------------
> > || Web Database Development Step by Step .NET Edition
> > || Microsoft FrontPage Version 2002 Inside Out
> > || Faster Smarter Beginning Programming
> > || (All from Microsoft Press)
> > |/---------------------------------------------------
> > *----------------------------------------------------
> >
> >
> >
> >
> >
> > >-----Original Message-----
> > >How can I replace content (cells/tables etc.) on a page

> or pages with FP
> > >2003 on a scheduled basis?
> > >
> > >I tried the "include page based on schedule" but can't

> get it to work. I
> > >have customers that want their Web updated all the time

> with this or that
> > >and its getting to be a pain.
> > >
> > >Does this require "asp" or some other type of scripting

> and if so, is there
> > >somewhere someone could direct me to where I can find

> more information?
> > >
> > >Thanks a bunch!
> > >
> > >
> > >.
> > >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace Cell Content Automatically from List Kardon Coupé Microsoft Excel New Users 2 6th Dec 2009 05:23 AM
How do I automatically replace text with predefined content? Kay Microsoft Word Document Management 3 20th Jan 2009 12:08 PM
replace the content of cell Wu Microsoft Excel Misc 3 11th Dec 2007 12:13 PM
HELP: How to replace a cel content with a carriage return? Alex Malvadisco Microsoft Excel Misc 1 5th Oct 2004 10:39 PM
Replace field content DavidW Microsoft Access Form Coding 2 25th Feb 2004 09:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:25 PM.