PC Review


Reply
Thread Tools Rate Thread

Automatic Publishing with Frontpage 2003

 
 
=?Utf-8?B?TW9zc2llcg==?=
Guest
Posts: n/a
 
      8th May 2007
Dear Readers,

I have a question about publishing in Frontpage.

Some background info: At my workplace they use intranet that's completely
built in Frontpage. It is hosted by two web servers: a Staging or in other
words development and test server and a Production server. This intranet
complies of about +- 20000 files varying from HTML pages, Forms, pictures,
doc and pdf files. The servers are Windows 2000 servers with IIS and
Frontpage Extensions 2002 installed. On the workstations we have Windows XP
SP1 Dutch language with Frontpage 2003.
There are quite some Authors that edit pages with Frontpage using the
Staging server. And there are but a few Admins that are authorized to publish
them to the Production server.
Previoussly there was a FTP process that took place at night to syncronize
the two web servers. But that caused problems with Forms and publishing from
Frontpage, and it corrupted the Frontpage Extension on the web server.
These problems are now solved, and the process is turned off. But now the
pages has to be publish by hand. You can imagine that this can take much more
time and effort. The admins that carys out these tasks, would like to see
that this takes place automatically.

My question is this: Is there a way to schedule the publishing task at fixed
times in the same technical way as when you publish by hand using Frontpage?
FTP tools or other kind of synchrosation tools causes problems with
Frontpage Extensions.

Thank you very much in advance.

Bob.
 
Reply With Quote
 
 
 
 
David Berry
Guest
Posts: n/a
 
      8th May 2007
You can use VBA to do this. Here's the core subroutine without any error
checking that Stefan Rusynko had posted once:

Private Sub PublishWeb()
Dim myWeb As Web
Set myWeb = Application.ActiveWeb 'Web Must be Open
Dim myRootURL As Variant
myRootURL = "http://www.yoursite.com/"
Dim myUserid As Variant
myUserid = "TheUserName"
Dim myPword As Variant
myPword = "ThePassword"
Dim myFpPubParam As FpWebPublishFlags
myFpPubParam = fpPublishAddToExistingWeb + _
fpPublishIncremental + fpPublishCopySubwebs
myWeb.Publish myRootURL, myFpPubParam, myUserid, myPword
End Sub

You may also want to post a question in the
microsoft.public.frontpage.programming.vba newsgroup to see if anyone else
has already created a script.

--
David Berry
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
-----------------------------------
To assist you in getting the best answers for FrontPage support see:
http://www.frontpagemvps.com/FrontPa...3/Default.aspx
-----------------------------------


"Mossier" <(E-Mail Removed)> wrote in message
news342EE91-1D7A-447A-8460-(E-Mail Removed)...
> Dear Readers,
>
> I have a question about publishing in Frontpage.
>
> Some background info: At my workplace they use intranet that's completely
> built in Frontpage. It is hosted by two web servers: a Staging or in other
> words development and test server and a Production server. This intranet
> complies of about +- 20000 files varying from HTML pages, Forms, pictures,
> doc and pdf files. The servers are Windows 2000 servers with IIS and
> Frontpage Extensions 2002 installed. On the workstations we have Windows
> XP
> SP1 Dutch language with Frontpage 2003.
> There are quite some Authors that edit pages with Frontpage using the
> Staging server. And there are but a few Admins that are authorized to
> publish
> them to the Production server.
> Previoussly there was a FTP process that took place at night to syncronize
> the two web servers. But that caused problems with Forms and publishing
> from
> Frontpage, and it corrupted the Frontpage Extension on the web server.
> These problems are now solved, and the process is turned off. But now the
> pages has to be publish by hand. You can imagine that this can take much
> more
> time and effort. The admins that carys out these tasks, would like to see
> that this takes place automatically.
>
> My question is this: Is there a way to schedule the publishing task at
> fixed
> times in the same technical way as when you publish by hand using
> Frontpage?
> FTP tools or other kind of synchrosation tools causes problems with
> Frontpage Extensions.
>
> Thank you very much in advance.
>
> Bob.



 
Reply With Quote
 
