Re: [removehtml] (was: Undocumented tags and contexts)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27906
interpreted = N
texte = Anyone write a little script to remove html tags?> From: Brian Drum > Reply-To: (WebCatalog Talk) > Date: Tue, 22 Feb 2000 09:03:11 > To: (WebCatalog Talk) > Subject: [removehtml] (was: Undocumented tags and contexts) > > Hello all, > This conversation got me thinking about a spot in my templates that > could really use a [removehtml] context. I include a header file in every > page that has a variable titleText. TitleText is used twice: in the HTML > , and again at the top of the page as a header <h1>. It seemed like a > good idea when I first wrote it, but I have since found that I occasionally > need to use a <br> or two to format the text in the <h1>. The result of > having HTML in the <title> tag vary from browser. At best, the text <br> > shows up in the window title, and at worst, everything after the first <br> > shows up at the top of the page. So I was wondering if anyone had an idea > about how to remove the <br> tags from just the <title> without real string > replacement. I am using WebCat 3.0.6 as a plug-in and CGI to WebSTAR. > > Thanks, > > Brian > > :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > : Brian:Drum :::::::::::::::::::: mailto:bdrum@aecsoft.com : > : Web:Designer :::::::::::::::::::: http://www.aecsoft.com : > : AEC:Software;:Inc.:::::::::::::::: tel:703.450.1980 :::::: > :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > > > On 2/17/00 4:02 PM, WebDNA Support wrote: > >> I would not use [removehtml] as it puts random text on your pages. I work for >> SmithMicro and this is the first I have seen of some these tags, my point >> being these may be things that were experimented with in the past and for >> good reasons were left out of the documentation. You are welcome to use them >> at your own risk. You could even write some nice WebDNA that generates words >> to test for undocumented tags. There is no list of undoucumented tags we are >> hiding from everyone and certianly no documention on how they work. > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to <http://www.stalker.com/CommuniGatePro>. > > This message is sent to you because you are subscribed to > the mailing list <WebDNA-Talk@talk.smithmicro.com>. > To unsubscribe, E-mail to: <WebDNA-Talk@talk.smithmicro.com> > To switch to the DIGEST mode, E-mail to > <WebDNA-Talk-digest@talk.smithmicro.com> > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to <http://www.stalker.com/CommuniGatePro>.This message is sent to you because you are subscribed to the mailing list <WebDNA-Talk@talk.smithmicro.com>. To unsubscribe, E-mail to: <WebDNA-Talk@talk.smithmicro.com> To switch to the DIGEST mode, E-mail to <WebDNA-Talk-digest@talk.smithmicro.com> Associated Messages, from the most recent to the oldest:<br /><br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>    </td><td> <ol type="1"> <li><a href="page.dna?numero=27914">Re: [removehtml] (was: Undocumented tags and contexts)</a> (Rob Marquardt <rob@toastdesign.com> 2000)</li> <li><a href="page.dna?numero=27908">Re: [removehtml] (was: Undocumented tags and contexts)</a> (Miguel Castaneda <miguel@travelhub.com> 2000)</li> <li><a href="page.dna?numero=27907">Re: [removehtml] (was: Undocumented tags and contexts)</a> (Joseph D'Andrea <JoeDan@West21.com> 2000)</li> <li>Re: [removehtml] (was: Undocumented tags and contexts) (The Mooseman <frederickslist@mooseweb.com> 2000)</li> <li><a href="page.dna?numero=27905">[removehtml] (was: Undocumented tags and contexts)</a> (Brian Drum <bdrum@aecsoft.com> 2000)</li> </ol> </td></tr></table> Anyone write a little script to remove html tags?> From: Brian Drum <bdrum@aecsoft.com> > Reply-To: <WebDNA-Talk@talk.smithmicro.com> (WebCatalog Talk) > Date: Tue, 22 Feb 2000 09:03:11 > To: <WebDNA-Talk@talk.smithmicro.com> (WebCatalog Talk) > Subject: <a target="_parent" href="page.dna?numero=266">[removehtml]</a> (was: Undocumented tags and contexts) > > Hello all, > This conversation got me thinking about a spot in my templates that > could really use a <a target="_parent" href="page.dna?numero=266">[removehtml]</a> context. I include a header file in every > page that has a variable titleText. TitleText is used twice: in the HTML > <title>, and again at the top of the page as a header <h1>. It seemed like a > good idea when I first wrote it, but I have since found that I occasionally > need to use a <br> or two to format the text in the <h1>. The result of > having HTML in the <title> tag vary from browser. At best, the text <br> > shows up in the window title, and at worst, everything after the first <br> > shows up at the top of the page. So I was wondering if anyone had an idea > about how to remove the <br> tags from just the <title> without real string > replacement. I am using WebCat 3.0.6 as a plug-in and CGI to WebSTAR. > > Thanks, > > Brian > > :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > : Brian:Drum :::::::::::::::::::: mailto:bdrum@aecsoft.com : > : Web:Designer :::::::::::::::::::: http://www.aecsoft.com : > : AEC:Software;:Inc.:::::::::::::::: tel:703.450.1980 :::::: > :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > > > On 2/17/00 4:02 PM, WebDNA Support wrote: > >> I would not use <a target="_parent" href="page.dna?numero=266">[removehtml]</a> as it puts random text on your pages. I work for >> SmithMicro and this is the first I have seen of some these tags, my point >> being these may be things that were experimented with in the past and for >> good reasons were left out of the documentation. You are welcome to use them >> at your own risk. You could even write some nice WebDNA that generates words >> to test for undocumented tags. There is no list of undoucumented tags we are >> hiding from everyone and certianly no documention on how they work. > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to <http://www.stalker.com/CommuniGatePro>. > > This message is sent to you because you are subscribed to > the mailing list <WebDNA-Talk@talk.smithmicro.com>. > To unsubscribe, E-mail to: <WebDNA-Talk@talk.smithmicro.com> > To switch to the DIGEST mode, E-mail to > <WebDNA-Talk-digest@talk.smithmicro.com> > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to <http://www.stalker.com/CommuniGatePro>.This message is sent to you because you are subscribed to the mailing list <WebDNA-Talk@talk.smithmicro.com>. To unsubscribe, E-mail to: <WebDNA-Talk@talk.smithmicro.com> To switch to the DIGEST mode, E-mail to <WebDNA-Talk-digest@talk.smithmicro.com> <em>The Mooseman <frederickslist@mooseweb.com></em> <br /> <a href="page.dna?numero=169"> <p><b>DOWNLOAD WEBDNA NOW!</b></p> </a> <h3>Top Articles:</h3> <b><a href="page.dna?numero=55">Talk List</a></b> <br /> <p>The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...</p> <h3>Related Readings:</h3> <font size="-1"><a href="page.dna?numero=10394">Resume Catalog ? (1997)</a></font> <font size="-1"><a href="page.dna?numero=10955">WC2b15 - [HTMLx]...[/HTMLx] problems (1997)</a></font> <font size="-1"><a href="page.dna?numero=43637">Showing formatted results in tables (2002)</a></font> <font size="-1"><a href="page.dna?numero=14487">[index] (1997)</a></font> <font size="-1"><a href="page.dna?numero=42728">HELP!? (2002)</a></font> <font size="-1"><a href="page.dna?numero=12837">webcat and OS 8 (1997)</a></font> <font size="-1"><a href="page.dna?numero=15055">Firesite and [referrer] atg broke (1997)</a></font> <font size="-1"><a href="page.dna?numero=11939">[ShowNext] (1997)</a></font> <font size="-1"><a href="page.dna?numero=10334">WebCat2 beta 11 - new prefs ... (1997)</a></font> <font size="-1"><a href="page.dna?numero=17526">Webten + Webcat running smooth (1998)</a></font> <font size="-1"><a href="page.dna?numero=17626">Virtual Postcard almost complete... (1998)</a></font> <font size="-1"><a href="page.dna?numero=13999">Multiple cart additions (1997)</a></font> <font size="-1"><a href="page.dna?numero=11108">Nested tags count question (1997)</a></font> <font size="-1"><a href="page.dna?numero=10885">rename a file (1997)</a></font> <font size="-1"><a href="page.dna?numero=11268">[WriteFile] problems (1997)</a></font> <font size="-1"><a href="page.dna?numero=12323">There's a bug in the math context ... (1997)</a></font> <font size="-1"><a href="page.dna?numero=32887">TCPconnect issue (2000)</a></font> <font size="-1"><a href="page.dna?numero=31153">textarea data entry and display (2000)</a></font> <font size="-1"><a href="page.dna?numero=16586">Shopping Cart Problem (1998)</a></font> <font size="-1"><a href="page.dna?numero=37296">prices going buh-bye (2001)</a></font> </div> </body> </html>