BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Page Produce HTMLFile property

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Mark Horrocks
Guest





PostPosted: Thu Mar 08, 2007 9:11 am    Post subject: Page Produce HTMLFile property Reply with quote



The PageProduce.HTMLFile property wants to get its file from a local path on
the disk. Is there any way to make a page produce get its file from a URL?
(remote site).

What I want to do is have only my ISAPI on my server and all pages and
images on a remote server. That way my customers can edit their own pages as
long as they retain my tags. I know that I can just give them ftp access to
their own directory but that's not what I want.

Mark Horrocks
Back to top
Wilbert van Leijen
Guest





PostPosted: Fri Mar 09, 2007 1:07 am    Post subject: Re: Page Produce HTMLFile property Reply with quote



Mark Horrocks wrote:

Quote:
The PageProduce.HTMLFile property wants to get its file from a local path on
the disk. Is there any way to make a page produce get its file from a URL?
(remote site).

Sure. Use a TidHTTP component and its Get property.
Back to top
Mark L. Tiede
Guest





PostPosted: Sun Mar 11, 2007 4:08 am    Post subject: Re: Page Produce HTMLFile property Reply with quote



Mark,

What I did was link the property to the local file to make the IDE happy.
Then I chopped off the beginning part of the path. I don't have the code in
front of me, but I think I made a virtual directory so that the chopped path
was proper relative to the virtual directory.

Hopefully, that gives you a hint as to what to do. If you can't figure
out what the heck I am saying, post another reply and when I get to work I
will check out exactly what I did.

I think it may also have involved iterating through all the webmodule
components looking for pageproducers that had a path and putting the actual
full path in the property when running under the web app debugger because
wad doesn't allow virtual directories. That code was conditional depending
on if I was running the wad project.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.