=?Utf-8?B?TW9zc2llcg==?=
Guest
Posts: n/a
 
      8th May 2007
Hi David,

Thanks. Someone pointed me to this webpage about vba from microsoft too:
http://msdn2.microsoft.com/en-us/library/aa140110(office.10).aspx

I will use your suggestion to post further questions on the vba webpage.

Thanks again.

Bob.

"David Berry" wrote:

> You can use VBA to do this. Here's the core subroutine without any error
> checking that Stefan Rusynko had posted once:
>
> Private Sub PublishWeb()
> Dim myWeb As Web
> Set myWeb = Application.ActiveWeb 'Web Must be Open
> Dim myRootURL As Variant
> myRootURL = "http://www.yoursite.com/"
> Dim myUserid As Variant
> myUserid = "TheUserName"
> Dim myPword As Variant
> myPword = "ThePassword"
> Dim myFpPubParam As FpWebPublishFlags
> myFpPubParam = fpPublishAddToExistingWeb + _
> fpPublishIncremental + fpPublishCopySubwebs
> myWeb.Publish myRootURL, myFpPubParam, myUserid, myPword
> End Sub
>
> You may also want to post a question in the
> microsoft.public.frontpage.programming.vba newsgroup to see if anyone else
> has already created a script.
>
> --
> David Berry
> Microsoft MVP - FrontPage
> FrontPage Support: http://www.frontpagemvps.com/
> -----------------------------------
> To assist you in getting the best answers for FrontPage support see:
> http://www.frontpagemvps.com/FrontPa...3/Default.aspx
> -----------------------------------
>
>
> "Mossier" <(E-Mail Removed)> wrote in message
> news342EE91-1D7A-447A-8460-(E-Mail Removed)...
> > Dear Readers,
> >
> > I have a question about publishing in Frontpage.
> >
> > Some background info: At my workplace they use intranet that's completely
> > built in Frontpage. It is hosted by two web servers: a Staging or in other
> > words development and test server and a Production server. This intranet
> > complies of about +- 20000 files varying from HTML pages, Forms, pictures,
> > doc and pdf files. The servers are Windows 2000 servers with IIS and
> > Frontpage Extensions 2002 installed. On the workstations we have Windows
> > XP
> > SP1 Dutch language with Frontpage 2003.
> > There are quite some Authors that edit pages with Frontpage using the
> > Staging server. And there are but a few Admins that are authorized to
> > publish
> > them to the Production server.
> > Previoussly there was a FTP process that took place at night to syncronize
> > the two web servers. But that caused problems with Forms and publishing
> > from
> > Frontpage, and it corrupted the Frontpage Extension on the web server.
> > These problems are now solved, and the process is turned off. But now the
> > pages has to be publish by hand. You can imagine that this can take much
> > more
> > time and effort. The admins that carys out these tasks, would like to see
> > that this takes place automatically.
> >
> > My question is this: Is there a way to schedule the publishing task at
> > fixed
> > times in the same technical way as when you publish by hand using
> > Frontpage?
> > FTP tools or other kind of synchrosation tools causes problems with
> > Frontpage Extensions.
> >
> > Thank you very much in advance.
> >
> > Bob.

>
>
>

 
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
Publishing with Frontpage 2003 =?Utf-8?B?amFja3NhaW4=?= Microsoft Frontpage 9 12th May 2007 09:50 AM
Frontpage 2003 not publishing all my changes =?Utf-8?B?RGlzY291bnQgRG9ubmE=?= Microsoft Frontpage 1 26th Apr 2006 07:53 PM
Frontpage 2003 publishing help =?Utf-8?B?amFob29qb2U=?= Microsoft Frontpage 1 21st Mar 2006 09:10 AM
FrontPage 2003 Publishing =?Utf-8?B?cHNrd2F0a3M=?= Microsoft Frontpage 1 23rd Sep 2005 08:33 AM
Publishing in Frontpage 2003 Kelly W. Microsoft Frontpage 1 7th Apr 2004 12:28 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:03 PM.