Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Webbot 1

Status
Not open for further replies.

Kendel

Programmer
Apr 24, 2002
1,512
US
<!--webbot bot=&quot;Include&quot; U-Include=&quot;../../layout/header.asp&quot; TAG=&quot;BODY&quot; startspan-->

Can anyone please tell me what a webbot is?

Thanks.
 
After I modified the page, when I try to save it, it let me save it but I get a msg says something like &quot;The contents of a Frontpage component has been modified.These contents will be overwritten when you save this page&quot;

But when I open the page, the changes didn't affect. I still got the same old page.

Can someone please explain me why frontpage does this?

many thanks.
 
webbots in frontpage are internal uhm .. bookmarks, for FP to use to remember where something is from like an include like that, refrences the virtual location of the included file and if the included file is modified, then FP extentions will update all pages with the webbots that refer to the include...

basically webbots are the internal handlers for FP to keep track of what you/it's doing.

and if you modify a page with a webbot in it, more than likely frontpage wont like it, OR you'll break the page off from the standard 'auto-update' ability of FP

be careful editing outside of FP
 
Thanks.

I event edited the page in notepad then put it back, it still doesn't work. Is there anyway to get around this?

Thanks
 
once you've modified the webbots the pages are 'broken' they still might work but FP wont like them anymore

best thing is to strip everything between the webbot tags, then rebuild the page in FP putting the includes BACK in again, then do the editing inside of frontpage via it's html editor, less chance of damage that way.
 
Thanks DreXor. It's too complicate for me. I don't know much about FP & ASP.

Thanks for your help!
 
the webbot tags are easy to find in a file, they have a distinct start and end point, all encased in HTML comment tags <!-- webbot blah start --> and <!-- webbot blah end -->

make backups first

just strip these tags and what's between them( make sure you are getting the matching pairs instead of getting webbot 1 start and clearing to webbot2 end ( taking out other page code with them ))

after the cleanup save the cleaned out file, and remove the archive/change file made by FP i think stored in the _private folder it will have the exact same name as the edited file, so wont be hard to find

then open the cleaned up file in front page and re-add your web includes to repair the file back to the point of original modification.

and when working with a frontpage enabled and FP maintained website, before any changes always make backups it's not difficult at all to mess things up for FP
 
Now I know what the problem is. Thanks for a clear explaination!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top