Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to update webbot include files

Posted on 2011-02-11
9
Medium Priority
?
573 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 34874580
If it's the same file, won't it already be included?
0
 

Author Comment

by:softechnics
ID: 34874912
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 34

Expert Comment

by:Paul MacDonald
ID: 34887905
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
Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

 

Author Comment

by:softechnics
ID: 34888553
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
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 34888632
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
ID: 34888639
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 34

Accepted Solution

by:
Paul MacDonald earned 2000 total points
ID: 34888707
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
ID: 34955419
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 34

Expert Comment

by:Paul MacDonald
ID: 34955453
Thanks, but I'm sorry we couldn't get it right for you.  
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
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.
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…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

721 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