X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Message-ID: <36221CF3.CD478FF8@concentric.net> Date: Mon, 12 Oct 1998 11:14:59 -0400 From: Eric Durant X-Mailer: Mozilla 4.5b2 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: microsoft.public.frontpage.client To: "Mark Fitzpatrick (MSMVP)" Subject: Re: Substitution Component as HREF Value? References: <361BCA99.B882E402@concentric.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks for the advice; this sounds like a clean way to achieve what I want to do, but I'm running into problems with the Include bot. Using FP98, I have created a folder on the IIS w/ FPSE server at the root level of the Web called "include". Within this, I've placed a file called "webmaster.html" with just the tag for an e-mail link. I can go directly to this file in a browser and it displays correctly (of course, there are no HTML/BODY/etc. tags, but the browser handles the raw ). In the FP98 Editor, I select "Insert | FrontPage Component | Include Page". (Of course, I'm not including a page, but an HTML snippet - perhaps I'm using the wrong bot? Am I right to assume this is analogous to the NCSA-style #include directive?) Then, in the Editor's Normal and Preview panes, the linked address appears, but FrontPage has moved down to a new line (I want it in-line with the surrounding paragraph.). This "virtual newline" cannot be removed with the backspace key. Worse yet, when I view the page from the remote server using a browser, The substitution text does not show at all. The generated HTML code is: [text leading up to bot] [text following bot] (I have used "Tools | Recalculate Hyperlinks", but it does not affect the results.) So, it appears that this might be a problem with either the server extensions or the mapping of the path "include/" on the remote server? Also, I searched the FrontPage manual, the FrontPage help file, Microsoft's support site, and the Web overall, and I could not find detailed documentation on the Include bot. Specifically, I'm wondering what the formal definitions of the "U-Include" and "TAG" bot attributes are. Any help on this, including pointers in the right direction, would be greatly appreciated. "Mark Fitzpatrick (MSMVP)" wrote: >You can create an empty page with the anchor text the way you want >it then use the FP Include bot to insert it wherever you want to. >Any time you edit the included page you can then do a Tools | >Recalculate Hyperlinks in FP Explorer to make sure that everything >is updated. > > Hope this helps, > Mark Fitzpatrick > Microsoft MVP - FrontPage >Eric Durant wrote in message <361BCA99.B882E402@concentric.net>... >>In the FrontPage '98 Editor, is it possible to use Insert | FrontPage >>Component | Substitution for both a portion of the HREF attribute and >>the text of an anchor? For example, I want to have a parameter >>called WebmasterEmail set to "user@domain.com" and have FPSE render: >> >>user@domain.com >> >>I have found no way to do this with the graphical editor and when I >>try the obvious replication of the FPSE comment inside the HREF >>attribute using the "HTML" view of the page, it is parsed differently >>than I intend, yielding gibberish. Eric Durant --- Website: http://www.edurant.com/ ICQ: 9118339