Solved

How to update webbot include files

Posted on 2011-02-11
9
551 Views
Last Modified: 2012-05-11
I have taken over support of a website developed with FrontPage. I use DreamWeaver. I need to make changes to an include file that is inserted into many web pages via webbot "Include". I made the changes to the include file. How do I get the new include file to be inserted in the pages?
0
Comment
Question by:softechnics
  • 5
  • 4
9 Comments
 
LVL 33

Expert Comment

by:paulmacd
Comment Utility
If it's the same file, won't it already be included?
0
 

Author Comment

by:softechnics
Comment Utility
I would have expected that, but no. When I look at the source code of any page, I see the code of the previous include file is already there, not a link to the include file like I would expect with SHTML, etc.
0
 
LVL 33

Expert Comment

by:paulmacd
Comment Utility
To be clear:  Are you creating a whole new include or are you editing the existing one?

If you're working in Dreamweaver, make sure you're editing the live files.  I believe Dreamweaver will create a "staged" set of pages that need to be published.  You can try this: Make a copy of the extant include file, then use a text editor (notepad or some such) and edit the live include directly.  
0
 

Author Comment

by:softechnics
Comment Utility
I am trying to make changes to the current include file. I do not own/use FrontPage. The website was developed by a 3rd party we contracted with that used FrontPage.

I see the included code is embeded within two 'webot' tags. The ending tag has a checksum parameter. Do I have to acquire and use FrontPage to do this task for me? If not, how would I generate a new checksum? Is it required? Does it have to be valid?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 33

Expert Comment

by:paulmacd
Comment Utility
I'd wager the webbot tag is there because Frontpage didn't understand the <include> syntax, unless there is a Frontpage component between the opening and closing tags.  It (the webbot tag) is probably not necessary at all for the page to work properly, but it shouldn't be interferring with anything either.

Is the include code syntactically correct (is it pointing to the proper file name, etc)?  If you intentionally "break" the include tag (by mistyping the name of the included file), is that change reflected when you view the page?
0
 

Author Comment

by:softechnics
Comment Utility
From what I've read, FrontPage incldues the include file at edit time, so the source, when uploaded to the server, already has the include file embedded within it. Without using FrontPage, how do I "re-embed" the changed code on the server?
0
 
LVL 33

Accepted Solution

by:
paulmacd earned 500 total points
Comment Utility
Frontpage may bring the include file in the the edit view - so you can preview what the final page will look like - but it doesn't embed the included code in the page as it's published to the web server.  

Can you not open a page that contains the include tag, in a text editor, directly from the web server?  If you can, you should see the page has the include tag in it.  You don't need to change the page of course, you need to change the include file.  That should be as simple as editing it.  I understand that's what you're trying to do, but I question whether Dreamweaver is editing the include file on the web server or a copy of it that's cached on your computer somewhere.  If you bypass Dreamweaver, go to the web server, open the include file in a simple text editor, make your changes and save the include file, I think you'll see the update being served up properly.
0
 

Author Closing Comment

by:softechnics
Comment Utility
I'll give you the points for your effort. It never did work, but it's becoming such a resource drain I just copied the code into all the pages. The site is doomed for obsolence anyways, so I'm not wasting any more time on it.

Thanks.
0
 
LVL 33

Expert Comment

by:paulmacd
Comment Utility
Thanks, but I'm sorry we couldn't get it right for you.  
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Ezidebit payment gateway 5 79
online form save filled out 10 48
How to display HTML content in APEX 5.0? 5 72
Blue Coat API portal URL 2 117
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now