Forum Moderators: open

Message Too Old, No Replies

page include drives me crazy

         

error404

2:33 pm on Nov 3, 2005 (gmt 0)

10+ Year Member



Hi all,

I made a site with an upload map so a friend of mine can upload his "action_of_the_week.htm" via an FTP program.

In the file called "this_week.htm" I inserted:

<!--webbot bot="Include" U-Include="../upload/action_of_the_week.htm" TAG="BODY" -->

Works fine until here. He uploaded his first "action_of_the_week.htm" to the upload map and checked www.his-url.com/upload/action_of_the_week.htm. Everything okay! BUT when I checked clicked the button to see "this_week.htm" the old text was shown.

So if you go to "www.his-url.com/upload/action_of_the_week.htm" you'll see the new text and if you go to "this_week.htm" (in which "action_of_the_week.htm" is included) you'll see the old text. This isn't a IE-cache issue, cause it's on every pc.

Please help me!

tedster

8:31 pm on Nov 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Am I correct in assuming you are using FrontPage includes? the "webbot" code makes me think so.

If so, as I understand it anyway (not being a user of FP), the page with the included material must be "published" when the include file is updated -- sending the updated page file by FTP won't change anything because FP must integrate the content on the local machine. That is, the include functions locally, not on the server the way a SSI does.

If I'm correct about the fact that you are using FrontPage, you can find more help in our WYSIWYG Editors [webmasterworld.com] forum where editors such as FrontPage, GoLive and so on are the main focus. In fact, there is a tutorial about FrontPage includes [webmasterworld.com] that may give you some help.

error404

9:19 am on Nov 4, 2005 (gmt 0)

10+ Year Member



Hi Tedster, yes you're right. I am using FP, but would like to be more independent from it's generated source code.

Thanks for making my problem clear. Is there a line of code which I can put in the page where an other page was to be included so I work around this problem?

Thanks!

tedster

6:22 pm on Nov 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Read up on "server-side includes" also called SSI. Note that your host must have this functionality enabled on your server for it to work. And page extensions are, by default, shtml. But this can also be handled so that your present urls don't need to change.

Your hosting service will be an important source of information here on just what support they offer and how.

A Google search restricted to just WebmasterWorld [google.com] shows 11,000 results on the topic!