Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / May 2008

Tip: Looking for answers? Try searching our database.

Publishing with Publisher 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sharon - 30 May 2008 09:21 GMT
Hi,

I'm new on web design, so may be my question is a silly question, but I
can't see clear how to publish my web.

I already did my web page, static web, and it works fine
http://www.telefonica.net/web2/vilacardona
but all it has is images and links.

Problem comes to me when I want to (via VBA) read a file 'all-sensors.xml',
wich is placed in a folder of this provider (www.telefonica.net), and process
some info from it. Then  with the results I fill a text.frame and show it in
the page. This works fine when I do this publising my web in my own system
(PC), but when if I upload this index.htm, obviously, OPEN sentence crashes,
because looks for c:/.....

Ed Bennet told me I can't use OPEN when URL or HTTP is in the path.

My actions are:
1. Create/edit a myproject.pub in my file
2. Publish it
3. FTP index.htm to my web folder
So, I understand index.htm needs to be in my providers folder, but then I
don't know how to OPEN 'all-sensors.xml' file (which, as said, is in same
folder updated every 5 minutes)

Is wrong my approach? Where has to be placed myproject.pub?

Here i publish lines of code involved:
...
   Set pbShape = ThisDocument.Pages(1).Shapes(24)
   'tit = ThisDocument.Path & "all-sensors.xml"
   'Open tit For Input As #1
   Open "c:\all-sensors.xml" For Input As #1
   col = 0
   res = ""
   Line Input #1, strTest
...
   pbShape.TextFrame.TextRange.Text = res
....

sharon
DavidF - 30 May 2008 16:43 GMT
Ed Bennet is the expert when it comes to using VBA, and if he says that what
you want to do can't be done, then it is likely it can't. To my knowledge
the use of VBA is limited to Publisher files on a local computer, not a web
page.

Publisher produces static sites, and it sounds like you are looking for
dynamic functionality that is beyond the capability of Publisher. To update
Publisher webs, you make the changes in the Pub file, produce new web pages,
and upload those. There is no way to automate that process to my knowledge.
If you want your pages to be dynamically updated, then you probably need to
look at a server side solution. Sorry.

DavidF

> Hi,
>
[quoted text clipped - 42 lines]
>
> sharon
sharon - 30 May 2008 17:39 GMT
Thanks DavidF,

It's a pitty and almost unbelievable... but many thanks.

sharon

> Ed Bennet is the expert when it comes to using VBA, and if he says that what
> you want to do can't be done, then it is likely it can't. To my knowledge
[quoted text clipped - 56 lines]
> >
> > sharon
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.