scheduled page include not working properly

T

Toni

Hi,
I am working with a FP2002 site. The site has tables and
I have a scheduled included page set up on many pages
within tables. The server is running the latest SEs.

The scheduled page links to an outside stream. The
scheduled content will not automatically start. However,
if I go into FP editor and open the page, I can see the
scheduled content is open. I hit the SAVE button, and
then go back to the live site and click the browser
refresh, the included page opens and the live stream
comes through beautifully.

But then it doesn't close like it should. I have a
refresh metatag in the pages. The refresh kicks in like
it is supposed to, but the scheduled page still shows up -
- it doesn't disappear like it should as scheduled.

Anyone have any ideas how I can get these scheduled
includes to work properly?

Any help is greatly appreciated!!

Toni D.
 
T

Thomas A. Rowe

The Schedule Includes require that you edit the page in the site or run
Tools | Recalculate Hyperlink right after the schedule time for the change
to take place.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
T

Toni D.

Oh. Well, darn :(
I thought the point of that component was to automate so one didn't have to
manually make it open. Thus the "scheduling" feature . Thanks for the info,
I appreciate it. At least now I know it's not what it appears to be.
Toni D.
 
T

Toni D.

Does anyone happen to have a good script that they would like to share to
help me accomplish my goal of setting up scheduled pages to open and close
according to date and time and not have to refresh a page? I've looked at
javascript, and can find an auto close script (pop up script that will stay
open for any number of seconds), but nothing that lets me open it on a
certain date and time, only on page load. Any advice?

Thanks in advance,
Toni D.
 
T

Thomas A. Rowe

Requires a custom server-side application written in ASP, PHP or Perl, etc.
to accomplish.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
P

Peter N Roth

How about ... hmm... OTTOMH ...
a database with date, time, scriptname
fields. Query the database, and run scripts
that are returned per your criteria?

You may have to write a little script that
writes scripts, which are then Server.Execute-d
 
S

Stefan B Rusynko

Use the scheduled include pages and get the JIMCO Publisher to Open your FP online web & recalc the hyperlinks links at scheduled
intervals
See http://www.jimcoaddins.com/

--



| How about ... hmm... OTTOMH ...
| a database with date, time, scriptname
| fields. Query the database, and run scripts
| that are returned per your criteria?
|
| You may have to write a little script that
| writes scripts, which are then Server.Execute-d
|
| --
| Grace + Peace,
| Peter N Roth
| Engineering Objects International
| http://engineeringobjects.com
|
|
| | > Does anyone happen to have a good script that they would like to share to
| > help me accomplish my goal of setting up scheduled pages to open and close
| > according to date and time and not have to refresh a page? I've looked at
| > javascript, and can find an auto close script (pop up script that will
| stay
| > open for any number of seconds), but nothing that lets me open it on a
| > certain date and time, only on page load. Any advice?
| >
| > Thanks in advance,
| > Toni D.
| >
| > | > > The Schedule Includes require that you edit the page in the site or run
| > > Tools | Recalculate Hyperlink right after the schedule time for the
| change
| > > to take place.
| > >
| > > --
| > >
| > > ==============================================
| > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > > WEBMASTER Resources(tm)
| > >
| > > FrontPage Resources, Forums, WebCircle,
| > > MS KB Quick Links, etc.
| > > ==============================================
| > > To assist you in getting the best answers for FrontPage support see:
| > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > >
| > > | > > > Hi,
| > > > I am working with a FP2002 site. The site has tables and
| > > > I have a scheduled included page set up on many pages
| > > > within tables. The server is running the latest SEs.
| > > >
| > > > The scheduled page links to an outside stream. The
| > > > scheduled content will not automatically start. However,
| > > > if I go into FP editor and open the page, I can see the
| > > > scheduled content is open. I hit the SAVE button, and
| > > > then go back to the live site and click the browser
| > > > refresh, the included page opens and the live stream
| > > > comes through beautifully.
| > > >
| > > > But then it doesn't close like it should. I have a
| > > > refresh metatag in the pages. The refresh kicks in like
| > > > it is supposed to, but the scheduled page still shows up -
| > > > - it doesn't disappear like it should as scheduled.
| > > >
| > > > Anyone have any ideas how I can get these scheduled
| > > > includes to work properly?
| > > >
| > > > Any help is greatly appreciated!!
| > > >
| > > > Toni D.
| > >
| > >
| >
| >
|
|
 
T

Toni D.

Hi,
Thanks all for your suggestions. I did visit jimcoaddins and downloaded and
installed the Publisher. What a nifty little program. Just wish I could use
it for this problem.

It doesn't allow me to create multiple schedules for the same site and it
runs in 15 minute intervals. I need minute by minute with multiple schedules
for the same site since, if I understand this correctly, the links need to
be recalculated after each start time of each scheduled included page.

On the other replies about writing scripts and programs ... there's no way
in the world I'd ever accomplish those tricks, I don't know how and can't
afford a magic hat.

I do appreciate your time. I'm in awe going thru the newsgroup posts and
perusing all the knowledge contained here.

Thanks anyway,
Toni D.


Stefan B Rusynko said:
Use the scheduled include pages and get the JIMCO Publisher to Open your
FP online web & recalc the hyperlinks links at scheduled
 
S

Stefan B Rusynko

You probably could do it w/ the Jimco Publisher (but I don't recommend it)
- add New Schedules as separate events for each time (using the same web)

But if you want something to change every 15 min you will probably "overload" your server doing it that way

Just go to http://javascript.internet.com/ and you will probably find a script for what you are trying to do
--



| Hi,
| Thanks all for your suggestions. I did visit jimcoaddins and downloaded and
| installed the Publisher. What a nifty little program. Just wish I could use
| it for this problem.
|
| It doesn't allow me to create multiple schedules for the same site and it
| runs in 15 minute intervals. I need minute by minute with multiple schedules
| for the same site since, if I understand this correctly, the links need to
| be recalculated after each start time of each scheduled included page.
|
| On the other replies about writing scripts and programs ... there's no way
| in the world I'd ever accomplish those tricks, I don't know how and can't
| afford a magic hat.
|
| I do appreciate your time. I'm in awe going thru the newsgroup posts and
| perusing all the knowledge contained here.
|
| Thanks anyway,
| Toni D.
|
|
| | > Use the scheduled include pages and get the JIMCO Publisher to Open your
| FP online web & recalc the hyperlinks links at scheduled
| > intervals
| > See http://www.jimcoaddins.com/
| >
| > --
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| | > | How about ... hmm... OTTOMH ...
| > | a database with date, time, scriptname
| > | fields. Query the database, and run scripts
| > | that are returned per your criteria?
| > |
| > | You may have to write a little script that
| > | writes scripts, which are then Server.Execute-d
| > |
| > | --
| > | Grace + Peace,
| > | Peter N Roth
| > | Engineering Objects International
| > | http://engineeringobjects.com
| > |
| > |
| > | | > | > Does anyone happen to have a good script that they would like to share
| to
| > | > help me accomplish my goal of setting up scheduled pages to open and
| close
| > | > according to date and time and not have to refresh a page? I've looked
| at
| > | > javascript, and can find an auto close script (pop up script that will
| > | stay
| > | > open for any number of seconds), but nothing that lets me open it on a
| > | > certain date and time, only on page load. Any advice?
| > | >
| > | > Thanks in advance,
| > | > Toni D.
| > | >
| > | > | > | > > The Schedule Includes require that you edit the page in the site or
| run
| > | > > Tools | Recalculate Hyperlink right after the schedule time for the
| > | change
| > | > > to take place.
| > | > >
| > | > > --
| > | > >
| > | > > ==============================================
| > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > | > > WEBMASTER Resources(tm)
| > | > >
| > | > > FrontPage Resources, Forums, WebCircle,
| > | > > MS KB Quick Links, etc.
| > | > > ==============================================
| > | > > To assist you in getting the best answers for FrontPage support see:
| > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > >
| > | > > | > | > > > Hi,
| > | > > > I am working with a FP2002 site. The site has tables and
| > | > > > I have a scheduled included page set up on many pages
| > | > > > within tables. The server is running the latest SEs.
| > | > > >
| > | > > > The scheduled page links to an outside stream. The
| > | > > > scheduled content will not automatically start. However,
| > | > > > if I go into FP editor and open the page, I can see the
| > | > > > scheduled content is open. I hit the SAVE button, and
| > | > > > then go back to the live site and click the browser
| > | > > > refresh, the included page opens and the live stream
| > | > > > comes through beautifully.
| > | > > >
| > | > > > But then it doesn't close like it should. I have a
| > | > > > refresh metatag in the pages. The refresh kicks in like
| > | > > > it is supposed to, but the scheduled page still shows up -
| > | > > > - it doesn't disappear like it should as scheduled.
| > | > > >
| > | > > > Anyone have any ideas how I can get these scheduled
| > | > > > includes to work properly?
| > | > > >
| > | > > > Any help is greatly appreciated!!
| > | > > >
| > | > > > Toni D.
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
T

Toni D.

Hi,
I tried separate events in JimCo Publisher for the same site. Instead of
holding my settings to recalculate the web at different times, the program
made the events all the same time, which means I can only schedule one event
per web for different times on the same days.

It's not that I want to schedule every 15 minutes, it's that the broadcasts
are scheduled at odd minutes of the hours.

Thanks,
Toni D.

Stefan B Rusynko said:
You probably could do it w/ the Jimco Publisher (but I don't recommend it)
- add New Schedules as separate events for each time (using the same web)

But if you want something to change every 15 min you will probably
"overload" your server doing it that way
Just go to http://javascript.internet.com/ and you will probably find a
script for what you are trying to do
--



| Hi,
| Thanks all for your suggestions. I did visit jimcoaddins and downloaded and
| installed the Publisher. What a nifty little program. Just wish I could use
| it for this problem.
|
| It doesn't allow me to create multiple schedules for the same site and it
| runs in 15 minute intervals. I need minute by minute with multiple schedules
| for the same site since, if I understand this correctly, the links need to
| be recalculated after each start time of each scheduled included page.
|
| On the other replies about writing scripts and programs ... there's no way
| in the world I'd ever accomplish those tricks, I don't know how and can't
| afford a magic hat.
|
| I do appreciate your time. I'm in awe going thru the newsgroup posts and
| perusing all the knowledge contained here.
|
| Thanks anyway,
| Toni D.
|
|
| | > Use the scheduled include pages and get the JIMCO Publisher to Open your
| FP online web & recalc the hyperlinks links at scheduled
| > intervals
| > See http://www.jimcoaddins.com/
| >
| > --
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| | > | How about ... hmm... OTTOMH ...
| > | a database with date, time, scriptname
| > | fields. Query the database, and run scripts
| > | that are returned per your criteria?
| > |
| > | You may have to write a little script that
| > | writes scripts, which are then Server.Execute-d
| > |
| > | --
| > | Grace + Peace,
| > | Peter N Roth
| > | Engineering Objects International
| > | http://engineeringobjects.com
| > |
| > |
| > | | > | > Does anyone happen to have a good script that they would like to share
| to
| > | > help me accomplish my goal of setting up scheduled pages to open and
| close
| > | > according to date and time and not have to refresh a page? I've looked
| at
| > | > javascript, and can find an auto close script (pop up script that will
| > | stay
| > | > open for any number of seconds), but nothing that lets me open it on a
| > | > certain date and time, only on page load. Any advice?
| > | >
| > | > Thanks in advance,
| > | > Toni D.
| > | >
| > | > | > | > > The Schedule Includes require that you edit the page in the site or
| run
| > | > > Tools | Recalculate Hyperlink right after the schedule time for the
| > | change
| > | > > to take place.
| > | > >
| > | > > --
| > | > >
| > | > > ==============================================
| > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > | > > WEBMASTER Resources(tm)
| > | > >
| > | > > FrontPage Resources, Forums, WebCircle,
| > | > > MS KB Quick Links, etc.
| > | > > ==============================================
| > | > > To assist you in getting the best answers for FrontPage support see:
| > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > >
| > | > > | > | > > > Hi,
| > | > > > I am working with a FP2002 site. The site has tables and
| > | > > > I have a scheduled included page set up on many pages
| > | > > > within tables. The server is running the latest SEs.
| > | > > >
| > | > > > The scheduled page links to an outside stream. The
| > | > > > scheduled content will not automatically start. However,
| > | > > > if I go into FP editor and open the page, I can see the
| > | > > > scheduled content is open. I hit the SAVE button, and
| > | > > > then go back to the live site and click the browser
| > | > > > refresh, the included page opens and the live stream
| > | > > > comes through beautifully.
| > | > > >
| > | > > > But then it doesn't close like it should. I have a
| > | > > > refresh metatag in the pages. The refresh kicks in like
| > | > > > it is supposed to, but the scheduled page still shows up -
| > | > > > - it doesn't disappear like it should as scheduled.
| > | > > >
| > | > > > Anyone have any ideas how I can get these scheduled
| > | > > > includes to work properly?
| > | > > >
| > | > > > Any help is greatly appreciated!!
| > | > > >
| > | > > > Toni D.
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
T

Toni D.

I worded that incorrectly, sorry. What I mean to say is Jimco Publisher will
not allow scheduling a recalculate at different times on same days. You can
set a daily or weekly schedule, but you only get to set one time.
Example:
I schedule a recalculate for the web at 7:00 am M-F
I schedule another recalculate for that same web for 8:00 am M-F
I schedule another recalculate for the same web for 9:00 am M-F
The window shows as three different events, but when you highlight them to
look at the properties, they are all set to the last event created -- 9:00
am M-F -- instead of 7:00, 8:00 and 9:00.

Toni D.

Toni D. said:
Hi,
I tried separate events in JimCo Publisher for the same site. Instead of
holding my settings to recalculate the web at different times, the program
made the events all the same time, which means I can only schedule one event
per web for different times on the same days.

It's not that I want to schedule every 15 minutes, it's that the broadcasts
are scheduled at odd minutes of the hours.

Thanks,
Toni D.

Stefan B Rusynko said:
You probably could do it w/ the Jimco Publisher (but I don't recommend it)
- add New Schedules as separate events for each time (using the same web)

But if you want something to change every 15 min you will probably
"overload" your server doing it that way
Just go to http://javascript.internet.com/ and you will probably find a
script for what you are trying to do
--



| Hi,
| Thanks all for your suggestions. I did visit jimcoaddins and
downloaded
and
| installed the Publisher. What a nifty little program. Just wish I
could
use
| it for this problem.
|
| It doesn't allow me to create multiple schedules for the same site and it
| runs in 15 minute intervals. I need minute by minute with multiple schedules
| for the same site since, if I understand this correctly, the links
need
to
| be recalculated after each start time of each scheduled included page.
|
| On the other replies about writing scripts and programs ... there's no way
| in the world I'd ever accomplish those tricks, I don't know how and can't
| afford a magic hat.
|
| I do appreciate your time. I'm in awe going thru the newsgroup posts and
| perusing all the knowledge contained here.
|
| Thanks anyway,
| Toni D.
|
|
| | > Use the scheduled include pages and get the JIMCO Publisher to Open your
| FP online web & recalc the hyperlinks links at scheduled
| > intervals
| > See http://www.jimcoaddins.com/
| >
| > --
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| | > | How about ... hmm... OTTOMH ...
| > | a database with date, time, scriptname
| > | fields. Query the database, and run scripts
| > | that are returned per your criteria?
| > |
| > | You may have to write a little script that
| > | writes scripts, which are then Server.Execute-d
| > |
| > | --
| > | Grace + Peace,
| > | Peter N Roth
| > | Engineering Objects International
| > | http://engineeringobjects.com
| > |
| > |
| > | | > | > Does anyone happen to have a good script that they would like to share
| to
| > | > help me accomplish my goal of setting up scheduled pages to open and
| close
| > | > according to date and time and not have to refresh a page? I've looked
| at
| > | > javascript, and can find an auto close script (pop up script
that
will
| > | stay
| > | > open for any number of seconds), but nothing that lets me open
it
on a
| > | > certain date and time, only on page load. Any advice?
| > | >
| > | > Thanks in advance,
| > | > Toni D.
| > | >
| > | > | > | > > The Schedule Includes require that you edit the page in the
site
or
| run
| > | > > Tools | Recalculate Hyperlink right after the schedule time
for
the
| > | change
| > | > > to take place.
| > | > >
| > | > > --
| > | > >
| > | > > ==============================================
| > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > | > > WEBMASTER Resources(tm)
| > | > >
| > | > > FrontPage Resources, Forums, WebCircle,
| > | > > MS KB Quick Links, etc.
| > | > > ==============================================
| > | > > To assist you in getting the best answers for FrontPage
support
see:
| > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > >
| > | > > | > | > > > Hi,
| > | > > > I am working with a FP2002 site. The site has tables and
| > | > > > I have a scheduled included page set up on many pages
| > | > > > within tables. The server is running the latest SEs.
| > | > > >
| > | > > > The scheduled page links to an outside stream. The
| > | > > > scheduled content will not automatically start. However,
| > | > > > if I go into FP editor and open the page, I can see the
| > | > > > scheduled content is open. I hit the SAVE button, and
| > | > > > then go back to the live site and click the browser
| > | > > > refresh, the included page opens and the live stream
| > | > > > comes through beautifully.
| > | > > >
| > | > > > But then it doesn't close like it should. I have a
| > | > > > refresh metatag in the pages. The refresh kicks in like
| > | > > > it is supposed to, but the scheduled page still shows up -
| > | > > > - it doesn't disappear like it should as scheduled.
| > | > > >
| > | > > > Anyone have any ideas how I can get these scheduled
| > | > > > includes to work properly?
| > | > > >
| > | > > > Any help is greatly appreciated!!
| > | > > >
| > | > > > Toni D.
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
S

Stefan B Rusynko

Try contacting Jimcp (at his site) to see if that is an expected behavior

--



| I worded that incorrectly, sorry. What I mean to say is Jimco Publisher will
| not allow scheduling a recalculate at different times on same days. You can
| set a daily or weekly schedule, but you only get to set one time.
| Example:
| I schedule a recalculate for the web at 7:00 am M-F
| I schedule another recalculate for that same web for 8:00 am M-F
| I schedule another recalculate for the same web for 9:00 am M-F
| The window shows as three different events, but when you highlight them to
| look at the properties, they are all set to the last event created -- 9:00
| am M-F -- instead of 7:00, 8:00 and 9:00.
|
| Toni D.
|
| | > Hi,
| > I tried separate events in JimCo Publisher for the same site. Instead of
| > holding my settings to recalculate the web at different times, the program
| > made the events all the same time, which means I can only schedule one
| event
| > per web for different times on the same days.
| >
| > It's not that I want to schedule every 15 minutes, it's that the
| broadcasts
| > are scheduled at odd minutes of the hours.
| >
| > Thanks,
| > Toni D.
| >
| > | > > You probably could do it w/ the Jimco Publisher (but I don't recommend
| it)
| > > - add New Schedules as separate events for each time (using the same
| web)
| > >
| > > But if you want something to change every 15 min you will probably
| > "overload" your server doing it that way
| > >
| > > Just go to http://javascript.internet.com/ and you will probably find a
| > script for what you are trying to do
| > > --
| > > _____________________________________________
| > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > > "Warning - Using the F1 Key will not break anything!" (-;
| > > To find the best Newsgroup for FrontPage support see:
| > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > _____________________________________________
| > >
| > >
| > | > > | Hi,
| > > | Thanks all for your suggestions. I did visit jimcoaddins and
| downloaded
| > and
| > > | installed the Publisher. What a nifty little program. Just wish I
| could
| > use
| > > | it for this problem.
| > > |
| > > | It doesn't allow me to create multiple schedules for the same site and
| > it
| > > | runs in 15 minute intervals. I need minute by minute with multiple
| > schedules
| > > | for the same site since, if I understand this correctly, the links
| need
| > to
| > > | be recalculated after each start time of each scheduled included page.
| > > |
| > > | On the other replies about writing scripts and programs ... there's no
| > way
| > > | in the world I'd ever accomplish those tricks, I don't know how and
| > can't
| > > | afford a magic hat.
| > > |
| > > | I do appreciate your time. I'm in awe going thru the newsgroup posts
| and
| > > | perusing all the knowledge contained here.
| > > |
| > > | Thanks anyway,
| > > | Toni D.
| > > |
| > > |
| > > | | > > | > Use the scheduled include pages and get the JIMCO Publisher to Open
| > your
| > > | FP online web & recalc the hyperlinks links at scheduled
| > > | > intervals
| > > | > See http://www.jimcoaddins.com/
| > > | >
| > > | > --
| > > | > _____________________________________________
| > > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > > | > "Warning - Using the F1 Key will not break anything!" (-;
| > > | > To find the best Newsgroup for FrontPage support see:
| > > | > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > | > _____________________________________________
| > > | >
| > > | >
| > > | | > > | > | How about ... hmm... OTTOMH ...
| > > | > | a database with date, time, scriptname
| > > | > | fields. Query the database, and run scripts
| > > | > | that are returned per your criteria?
| > > | > |
| > > | > | You may have to write a little script that
| > > | > | writes scripts, which are then Server.Execute-d
| > > | > |
| > > | > | --
| > > | > | Grace + Peace,
| > > | > | Peter N Roth
| > > | > | Engineering Objects International
| > > | > | http://engineeringobjects.com
| > > | > |
| > > | > |
| > > | > | | > > | > | > Does anyone happen to have a good script that they would like to
| > share
| > > | to
| > > | > | > help me accomplish my goal of setting up scheduled pages to open
| > and
| > > | close
| > > | > | > according to date and time and not have to refresh a page? I've
| > looked
| > > | at
| > > | > | > javascript, and can find an auto close script (pop up script
| that
| > will
| > > | > | stay
| > > | > | > open for any number of seconds), but nothing that lets me open
| it
| > on a
| > > | > | > certain date and time, only on page load. Any advice?
| > > | > | >
| > > | > | > Thanks in advance,
| > > | > | > Toni D.
| > > | > | >
| > > | > | > | > > | > | > > The Schedule Includes require that you edit the page in the
| site
| > or
| > > | run
| > > | > | > > Tools | Recalculate Hyperlink right after the schedule time
| for
| > the
| > > | > | change
| > > | > | > > to take place.
| > > | > | > >
| > > | > | > > --
| > > | > | > >
| > > | > | > > ==============================================
| > > | > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > > | > | > > WEBMASTER Resources(tm)
| > > | > | > >
| > > | > | > > FrontPage Resources, Forums, WebCircle,
| > > | > | > > MS KB Quick Links, etc.
| > > | > | > > ==============================================
| > > | > | > > To assist you in getting the best answers for FrontPage
| support
| > see:
| > > | > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > | > | > >
| > > | > | > > | > > | > | > > > Hi,
| > > | > | > > > I am working with a FP2002 site. The site has tables and
| > > | > | > > > I have a scheduled included page set up on many pages
| > > | > | > > > within tables. The server is running the latest SEs.
| > > | > | > > >
| > > | > | > > > The scheduled page links to an outside stream. The
| > > | > | > > > scheduled content will not automatically start. However,
| > > | > | > > > if I go into FP editor and open the page, I can see the
| > > | > | > > > scheduled content is open. I hit the SAVE button, and
| > > | > | > > > then go back to the live site and click the browser
| > > | > | > > > refresh, the included page opens and the live stream
| > > | > | > > > comes through beautifully.
| > > | > | > > >
| > > | > | > > > But then it doesn't close like it should. I have a
| > > | > | > > > refresh metatag in the pages. The refresh kicks in like
| > > | > | > > > it is supposed to, but the scheduled page still shows up -
| > > | > | > > > - it doesn't disappear like it should as scheduled.
| > > | > | > > >
| > > | > | > > > Anyone have any ideas how I can get these scheduled
| > > | > | > > > includes to work properly?
| > > | > | > > >
| > > | > | > > > Any help is greatly appreciated!!
| > > | > | > > >
| > > | > | > > > Toni D.
| > > | > | > >
| > > | > | > >
| > > | > | >
| > > | > | >
| > > | > |
| > > | > |
| > > | >
| > > | >
| > > |
| > > |
| > >
| > >
| >
| >
|
|
 
T

Toni D.

Okay, I'll do that. I went ahead and tested to recalculate only to see if it
would work with Scheduled Included Page and it didn't :(
Recalculating links doesn't do it, I am forced to manually open and save the
page.

I did find a javascript where content will be displayed between go live date
and expire date. I am wondering if there is a possible solution by revising.
Does anyone know how the javascript below could be revised to include a go
live hh:mm:ss and expire hh:mm:ss ??

=== Here's the description of the javascript and the code - any input is
appreciated ===
Content will only be displayed between the 'Go Live' date and the 'Expires'
date. Great for promotions that start on a certain date, and end on another
date. Works in MSIE only.


<!-- ONE STEP TO INSTALL AUTO EXPIRE:

1. Copy the coding into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the BODY of your HTML document -->

<BODY>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Don Demrow -->

<!-- Begin
// Set the dates below
var goLiveDate = "20030613";
var expireDate = "20101015";

var expireYear = expireDate.substring(0,4)
var expireMonth = expireDate.slice(4,-2)
var expireDay = expireDate.slice(6)
var liveYear = goLiveDate.substring(0,4)
var liveMonth = goLiveDate.slice(4,-2)
var liveDay = goLiveDate.slice(6)
var nowDate = new Date();
var day = nowDate.getUTCDate();
var month = nowDate.getUTCMonth();
var month1 = month + 1;
if (month1 < 10)
{
month1 = "0" + month1;
}
if (day < 10)
{
day = "0" + day;
}
var year = nowDate.getYear();
var GMTdate = year + "" + month1 + "" + day
if ((GMTdate < expireDate) && (GMTdate >= goLiveDate))
{

// Insert the text you want displayed below
document.write("<div align='center'><b>This content appeared on " +
liveMonth + "/" + liveDay + "/" + liveYear + "<br>and will disappear on " +
expireMonth + "/" + expireDay + "/" + expireYear +".</b></div>")

}
// End -->
</script>


<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 1.45 KB -->



Stefan B Rusynko said:
Try contacting Jimcp (at his site) to see if that is an expected behavior

--



| I worded that incorrectly, sorry. What I mean to say is Jimco Publisher will
| not allow scheduling a recalculate at different times on same days. You can
| set a daily or weekly schedule, but you only get to set one time.
| Example:
| I schedule a recalculate for the web at 7:00 am M-F
| I schedule another recalculate for that same web for 8:00 am M-F
| I schedule another recalculate for the same web for 9:00 am M-F
| The window shows as three different events, but when you highlight them to
| look at the properties, they are all set to the last event created -- 9:00
| am M-F -- instead of 7:00, 8:00 and 9:00.
|
| Toni D.
|
| | > Hi,
| > I tried separate events in JimCo Publisher for the same site. Instead of
| > holding my settings to recalculate the web at different times, the program
| > made the events all the same time, which means I can only schedule one
| event
| > per web for different times on the same days.
| >
| > It's not that I want to schedule every 15 minutes, it's that the
| broadcasts
| > are scheduled at odd minutes of the hours.
| >
| > Thanks,
| > Toni D.
| >
| > | > > You probably could do it w/ the Jimco Publisher (but I don't recommend
| it)
| > > - add New Schedules as separate events for each time (using the same
| web)
| > >
| > > But if you want something to change every 15 min you will probably
| > "overload" your server doing it that way
| > >
| > > Just go to http://javascript.internet.com/ and you will probably find a
| > script for what you are trying to do
| > > --
| > > _____________________________________________
| > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > > "Warning - Using the F1 Key will not break anything!" (-;
| > > To find the best Newsgroup for FrontPage support see:
| > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > _____________________________________________
| > >
| > >
| > | > > | Hi,
| > > | Thanks all for your suggestions. I did visit jimcoaddins and
| downloaded
| > and
| > > | installed the Publisher. What a nifty little program. Just wish I
| could
| > use
| > > | it for this problem.
| > > |
| > > | It doesn't allow me to create multiple schedules for the same site and
| > it
| > > | runs in 15 minute intervals. I need minute by minute with multiple
| > schedules
| > > | for the same site since, if I understand this correctly, the links
| need
| > to
| > > | be recalculated after each start time of each scheduled included page.
| > > |
| > > | On the other replies about writing scripts and programs ... there's no
| > way
| > > | in the world I'd ever accomplish those tricks, I don't know how and
| > can't
| > > | afford a magic hat.
| > > |
| > > | I do appreciate your time. I'm in awe going thru the newsgroup posts
| and
| > > | perusing all the knowledge contained here.
| > > |
| > > | Thanks anyway,
| > > | Toni D.
| > > |
| > > |
| > > | | > > | > Use the scheduled include pages and get the JIMCO Publisher to Open
| > your
| > > | FP online web & recalc the hyperlinks links at scheduled
| > > | > intervals
| > > | > See http://www.jimcoaddins.com/
| > > | >
| > > | > --
| > > | > _____________________________________________
| > > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > > | > "Warning - Using the F1 Key will not break anything!" (-;
| > > | > To find the best Newsgroup for FrontPage support see:
| > > | > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > | > _____________________________________________
| > > | >
| > > | >
| > > | | > > | > | How about ... hmm... OTTOMH ...
| > > | > | a database with date, time, scriptname
| > > | > | fields. Query the database, and run scripts
| > > | > | that are returned per your criteria?
| > > | > |
| > > | > | You may have to write a little script that
| > > | > | writes scripts, which are then Server.Execute-d
| > > | > |
| > > | > | --
| > > | > | Grace + Peace,
| > > | > | Peter N Roth
| > > | > | Engineering Objects International
| > > | > | http://engineeringobjects.com
| > > | > |
| > > | > |
| > > | > | | > > | > | > Does anyone happen to have a good script that they would like to
| > share
| > > | to
| > > | > | > help me accomplish my goal of setting up scheduled pages to open
| > and
| > > | close
| > > | > | > according to date and time and not have to refresh a page? I've
| > looked
| > > | at
| > > | > | > javascript, and can find an auto close script (pop up script
| that
| > will
| > > | > | stay
| > > | > | > open for any number of seconds), but nothing that lets me open
| it
| > on a
| > > | > | > certain date and time, only on page load. Any advice?
| > > | > | >
| > > | > | > Thanks in advance,
| > > | > | > Toni D.
| > > | > | >
| > > | > | > | > > | > | > > The Schedule Includes require that you edit the page in the
| site
| > or
| > > | run
| > > | > | > > Tools | Recalculate Hyperlink right after the schedule time
| for
| > the
| > > | > | change
| > > | > | > > to take place.
| > > | > | > >
| > > | > | > > --
| > > | > | > >
| > > | > | > > ==============================================
| > > | > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > > | > | > > WEBMASTER Resources(tm)
| > > | > | > >
| > > | > | > > FrontPage Resources, Forums, WebCircle,
| > > | > | > > MS KB Quick Links, etc.
| > > | > | > > ==============================================
| > > | > | > > To assist you in getting the best answers for FrontPage
| support
| > see:
| > > | > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > | > | > >
| > > | > | > > | > > | > | > > > Hi,
| > > | > | > > > I am working with a FP2002 site. The site has tables and
| > > | > | > > > I have a scheduled included page set up on many pages
| > > | > | > > > within tables. The server is running the latest SEs.
| > > | > | > > >
| > > | > | > > > The scheduled page links to an outside stream. The
| > > | > | > > > scheduled content will not automatically start. However,
| > > | > | > > > if I go into FP editor and open the page, I can see the
| > > | > | > > > scheduled content is open. I hit the SAVE button, and
| > > | > | > > > then go back to the live site and click the browser
| > > | > | > > > refresh, the included page opens and the live stream
| > > | > | > > > comes through beautifully.
| > > | > | > > >
| > > | > | > > > But then it doesn't close like it should. I have a
| > > | > | > > > refresh metatag in the pages. The refresh kicks in like
| > > | > | > > > it is supposed to, but the scheduled page still shows up -
| > > | > | > > > - it doesn't disappear like it should as scheduled.
| > > | > | > > >
| > > | > | > > > Anyone have any ideas how I can get these scheduled
| > > | > | > > > includes to work properly?
| > > | > | > > >
| > > | > | > > > Any help is greatly appreciated!!
| > > | > | > > >
| > > | > | > > > Toni D.
| > > | > | > >
| > > | > | > >
| > > | > | >
| > > | > | >
| > > | > |
| > > | > |
| > > | >
| > > | >
| > > |
| > > |
| > >
| > >
| >
| >
|
|
 
S

Stefan B Rusynko

You can modify the below to suit your needs

<script language="JavaScript"><!-- Begin
var theDate = new Date(); // today
var expireDate = new Date("Sep 15 2003 10:00:00"); // Expiration date
var startDate = new Date("Sep 15 2002 5:00:00"); // Start Message date
function notices() {
if (theDate.getTime() < startDate.getTime()) {
// before Start date / time
// Insert the text you want displayed below;
} else {
if (theDate.getTime() < expireDate.getTime()) {
// before Expiration date / time
// Insert the text you want displayed below;
} else {
// after Expiration date / time
// Insert the text you want displayed below;
}; }; };
// End -->
</script>

--



| Okay, I'll do that. I went ahead and tested to recalculate only to see if it
| would work with Scheduled Included Page and it didn't :(
| Recalculating links doesn't do it, I am forced to manually open and save the
| page.
|
| I did find a javascript where content will be displayed between go live date
| and expire date. I am wondering if there is a possible solution by revising.
| Does anyone know how the javascript below could be revised to include a go
| live hh:mm:ss and expire hh:mm:ss ??
|
| === Here's the description of the javascript and the code - any input is
| appreciated ===
| Content will only be displayed between the 'Go Live' date and the 'Expires'
| date. Great for promotions that start on a certain date, and end on another
| date. Works in MSIE only.
|
|
| <!-- ONE STEP TO INSTALL AUTO EXPIRE:
|
| 1. Copy the coding into the BODY of your HTML document -->
|
| <!-- STEP ONE: Paste this code into the BODY of your HTML document -->
|
| <BODY>
|
| <SCRIPT LANGUAGE="JavaScript">
|
| <!-- This script and many more are available free online at -->
| <!-- The JavaScript Source!! http://javascript.internet.com -->
| <!-- Don Demrow -->
|
| <!-- Begin
| // Set the dates below
| var goLiveDate = "20030613";
| var expireDate = "20101015";
|
| var expireYear = expireDate.substring(0,4)
| var expireMonth = expireDate.slice(4,-2)
| var expireDay = expireDate.slice(6)
| var liveYear = goLiveDate.substring(0,4)
| var liveMonth = goLiveDate.slice(4,-2)
| var liveDay = goLiveDate.slice(6)
| var nowDate = new Date();
| var day = nowDate.getUTCDate();
| var month = nowDate.getUTCMonth();
| var month1 = month + 1;
| if (month1 < 10)
| {
| month1 = "0" + month1;
| }
| if (day < 10)
| {
| day = "0" + day;
| }
| var year = nowDate.getYear();
| var GMTdate = year + "" + month1 + "" + day
| if ((GMTdate < expireDate) && (GMTdate >= goLiveDate))
| {
|
| // Insert the text you want displayed below
| document.write("<div align='center'><b>This content appeared on " +
| liveMonth + "/" + liveDay + "/" + liveYear + "<br>and will disappear on " +
| expireMonth + "/" + expireDay + "/" + expireYear +".</b></div>")
|
| }
| // End -->
| </script>
|
|
| <p><center>
| <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
| by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
| </center><p>
|
| <!-- Script Size: 1.45 KB -->
|
|
|
| | > Try contacting Jimcp (at his site) to see if that is an expected behavior
| >
| > --
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| | > | I worded that incorrectly, sorry. What I mean to say is Jimco Publisher
| will
| > | not allow scheduling a recalculate at different times on same days. You
| can
| > | set a daily or weekly schedule, but you only get to set one time.
| > | Example:
| > | I schedule a recalculate for the web at 7:00 am M-F
| > | I schedule another recalculate for that same web for 8:00 am M-F
| > | I schedule another recalculate for the same web for 9:00 am M-F
| > | The window shows as three different events, but when you highlight them
| to
| > | look at the properties, they are all set to the last event created --
| 9:00
| > | am M-F -- instead of 7:00, 8:00 and 9:00.
| > |
| > | Toni D.
| > |
| > | | > | > Hi,
| > | > I tried separate events in JimCo Publisher for the same site. Instead
| of
| > | > holding my settings to recalculate the web at different times, the
| program
| > | > made the events all the same time, which means I can only schedule one
| > | event
| > | > per web for different times on the same days.
| > | >
| > | > It's not that I want to schedule every 15 minutes, it's that the
| > | broadcasts
| > | > are scheduled at odd minutes of the hours.
| > | >
| > | > Thanks,
| > | > Toni D.
| > | >
| > | > | > | > > You probably could do it w/ the Jimco Publisher (but I don't
| recommend
| > | it)
| > | > > - add New Schedules as separate events for each time (using the same
| > | web)
| > | > >
| > | > > But if you want something to change every 15 min you will probably
| > | > "overload" your server doing it that way
| > | > >
| > | > > Just go to http://javascript.internet.com/ and you will probably
| find a
| > | > script for what you are trying to do
| > | > > --
| > | > > _____________________________________________
| > | > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > > "Warning - Using the F1 Key will not break anything!" (-;
| > | > > To find the best Newsgroup for FrontPage support see:
| > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > > _____________________________________________
| > | > >
| > | > >
| > | > | > | > > | Hi,
| > | > > | Thanks all for your suggestions. I did visit jimcoaddins and
| > | downloaded
| > | > and
| > | > > | installed the Publisher. What a nifty little program. Just wish I
| > | could
| > | > use
| > | > > | it for this problem.
| > | > > |
| > | > > | It doesn't allow me to create multiple schedules for the same site
| and
| > | > it
| > | > > | runs in 15 minute intervals. I need minute by minute with multiple
| > | > schedules
| > | > > | for the same site since, if I understand this correctly, the links
| > | need
| > | > to
| > | > > | be recalculated after each start time of each scheduled included
| page.
| > | > > |
| > | > > | On the other replies about writing scripts and programs ...
| there's no
| > | > way
| > | > > | in the world I'd ever accomplish those tricks, I don't know how
| and
| > | > can't
| > | > > | afford a magic hat.
| > | > > |
| > | > > | I do appreciate your time. I'm in awe going thru the newsgroup
| posts
| > | and
| > | > > | perusing all the knowledge contained here.
| > | > > |
| > | > > | Thanks anyway,
| > | > > | Toni D.
| > | > > |
| > | > > |
| > | > > | | > | > > | > Use the scheduled include pages and get the JIMCO Publisher to
| Open
| > | > your
| > | > > | FP online web & recalc the hyperlinks links at scheduled
| > | > > | > intervals
| > | > > | > See http://www.jimcoaddins.com/
| > | > > | >
| > | > > | > --
| > | > > | > _____________________________________________
| > | > > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > > | > To find the best Newsgroup for FrontPage support see:
| > | > > | > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > > | > _____________________________________________
| > | > > | >
| > | > > | >
| > | > > | | > | > > | > | How about ... hmm... OTTOMH ...
| > | > > | > | a database with date, time, scriptname
| > | > > | > | fields. Query the database, and run scripts
| > | > > | > | that are returned per your criteria?
| > | > > | > |
| > | > > | > | You may have to write a little script that
| > | > > | > | writes scripts, which are then Server.Execute-d
| > | > > | > |
| > | > > | > | --
| > | > > | > | Grace + Peace,
| > | > > | > | Peter N Roth
| > | > > | > | Engineering Objects International
| > | > > | > | http://engineeringobjects.com
| > | > > | > |
| > | > > | > |
| > | > > | > | | > | > > | > | > Does anyone happen to have a good script that they would
| like to
| > | > share
| > | > > | to
| > | > > | > | > help me accomplish my goal of setting up scheduled pages to
| open
| > | > and
| > | > > | close
| > | > > | > | > according to date and time and not have to refresh a page?
| I've
| > | > looked
| > | > > | at
| > | > > | > | > javascript, and can find an auto close script (pop up script
| > | that
| > | > will
| > | > > | > | stay
| > | > > | > | > open for any number of seconds), but nothing that lets me
| open
| > | it
| > | > on a
| > | > > | > | > certain date and time, only on page load. Any advice?
| > | > > | > | >
| > | > > | > | > Thanks in advance,
| > | > > | > | > Toni D.
| > | > > | > | >
| > | > > | > | > | > | > > | > | > > The Schedule Includes require that you edit the page in
| the
| > | site
| > | > or
| > | > > | run
| > | > > | > | > > Tools | Recalculate Hyperlink right after the schedule
| time
| > | for
| > | > the
| > | > > | > | change
| > | > > | > | > > to take place.
| > | > > | > | > >
| > | > > | > | > > --
| > | > > | > | > >
| > | > > | > | > > ==============================================
| > | > > | > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > | > > | > | > > WEBMASTER Resources(tm)
| > | > > | > | > >
| > | > > | > | > > FrontPage Resources, Forums, WebCircle,
| > | > > | > | > > MS KB Quick Links, etc.
| > | > > | > | > > ==============================================
| > | > > | > | > > To assist you in getting the best answers for FrontPage
| > | support
| > | > see:
| > | > > | > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > > | > | > >
| > | > > | > | > > | > | > > | > | > > > Hi,
| > | > > | > | > > > I am working with a FP2002 site. The site has tables and
| > | > > | > | > > > I have a scheduled included page set up on many pages
| > | > > | > | > > > within tables. The server is running the latest SEs.
| > | > > | > | > > >
| > | > > | > | > > > The scheduled page links to an outside stream. The
| > | > > | > | > > > scheduled content will not automatically start. However,
| > | > > | > | > > > if I go into FP editor and open the page, I can see the
| > | > > | > | > > > scheduled content is open. I hit the SAVE button, and
| > | > > | > | > > > then go back to the live site and click the browser
| > | > > | > | > > > refresh, the included page opens and the live stream
| > | > > | > | > > > comes through beautifully.
| > | > > | > | > > >
| > | > > | > | > > > But then it doesn't close like it should. I have a
| > | > > | > | > > > refresh metatag in the pages. The refresh kicks in like
| > | > > | > | > > > it is supposed to, but the scheduled page still shows
| up -
| > | > > | > | > > > - it doesn't disappear like it should as scheduled.
| > | > > | > | > > >
| > | > > | > | > > > Anyone have any ideas how I can get these scheduled
| > | > > | > | > > > includes to work properly?
| > | > > | > | > > >
| > | > > | > | > > > Any help is greatly appreciated!!
| > | > > | > | > > >
| > | > > | > | > > > Toni D.
| > | > > | > | > >
| > | > > | > | > >
| > | > > | > | >
| > | > > | > | >
| > | > > | > |
| > | > > | > |
| > | > > | >
| > | > > | >
| > | > > |
| > | > > |
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
T

Toni D.

Thanks, I must be doing something wrong, though. Can't get it to work. I
change the dates and times to what I want and place a document.write
("whatever text") on the lines below where it reads "Insert the text you
want below", and none of them show up.
Also, on the times, should it be 24 hour so am and pm are distinguished from
each other?
Thanks,
Toni D.

Stefan B Rusynko said:
You can modify the below to suit your needs

<script language="JavaScript"><!-- Begin
var theDate = new Date(); // today
var expireDate = new Date("Sep 15 2003 10:00:00"); // Expiration date
var startDate = new Date("Sep 15 2002 5:00:00"); // Start Message date
function notices() {
if (theDate.getTime() < startDate.getTime()) {
// before Start date / time
// Insert the text you want displayed below;
} else {
if (theDate.getTime() < expireDate.getTime()) {
// before Expiration date / time
// Insert the text you want displayed below;
} else {
// after Expiration date / time
// Insert the text you want displayed below;
}; }; };
// End -->
</script>

--



| Okay, I'll do that. I went ahead and tested to recalculate only to see if it
| would work with Scheduled Included Page and it didn't :(
| Recalculating links doesn't do it, I am forced to manually open and save the
| page.
|
| I did find a javascript where content will be displayed between go live date
| and expire date. I am wondering if there is a possible solution by revising.
| Does anyone know how the javascript below could be revised to include a go
| live hh:mm:ss and expire hh:mm:ss ??
|
| === Here's the description of the javascript and the code - any input is
| appreciated ===
| Content will only be displayed between the 'Go Live' date and the 'Expires'
| date. Great for promotions that start on a certain date, and end on another
| date. Works in MSIE only.
|
|
| <!-- ONE STEP TO INSTALL AUTO EXPIRE:
|
| 1. Copy the coding into the BODY of your HTML document -->
|
| <!-- STEP ONE: Paste this code into the BODY of your HTML document -->
|
| <BODY>
|
| <SCRIPT LANGUAGE="JavaScript">
|
| <!-- This script and many more are available free online at -->
| <!-- The JavaScript Source!! http://javascript.internet.com -->
| <!-- Don Demrow -->
|
| <!-- Begin
| // Set the dates below
| var goLiveDate = "20030613";
| var expireDate = "20101015";
|
| var expireYear = expireDate.substring(0,4)
| var expireMonth = expireDate.slice(4,-2)
| var expireDay = expireDate.slice(6)
| var liveYear = goLiveDate.substring(0,4)
| var liveMonth = goLiveDate.slice(4,-2)
| var liveDay = goLiveDate.slice(6)
| var nowDate = new Date();
| var day = nowDate.getUTCDate();
| var month = nowDate.getUTCMonth();
| var month1 = month + 1;
| if (month1 < 10)
| {
| month1 = "0" + month1;
| }
| if (day < 10)
| {
| day = "0" + day;
| }
| var year = nowDate.getYear();
| var GMTdate = year + "" + month1 + "" + day
| if ((GMTdate < expireDate) && (GMTdate >= goLiveDate))
| {
|
| // Insert the text you want displayed below
| document.write("<div align='center'><b>This content appeared on " +
| liveMonth + "/" + liveDay + "/" + liveYear + "<br>and will disappear on " +
| expireMonth + "/" + expireDay + "/" + expireYear +".</b></div>")
|
| }
| // End -->
| </script>
|
|
| <p><center>
| <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
| by <a href="http://javascriptsource.com">The JavaScript
Source said:
| </center><p>
|
| <!-- Script Size: 1.45 KB -->
|
|
|
| | > Try contacting Jimcp (at his site) to see if that is an expected behavior
| >
| > --
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| | > | I worded that incorrectly, sorry. What I mean to say is Jimco Publisher
| will
| > | not allow scheduling a recalculate at different times on same days. You
| can
| > | set a daily or weekly schedule, but you only get to set one time.
| > | Example:
| > | I schedule a recalculate for the web at 7:00 am M-F
| > | I schedule another recalculate for that same web for 8:00 am M-F
| > | I schedule another recalculate for the same web for 9:00 am M-F
| > | The window shows as three different events, but when you highlight them
| to
| > | look at the properties, they are all set to the last event created --
| 9:00
| > | am M-F -- instead of 7:00, 8:00 and 9:00.
| > |
| > | Toni D.
| > |
| > | | > | > Hi,
| > | > I tried separate events in JimCo Publisher for the same site. Instead
| of
| > | > holding my settings to recalculate the web at different times, the
| program
| > | > made the events all the same time, which means I can only schedule one
| > | event
| > | > per web for different times on the same days.
| > | >
| > | > It's not that I want to schedule every 15 minutes, it's that the
| > | broadcasts
| > | > are scheduled at odd minutes of the hours.
| > | >
| > | > Thanks,
| > | > Toni D.
| > | >
| > | > | > | > > You probably could do it w/ the Jimco Publisher (but I don't
| recommend
| > | it)
| > | > > - add New Schedules as separate events for each time (using the same
| > | web)
| > | > >
| > | > > But if you want something to change every 15 min you will probably
| > | > "overload" your server doing it that way
| > | > >
| > | > > Just go to http://javascript.internet.com/ and you will probably
| find a
| > | > script for what you are trying to do
| > | > > --
| > | > > _____________________________________________
| > | > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > > "Warning - Using the F1 Key will not break anything!" (-;
| > | > > To find the best Newsgroup for FrontPage support see:
| > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > > _____________________________________________
| > | > >
| > | > >
| > | > | > | > > | Hi,
| > | > > | Thanks all for your suggestions. I did visit jimcoaddins and
| > | downloaded
| > | > and
| > | > > | installed the Publisher. What a nifty little program. Just wish I
| > | could
| > | > use
| > | > > | it for this problem.
| > | > > |
| > | > > | It doesn't allow me to create multiple schedules for the same site
| and
| > | > it
| > | > > | runs in 15 minute intervals. I need minute by minute with multiple
| > | > schedules
| > | > > | for the same site since, if I understand this correctly, the links
| > | need
| > | > to
| > | > > | be recalculated after each start time of each scheduled included
| page.
| > | > > |
| > | > > | On the other replies about writing scripts and programs ...
| there's no
| > | > way
| > | > > | in the world I'd ever accomplish those tricks, I don't know how
| and
| > | > can't
| > | > > | afford a magic hat.
| > | > > |
| > | > > | I do appreciate your time. I'm in awe going thru the newsgroup
| posts
| > | and
| > | > > | perusing all the knowledge contained here.
| > | > > |
| > | > > | Thanks anyway,
| > | > > | Toni D.
| > | > > |
| > | > > |
| > | > > | | > | > > | > Use the scheduled include pages and get the JIMCO Publisher to
| Open
| > | > your
| > | > > | FP online web & recalc the hyperlinks links at scheduled
| > | > > | > intervals
| > | > > | > See http://www.jimcoaddins.com/
| > | > > | >
| > | > > | > --
| > | > > | > _____________________________________________
| > | > > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > > | > To find the best Newsgroup for FrontPage support see:
| > | > > | > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > > | > _____________________________________________
| > | > > | >
| > | > > | >
| > | > > | | > | > > | > | How about ... hmm... OTTOMH ...
| > | > > | > | a database with date, time, scriptname
| > | > > | > | fields. Query the database, and run scripts
| > | > > | > | that are returned per your criteria?
| > | > > | > |
| > | > > | > | You may have to write a little script that
| > | > > | > | writes scripts, which are then Server.Execute-d
| > | > > | > |
| > | > > | > | --
| > | > > | > | Grace + Peace,
| > | > > | > | Peter N Roth
| > | > > | > | Engineering Objects International
| > | > > | > | http://engineeringobjects.com
| > | > > | > |
| > | > > | > |
| > | > > | > | | > | > > | > | > Does anyone happen to have a good script that they would
| like to
| > | > share
| > | > > | to
| > | > > | > | > help me accomplish my goal of setting up scheduled pages to
| open
| > | > and
| > | > > | close
| > | > > | > | > according to date and time and not have to refresh a page?
| I've
| > | > looked
| > | > > | at
| > | > > | > | > javascript, and can find an auto close script (pop up script
| > | that
| > | > will
| > | > > | > | stay
| > | > > | > | > open for any number of seconds), but nothing that lets me
| open
| > | it
| > | > on a
| > | > > | > | > certain date and time, only on page load. Any advice?
| > | > > | > | >
| > | > > | > | > Thanks in advance,
| > | > > | > | > Toni D.
| > | > > | > | >
| > | > > | > | > | > | > > | > | > > The Schedule Includes require that you edit the page in
| the
| > | site
| > | > or
| > | > > | run
| > | > > | > | > > Tools | Recalculate Hyperlink right after the schedule
| time
| > | for
| > | > the
| > | > > | > | change
| > | > > | > | > > to take place.
| > | > > | > | > >
| > | > > | > | > > --
| > | > > | > | > >
| > | > > | > | > > ==============================================
| > | > > | > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > | > > | > | > > WEBMASTER Resources(tm)
| > | > > | > | > >
| > | > > | > | > > FrontPage Resources, Forums, WebCircle,
| > | > > | > | > > MS KB Quick Links, etc.
| > | > > | > | > > ==============================================
| > | > > | > | > > To assist you in getting the best answers for FrontPage
| > | support
| > | > see:
| > | > > | > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > > | > | > >
| > | > > | > | > > | > | > > | > | > > > Hi,
| > | > > | > | > > > I am working with a FP2002 site. The site has tables and
| > | > > | > | > > > I have a scheduled included page set up on many pages
| > | > > | > | > > > within tables. The server is running the latest SEs.
| > | > > | > | > > >
| > | > > | > | > > > The scheduled page links to an outside stream. The
| > | > > | > | > > > scheduled content will not automatically start. However,
| > | > > | > | > > > if I go into FP editor and open the page, I can see the
| > | > > | > | > > > scheduled content is open. I hit the SAVE button, and
| > | > > | > | > > > then go back to the live site and click the browser
| > | > > | > | > > > refresh, the included page opens and the live stream
| > | > > | > | > > > comes through beautifully.
| > | > > | > | > > >
| > | > > | > | > > > But then it doesn't close like it should. I have a
| > | > > | > | > > > refresh metatag in the pages. The refresh kicks in like
| > | > > | > | > > > it is supposed to, but the scheduled page still shows
| up -
| > | > > | > | > > > - it doesn't disappear like it should as scheduled.
| > | > > | > | > > >
| > | > > | > | > > > Anyone have any ideas how I can get these scheduled
| > | > > | > | > > > includes to work properly?
| > | > > | > | > > >
| > | > > | > | > > > Any help is greatly appreciated!!
| > | > > | > | > > >
| > | > > | > | > > > Toni D.
| > | > > | > | > >
| > | > > | > | > >
| > | > > | > | >
| > | > > | > | >
| > | > > | > |
| > | > > | > |
| > | > > | >
| > | > > | >
| > | > > |
| > | > > |
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
S

Stefan B Rusynko

Yes - 24 hr clock
The script goes in the HEAD section
Did you include anything to call the function
as in
<body onload="notices();">
or a link
<a href="javascript:void();" onclick="return notices();">Click</a>
--



| Thanks, I must be doing something wrong, though. Can't get it to work. I
| change the dates and times to what I want and place a document.write
| ("whatever text") on the lines below where it reads "Insert the text you
| want below", and none of them show up.
| Also, on the times, should it be 24 hour so am and pm are distinguished from
| each other?
| Thanks,
| Toni D.
|
| | > You can modify the below to suit your needs
| >
| > <script language="JavaScript"><!-- Begin
| > var theDate = new Date(); // today
| > var expireDate = new Date("Sep 15 2003 10:00:00"); // Expiration date
| > var startDate = new Date("Sep 15 2002 5:00:00"); // Start Message date
| > function notices() {
| > if (theDate.getTime() < startDate.getTime()) {
| > // before Start date / time
| > // Insert the text you want displayed below;
| > } else {
| > if (theDate.getTime() < expireDate.getTime()) {
| > // before Expiration date / time
| > // Insert the text you want displayed below;
| > } else {
| > // after Expiration date / time
| > // Insert the text you want displayed below;
| > }; }; };
| > // End -->
| > </script>
| >
| > --
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| | > | Okay, I'll do that. I went ahead and tested to recalculate only to see
| if it
| > | would work with Scheduled Included Page and it didn't :(
| > | Recalculating links doesn't do it, I am forced to manually open and save
| the
| > | page.
| > |
| > | I did find a javascript where content will be displayed between go live
| date
| > | and expire date. I am wondering if there is a possible solution by
| revising.
| > | Does anyone know how the javascript below could be revised to include a
| go
| > | live hh:mm:ss and expire hh:mm:ss ??
| > |
| > | === Here's the description of the javascript and the code - any input is
| > | appreciated ===
| > | Content will only be displayed between the 'Go Live' date and the
| 'Expires'
| > | date. Great for promotions that start on a certain date, and end on
| another
| > | date. Works in MSIE only.
| > |
| > |
| > | <!-- ONE STEP TO INSTALL AUTO EXPIRE:
| > |
| > | 1. Copy the coding into the BODY of your HTML document -->
| > |
| > | <!-- STEP ONE: Paste this code into the BODY of your HTML document -->
| > |
| > | <BODY>
| > |
| > | <SCRIPT LANGUAGE="JavaScript">
| > |
| > | <!-- This script and many more are available free online at -->
| > | <!-- The JavaScript Source!! http://javascript.internet.com -->
| > | <!-- Don Demrow -->
| > |
| > | <!-- Begin
| > | // Set the dates below
| > | var goLiveDate = "20030613";
| > | var expireDate = "20101015";
| > |
| > | var expireYear = expireDate.substring(0,4)
| > | var expireMonth = expireDate.slice(4,-2)
| > | var expireDay = expireDate.slice(6)
| > | var liveYear = goLiveDate.substring(0,4)
| > | var liveMonth = goLiveDate.slice(4,-2)
| > | var liveDay = goLiveDate.slice(6)
| > | var nowDate = new Date();
| > | var day = nowDate.getUTCDate();
| > | var month = nowDate.getUTCMonth();
| > | var month1 = month + 1;
| > | if (month1 < 10)
| > | {
| > | month1 = "0" + month1;
| > | }
| > | if (day < 10)
| > | {
| > | day = "0" + day;
| > | }
| > | var year = nowDate.getYear();
| > | var GMTdate = year + "" + month1 + "" + day
| > | if ((GMTdate < expireDate) && (GMTdate >= goLiveDate))
| > | {
| > |
| > | // Insert the text you want displayed below
| > | document.write("<div align='center'><b>This content appeared on " +
| > | liveMonth + "/" + liveDay + "/" + liveYear + "<br>and will disappear on
| " +
| > | expireMonth + "/" + expireDay + "/" + expireYear +".</b></div>")
| > |
| > | }
| > | // End -->
| > | </script>
| > |
| > |
| > | <p><center>
| > | <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
| > | by <a href="http://javascriptsource.com">The JavaScript
| Source</a></font>
| > | </center><p>
| > |
| > | <!-- Script Size: 1.45 KB -->
| > |
| > |
| > |
| > | | > | > Try contacting Jimcp (at his site) to see if that is an expected
| behavior
| > | >
| > | > --
| > | > _____________________________________________
| > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > To find the best Newsgroup for FrontPage support see:
| > | > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > _____________________________________________
| > | >
| > | >
| > | | > | > | I worded that incorrectly, sorry. What I mean to say is Jimco
| Publisher
| > | will
| > | > | not allow scheduling a recalculate at different times on same days.
| You
| > | can
| > | > | set a daily or weekly schedule, but you only get to set one time.
| > | > | Example:
| > | > | I schedule a recalculate for the web at 7:00 am M-F
| > | > | I schedule another recalculate for that same web for 8:00 am M-F
| > | > | I schedule another recalculate for the same web for 9:00 am M-F
| > | > | The window shows as three different events, but when you highlight
| them
| > | to
| > | > | look at the properties, they are all set to the last event
| created --
| > | 9:00
| > | > | am M-F -- instead of 7:00, 8:00 and 9:00.
| > | > |
| > | > | Toni D.
| > | > |
| > | > | | > | > | > Hi,
| > | > | > I tried separate events in JimCo Publisher for the same site.
| Instead
| > | of
| > | > | > holding my settings to recalculate the web at different times, the
| > | program
| > | > | > made the events all the same time, which means I can only schedule
| one
| > | > | event
| > | > | > per web for different times on the same days.
| > | > | >
| > | > | > It's not that I want to schedule every 15 minutes, it's that the
| > | > | broadcasts
| > | > | > are scheduled at odd minutes of the hours.
| > | > | >
| > | > | > Thanks,
| > | > | > Toni D.
| > | > | >
| > | > | > | > | > | > > You probably could do it w/ the Jimco Publisher (but I don't
| > | recommend
| > | > | it)
| > | > | > > - add New Schedules as separate events for each time (using the
| same
| > | > | web)
| > | > | > >
| > | > | > > But if you want something to change every 15 min you will
| probably
| > | > | > "overload" your server doing it that way
| > | > | > >
| > | > | > > Just go to http://javascript.internet.com/ and you will probably
| > | find a
| > | > | > script for what you are trying to do
| > | > | > > --
| > | > | > > _____________________________________________
| > | > | > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > | > > "Warning - Using the F1 Key will not break anything!" (-;
| > | > | > > To find the best Newsgroup for FrontPage support see:
| > | > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > | > > _____________________________________________
| > | > | > >
| > | > | > >
| > | > | > | > | > | > > | Hi,
| > | > | > > | Thanks all for your suggestions. I did visit jimcoaddins and
| > | > | downloaded
| > | > | > and
| > | > | > > | installed the Publisher. What a nifty little program. Just
| wish I
| > | > | could
| > | > | > use
| > | > | > > | it for this problem.
| > | > | > > |
| > | > | > > | It doesn't allow me to create multiple schedules for the same
| site
| > | and
| > | > | > it
| > | > | > > | runs in 15 minute intervals. I need minute by minute with
| multiple
| > | > | > schedules
| > | > | > > | for the same site since, if I understand this correctly, the
| links
| > | > | need
| > | > | > to
| > | > | > > | be recalculated after each start time of each scheduled
| included
| > | page.
| > | > | > > |
| > | > | > > | On the other replies about writing scripts and programs ...
| > | there's no
| > | > | > way
| > | > | > > | in the world I'd ever accomplish those tricks, I don't know
| how
| > | and
| > | > | > can't
| > | > | > > | afford a magic hat.
| > | > | > > |
| > | > | > > | I do appreciate your time. I'm in awe going thru the newsgroup
| > | posts
| > | > | and
| > | > | > > | perusing all the knowledge contained here.
| > | > | > > |
| > | > | > > | Thanks anyway,
| > | > | > > | Toni D.
| > | > | > > |
| > | > | > > |
| > | > | > > | | > | > | > > | > Use the scheduled include pages and get the JIMCO Publisher
| to
| > | Open
| > | > | > your
| > | > | > > | FP online web & recalc the hyperlinks links at scheduled
| > | > | > > | > intervals
| > | > | > > | > See http://www.jimcoaddins.com/
| > | > | > > | >
| > | > | > > | > --
| > | > | > > | > _____________________________________________
| > | > | > > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > | > > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > | > > | > To find the best Newsgroup for FrontPage support see:
| > | > | > > | > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > | > > | > _____________________________________________
| > | > | > > | >
| > | > | > > | >
| message
| > | > | > > | | > | > | > > | > | How about ... hmm... OTTOMH ...
| > | > | > > | > | a database with date, time, scriptname
| > | > | > > | > | fields. Query the database, and run scripts
| > | > | > > | > | that are returned per your criteria?
| > | > | > > | > |
| > | > | > > | > | You may have to write a little script that
| > | > | > > | > | writes scripts, which are then Server.Execute-d
| > | > | > > | > |
| > | > | > > | > | --
| > | > | > > | > | Grace + Peace,
| > | > | > > | > | Peter N Roth
| > | > | > > | > | Engineering Objects International
| > | > | > > | > | http://engineeringobjects.com
| > | > | > > | > |
| > | > | > > | > |
| > | > | > > | > | | > | > | > > | > | > Does anyone happen to have a good script that they would
| > | like to
| > | > | > share
| > | > | > > | to
| > | > | > > | > | > help me accomplish my goal of setting up scheduled pages
| to
| > | open
| > | > | > and
| > | > | > > | close
| > | > | > > | > | > according to date and time and not have to refresh a
| page?
| > | I've
| > | > | > looked
| > | > | > > | at
| > | > | > > | > | > javascript, and can find an auto close script (pop up
| script
| > | > | that
| > | > | > will
| > | > | > > | > | stay
| > | > | > > | > | > open for any number of seconds), but nothing that lets
| me
| > | open
| > | > | it
| > | > | > on a
| > | > | > > | > | > certain date and time, only on page load. Any advice?
| > | > | > > | > | >
| > | > | > > | > | > Thanks in advance,
| > | > | > > | > | > Toni D.
| > | > | > > | > | >
| > | > | > > | > | > | > | > | > > | > | > > The Schedule Includes require that you edit the page
| in
| > | the
| > | > | site
| > | > | > or
| > | > | > > | run
| > | > | > > | > | > > Tools | Recalculate Hyperlink right after the schedule
| > | time
| > | > | for
| > | > | > the
| > | > | > > | > | change
| > | > | > > | > | > > to take place.
| > | > | > > | > | > >
| > | > | > > | > | > > --
| > | > | > > | > | > >
| > | > | > > | > | > > ==============================================
| > | > | > > | > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > | > | > > | > | > > WEBMASTER Resources(tm)
| > | > | > > | > | > >
| > | > | > > | > | > > FrontPage Resources, Forums, WebCircle,
| > | > | > > | > | > > MS KB Quick Links, etc.
| > | > | > > | > | > > ==============================================
| > | > | > > | > | > > To assist you in getting the best answers for
| FrontPage
| > | > | support
| > | > | > see:
| > | > | > > | > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > | > > | > | > >
| > | > | > > | > | > > | > | > | > > | > | > > > Hi,
| > | > | > > | > | > > > I am working with a FP2002 site. The site has tables
| and
| > | > | > > | > | > > > I have a scheduled included page set up on many
| pages
| > | > | > > | > | > > > within tables. The server is running the latest SEs.
| > | > | > > | > | > > >
| > | > | > > | > | > > > The scheduled page links to an outside stream. The
| > | > | > > | > | > > > scheduled content will not automatically start.
| However,
| > | > | > > | > | > > > if I go into FP editor and open the page, I can see
| the
| > | > | > > | > | > > > scheduled content is open. I hit the SAVE button,
| and
| > | > | > > | > | > > > then go back to the live site and click the browser
| > | > | > > | > | > > > refresh, the included page opens and the live stream
| > | > | > > | > | > > > comes through beautifully.
| > | > | > > | > | > > >
| > | > | > > | > | > > > But then it doesn't close like it should. I have a
| > | > | > > | > | > > > refresh metatag in the pages. The refresh kicks in
| like
| > | > | > > | > | > > > it is supposed to, but the scheduled page still
| shows
| > | up -
| > | > | > > | > | > > > - it doesn't disappear like it should as scheduled.
| > | > | > > | > | > > >
| > | > | > > | > | > > > Anyone have any ideas how I can get these scheduled
| > | > | > > | > | > > > includes to work properly?
| > | > | > > | > | > > >
| > | > | > > | > | > > > Any help is greatly appreciated!!
| > | > | > > | > | > > >
| > | > | > > | > | > > > Toni D.
| > | > | > > | > | > >
| > | > | > > | > | > >
| > | > | > > | > | >
| > | > | > > | > | >
| > | > | > > | > |
| > | > | > > | > |
| > | > | > > | >
| > | > | > > | >
| > | > | > > |
| > | > | > > |
| > | > | > >
| > | > | > >
| > | > | >
| > | > | >
| > | > |
| > | > |
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
T

Toni D.

THANK YOU!!!! You rock, I owe ya one ;)

Toni D.

Stefan B Rusynko said:
Yes - 24 hr clock
The script goes in the HEAD section
Did you include anything to call the function
as in
<body onload="notices();">
or a link
<a href="javascript:void();" onclick="return notices();">Click</a>
--



| Thanks, I must be doing something wrong, though. Can't get it to work. I
| change the dates and times to what I want and place a document.write
| ("whatever text") on the lines below where it reads "Insert the text you
| want below", and none of them show up.
| Also, on the times, should it be 24 hour so am and pm are distinguished from
| each other?
| Thanks,
| Toni D.
|
| | > You can modify the below to suit your needs
| >
| > <script language="JavaScript"><!-- Begin
| > var theDate = new Date(); // today
| > var expireDate = new Date("Sep 15 2003 10:00:00"); // Expiration date
| > var startDate = new Date("Sep 15 2002 5:00:00"); // Start Message date
| > function notices() {
| > if (theDate.getTime() < startDate.getTime()) {
| > // before Start date / time
| > // Insert the text you want displayed below;
| > } else {
| > if (theDate.getTime() < expireDate.getTime()) {
| > // before Expiration date / time
| > // Insert the text you want displayed below;
| > } else {
| > // after Expiration date / time
| > // Insert the text you want displayed below;
| > }; }; };
| > // End -->
| > </script>
| >
| > --
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| | > | Okay, I'll do that. I went ahead and tested to recalculate only to see
| if it
| > | would work with Scheduled Included Page and it didn't :(
| > | Recalculating links doesn't do it, I am forced to manually open and save
| the
| > | page.
| > |
| > | I did find a javascript where content will be displayed between go live
| date
| > | and expire date. I am wondering if there is a possible solution by
| revising.
| > | Does anyone know how the javascript below could be revised to include a
| go
| > | live hh:mm:ss and expire hh:mm:ss ??
| > |
| > | === Here's the description of the javascript and the code - any input is
| > | appreciated ===
| > | Content will only be displayed between the 'Go Live' date and the
| 'Expires'
| > | date. Great for promotions that start on a certain date, and end on
| another
| > | date. Works in MSIE only.
| > |
| > |
| > | <!-- ONE STEP TO INSTALL AUTO EXPIRE:
| > |
| > | 1. Copy the coding into the BODY of your HTML document -->
| > |
| > | <!-- STEP ONE: Paste this code into the BODY of your HTML ocument -->
| > |
| > | <BODY>
| > |
| > | <SCRIPT LANGUAGE="JavaScript">
| > |
| > | <!-- This script and many more are available free online at -->
| > | <!-- The JavaScript Source!! http://javascript.internet.com -->
| > | <!-- Don Demrow -->
| > |
| > | <!-- Begin
| > | // Set the dates below
| > | var goLiveDate = "20030613";
| > | var expireDate = "20101015";
| > |
| > | var expireYear = expireDate.substring(0,4)
| > | var expireMonth = expireDate.slice(4,-2)
| > | var expireDay = expireDate.slice(6)
| > | var liveYear = goLiveDate.substring(0,4)
| > | var liveMonth = goLiveDate.slice(4,-2)
| > | var liveDay = goLiveDate.slice(6)
| > | var nowDate = new Date();
| > | var day = nowDate.getUTCDate();
| > | var month = nowDate.getUTCMonth();
| > | var month1 = month + 1;
| > | if (month1 < 10)
| > | {
| > | month1 = "0" + month1;
| > | }
| > | if (day < 10)
| > | {
| > | day = "0" + day;
| > | }
| > | var year = nowDate.getYear();
| > | var GMTdate = year + "" + month1 + "" + day
| > | if ((GMTdate < expireDate) && (GMTdate >= goLiveDate))
| > | {
| > |
| > | // Insert the text you want displayed below
| > | document.write("<div align='center'><b>This content appeared on " +
| > | liveMonth + "/" + liveDay + "/" + liveYear + "<br>and will disappear on
| " +
| > | expireMonth + "/" + expireDay + "/" + expireYear +".</b></div>")
| > |
| > | }
| > | // End -->
| > | </script>
| > |
| > |
| > | <p><center>
| > | <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
| > | by <a href="http://javascriptsource.com">The JavaScript
| Source</a></font>
| > | </center><p>
| > |
| > | <!-- Script Size: 1.45 KB -->
| > |
| > |
| > |
| > | | > | > Try contacting Jimcp (at his site) to see if that is an expected
| behavior
| > | >
| > | > --
| > | > _____________________________________________
| > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > To find the best Newsgroup for FrontPage support see:
| > | > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > _____________________________________________
| > | >
| > | >
| > | | > | > | I worded that incorrectly, sorry. What I mean to say is Jimco
| Publisher
| > | will
| > | > | not allow scheduling a recalculate at different times on same days.
| You
| > | can
| > | > | set a daily or weekly schedule, but you only get to set one time.
| > | > | Example:
| > | > | I schedule a recalculate for the web at 7:00 am M-F
| > | > | I schedule another recalculate for that same web for 8:00 am M-F
| > | > | I schedule another recalculate for the same web for 9:00 am M-F
| > | > | The window shows as three different events, but when you highlight
| them
| > | to
| > | > | look at the properties, they are all set to the last event
| created --
| > | 9:00
| > | > | am M-F -- instead of 7:00, 8:00 and 9:00.
| > | > |
| > | > | Toni D.
| > | > |
| > | > | | > | > | > Hi,
| > | > | > I tried separate events in JimCo Publisher for the same site.
| Instead
| > | of
| > | > | > holding my settings to recalculate the web at different times, the
| > | program
| > | > | > made the events all the same time, which means I can only schedule
| one
| > | > | event
| > | > | > per web for different times on the same days.
| > | > | >
| > | > | > It's not that I want to schedule every 15 minutes, it's that the
| > | > | broadcasts
| > | > | > are scheduled at odd minutes of the hours.
| > | > | >
| > | > | > Thanks,
| > | > | > Toni D.
| > | > | >
| > | > | > | > | > | > > You probably could do it w/ the Jimco Publisher (but I don't
| > | recommend
| > | > | it)
| > | > | > > - add New Schedules as separate events for each time (using the
| same
| > | > | web)
| > | > | > >
| > | > | > > But if you want something to change every 15 min you will
| probably
| > | > | > "overload" your server doing it that way
| > | > | > >
| > | > | > > Just go to http://javascript.internet.com/ and you will probably
| > | find a
| > | > | > script for what you are trying to do
| > | > | > > --
| > | > | > > _____________________________________________
| > | > | > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > | > > "Warning - Using the F1 Key will not break anything!" (-;
| > | > | > > To find the best Newsgroup for FrontPage support see:
| > | > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > | > > _____________________________________________
| > | > | > >
| > | > | > >
| > | > | > | > | > | > > | Hi,
| > | > | > > | Thanks all for your suggestions. I did visit jimcoaddins and
| > | > | downloaded
| > | > | > and
| > | > | > > | installed the Publisher. What a nifty little program. Just
| wish I
| > | > | could
| > | > | > use
| > | > | > > | it for this problem.
| > | > | > > |
| > | > | > > | It doesn't allow me to create multiple schedules for the same
| site
| > | and
| > | > | > it
| > | > | > > | runs in 15 minute intervals. I need minute by minute with
| multiple
| > | > | > schedules
| > | > | > > | for the same site since, if I understand this correctly, the
| links
| > | > | need
| > | > | > to
| > | > | > > | be recalculated after each start time of each scheduled
| included
| > | page.
| > | > | > > |
| > | > | > > | On the other replies about writing scripts and programs ....
| > | there's no
| > | > | > way
| > | > | > > | in the world I'd ever accomplish those tricks, I don't know
| how
| > | and
| > | > | > can't
| > | > | > > | afford a magic hat.
| > | > | > > |
| > | > | > > | I do appreciate your time. I'm in awe going thru the newsgroup
| > | posts
| > | > | and
| > | > | > > | perusing all the knowledge contained here.
| > | > | > > |
| > | > | > > | Thanks anyway,
| > | > | > > | Toni D.
| > | > | > > |
| > | > | > > |
| > | > | > > | | > | > | > > | > Use the scheduled include pages and get the JIMCO Publisher
| to
| > | Open
| > | > | > your
| > | > | > > | FP online web & recalc the hyperlinks links at scheduled
| > | > | > > | > intervals
| > | > | > > | > See http://www.jimcoaddins.com/
| > | > | > > | >
| > | > | > > | > --
| > | > | > > | > _____________________________________________
| > | > | > > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > | > > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > | > > | > To find the best Newsgroup for FrontPage support see:
| > | > | > > | > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > | > > | > _____________________________________________
| > | > | > > | >
| > | > | > > | >
| message
| > | > | > > | | > | > | > > | > | How about ... hmm... OTTOMH ...
| > | > | > > | > | a database with date, time, scriptname
| > | > | > > | > | fields. Query the database, and run scripts
| > | > | > > | > | that are returned per your criteria?
| > | > | > > | > |
| > | > | > > | > | You may have to write a little script that
| > | > | > > | > | writes scripts, which are then Server.Execute-d
| > | > | > > | > |
| > | > | > > | > | --
| > | > | > > | > | Grace + Peace,
| > | > | > > | > | Peter N Roth
| > | > | > > | > | Engineering Objects International
| > | > | > > | > | http://engineeringobjects.com
| > | > | > > | > |
| > | > | > > | > |
| > | > | > > | > | | > | > | > > | > | > Does anyone happen to have a good script that they would
| > | like to
| > | > | > share
| > | > | > > | to
| > | > | > > | > | > help me accomplish my goal of setting up scheduled pages
| to
| > | open
| > | > | > and
| > | > | > > | close
| > | > | > > | > | > according to date and time and not have to refresh a
| page?
| > | I've
| > | > | > looked
| > | > | > > | at
| > | > | > > | > | > javascript, and can find an auto close script (pop up
| script
| > | > | that
| > | > | > will
| > | > | > > | > | stay
| > | > | > > | > | > open for any number of seconds), but nothing that lets
| me
| > | open
| > | > | it
| > | > | > on a
| > | > | > > | > | > certain date and time, only on page load. Any advice?
| > | > | > > | > | >
| > | > | > > | > | > Thanks in advance,
| > | > | > > | > | > Toni D.
| > | > | > > | > | >
| > | > | > > | > | > | > | > | > > | > | > > The Schedule Includes require that you edit the page
| in
| > | the
| > | > | site
| > | > | > or
| > | > | > > | run
| > | > | > > | > | > > Tools | Recalculate Hyperlink right after the schedule
| > | time
| > | > | for
| > | > | > the
| > | > | > > | > | change
| > | > | > > | > | > > to take place.
| > | > | > > | > | > >
| > | > | > > | > | > > --
| > | > | > > | > | > >
| > | > | > > | > | > > ==============================================
| > | > | > > | > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > | > | > > | > | > > WEBMASTER Resources(tm)
| > | > | > > | > | > >
| > | > | > > | > | > > FrontPage Resources, Forums, WebCircle,
| > | > | > > | > | > > MS KB Quick Links, etc.
| > | > | > > | > | > > ==============================================
| > | > | > > | > | > > To assist you in getting the best answers for
| FrontPage
| > | > | support
| > | > | > see:
| > | > | > > | > | > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > | > | > > | > | > >
| > | > | > > | > | > > | > | > | > > | > | > > > Hi,
| > | > | > > | > | > > > I am working with a FP2002 site. The site has tables
| and
| > | > | > > | > | > > > I have a scheduled included page set up on many
| pages
| > | > | > > | > | > > > within tables. The server is running the latest SEs.
| > | > | > > | > | > > >
| > | > | > > | > | > > > The scheduled page links to an outside stream. The
| > | > | > > | > | > > > scheduled content will not automatically start.
| However,
| > | > | > > | > | > > > if I go into FP editor and open the page, I can see
| the
| > | > | > > | > | > > > scheduled content is open. I hit the SAVE button,
| and
| > | > | > > | > | > > > then go back to the live site and click the browser
| > | > | > > | > | > > > refresh, the included page opens and the live stream
| > | > | > > | > | > > > comes through beautifully.
| > | > | > > | > | > > >
| > | > | > > | > | > > > But then it doesn't close like it should. I have a
| > | > | > > | > | > > > refresh metatag in the pages. The refresh kicks in
| like
| > | > | > > | > | > > > it is supposed to, but the scheduled page still
| shows
| > | up -
| > | > | > > | > | > > > - it doesn't disappear like it should as scheduled.
| > | > | > > | > | > > >
| > | > | > > | > | > > > Anyone have any ideas how I can get these scheduled
| > | > | > > | > | > > > includes to work properly?
| > | > | > > | > | > > >
| > | > | > > | > | > > > Any help is greatly appreciated!!
| > | > | > > | > | > > >
| > | > | > > | > | > > > Toni D.
| > | > | > > | > | > >
| > | > | > > | > | > >
| > | > | > > | > | >
| > | > | > > | > | >
| > | > | > > | > |
| > | > | > > | > |
| > | > | > > | >
| > | > | > > | >
| > | > | > > |
| > | > | > > |
| > | > | > >
| > | > | > >
| > | > | >
| > | > | >
| > | > |
| > | > |
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 

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