[thelist] IIS 5 redirect variables

Diego H. Wang hwang at nd.edu
Thu Jun 13 15:07:01 CDT 2002


Hi,
I am using IIS 5. I am making a redirection on one directory. I want to use
those redirect Variables such as $S, ! etc. Anybody can give me an example?
Especially, I am looking at the ! variable. I want to use this variable to
prevent redirecting a subdirectory. How should I use it?

Thanx,
Diego
----- Original Message -----
From: <thelist-request at lists.evolt.org>
To: <thelist at lists.evolt.org>
Sent: Thursday, June 13, 2002 12:03 PM
Subject: thelist digest, Vol 1 #2386 - 37 msgs


> Send thelist mailing list submissions to
> thelist at lists.evolt.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.evolt.org/mailman/listinfo/thelist
>
> You can reach the person managing the list at
> thelist-admin at lists.evolt.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of thelist digest..."
>
>
> Today's Topics:
>
>    1. Re: Web-based wysiwyg html editors ? (Paul Woods)
>    2. Re: Web-based wysiwyg html editors ? (Androse Rosewood)
>    3. Re: idealism (Techwatcher)
>    4. cookie pb (Carine Lambert)
>    5. Re: Re: Web-based wysiwyg html editors ? (Michael Kimsal)
>    6. Re: Web-based wysiwyg html editors ? (Michael Kimsal)
>    7. Re: Height attribute on TABLE (was Re: [thelist] Accesibility Tip)
(Techwatcher)
>    8. Re: Web-based wysiwyg html editors ? (Michael Kimsal)
>    9. CSS question (Raymond Camden)
>   10. Re: Validation > pressure on software companies?? (Techwatcher)
>   11. RE: pattern match three or more of the same character r
>        epeated in a row (Means, Eric D)
>   12. Re: CSS question (Samir M. Nassar)
>   13. Re: not wrap text around graphic (Techwatcher)
>   14. Re: SSI in XML (Techwatcher)
>   15. RE: CSS question (Raymond Camden)
>   16. RE: CSS question (Samir M. Nassar)
>   17. js form validation problem (Karen J. Bowen)
>   18. RE: CSS question (Raymond Camden)
>   19. RE: pattern match three or more of the same character r
>        epeated in a row (Plunkett, Matt)
>   20. Re: Validation > pressure on software companies??
(Arlen.P.Walker at jci.com)
>   21. Re: Validation > pressure on software companies??
(Arlen.P.Walker at jci.com)
>   22. Re: ie css (Arlen.P.Walker at jci.com)
>   23. Re: Web-based wysiwyg html editors ? (Androse Rosewood)
>   24. perl on the localhost (Paul J White)
>   25. Re: Re: SSI in XML (Arlen.P.Walker at jci.com)
>   26. Re: pattern match three or more of the same character repeated in a
row (cspruck at mindspring.com)
>   27. RE: perl on the localhost (Plunkett, Matt)
>   28. Re: Re: SSI in XML (Joel Konkle-Parker)
>   29. tip (ashok at magicalkenya.com)
>   30. Re: js form validation problem (Jeff C)
>   31. Re: anyone have Movable Type (blog) experience? (Michele Foster)
>   32. RE: anyone have Movable Type (blog) experience? (Tony Crockford)
>   33. RE: anyone have Movable Type (blog) experience? (Means, Eric D)
>   34. RE: Web-based wysiwyg html editors ? (Shashank Tripathi)
>   35. Re: js form validation problem (Howard Cheng)
>
> --__--__--
>
> Message: 1
> From: "Paul Woods" <paul at flyingpylon.com>
> To: <thelist at lists.evolt.org>
> Date: Thu, 13 Jun 2002 08:05:07 -0500
> Subject: [thelist] Re: Web-based wysiwyg html editors ?
> Reply-To: thelist at lists.evolt.org
>
> Here is a link to a page that lists several, of varying quality.
>
> http://www.bris.ac.uk/ISC/cms/ttw.html
>
> I liked WebEdit Pro at http://www.webedpro.com/index.html.  It's IE 5+
only
> though, and comes as part of a larger site management system.  It's pretty
> cheap - $145.  You could throw out the management part and just use the
> editor and it would still be a good deal.
>
> And by the way, most IE-only editors do not use ActiveX controls, they use
> IFrames, JavaScript and MSHTML and take advantage of built-in IE
> capabilities.
>
> Paul
>
> Paul R. Woods
> Flying Pylon Web Solutions
> http://www.flyingpylon.com
>
>
> --__--__--
>
> Message: 2
> Date: Thu, 13 Jun 2002 15:14:38 +0200
> To: thelist at lists.evolt.org
> From: Androse Rosewood <auguste at mac.com>
> Subject: Re: [thelist] Web-based wysiwyg html editors ?
> Reply-To: thelist at lists.evolt.org
>
> Vu "Re: [thelist] Web-based wysiwyg html editors ?", du 13/06/02 à
8:42 -0400 :
> >http://www.labs4.com/go/index.php is a good place to start.  They've got
a
> >decent standalone editor for $12.
>
> Thanks.
>
> >We are working on a Mozilla-based version of a WYSIWYG editor
> >for our LogiCreate.com app server, but Mozilla still basically sucks for
> >this sort of stuff, and it'll be some time before it works even remotely
> >as well as the IE/Windows component.
>
> Are you using XBL, as they suggest it here :
>
http://www.mozilla.org/editor/editor-embedding.html#Composer_embedded_in_a_w
eb_page
> ?
> Do you think there is any chance I can get something working in, say,
> 3 days ? I have never worked with the mozilla platform yet (XUL, etc).
>
> This example :
> http://www.siteexperts.com/ie5/htmlarea/page1.asp
> ...uses the IE5+/Win tag <htmlarea> to achieve exactly what i'm
> looking to do, at least i think it does, because I don't have a
> windows machine with me right now.
>
>
> - androse
>
> --__--__--
>
> Message: 3
> From: "Techwatcher" <techwatcher at accesswriters.com>
> To: thelist at lists.evolt.org
> Date: Thu, 13 Jun 2002 09:15:36 -0400
> Subject: [thelist] Re: idealism
> Reply-To: thelist at lists.evolt.org
>
>
> > casting idealism in a bad light? For me, I'm trying to run away from
> > mediocrity...
> > > In my opinion idealism makes people loose track of the whole
> picture and
> > > waste resources which could have been spent better somewhere else.
> If
> > > you
> > > want an ideal solution you are going to chase after it for the rest
> of
> > > your
> > > life. Idealism can make one fanatic und less objective. There is
> always
> > > something you can make better, it's just the question if it's worth
> > > doing
> > > it.
>
> Actually, for those of us who are waaaay overeducated, the question of
> when to optimise and when to "satisfice" comes down to mathematics. The
> above are terms from Game Theory, which apply to certain *classes  of
> problems*. Many other *classes of problems* do have optimal solutions
> which it makes sense to seek. So, sometimes, do the best possible job.
> Other times, good enough IS good enough (improvements will require
> extraordinary effort in return for diminishingly small improvements).
> It can be useful to learn how to tell the difference (way beyond the
> scope of this list, though). (-8
>
> Cheers
> Carol Stein
> techwatcher at accesswriters.com
>
> --__--__--
>
> Message: 4
> From: "Carine Lambert" <Carine.Lambert at infocandy.com>
> To: <thelist at lists.evolt.org>
> Date: Thu, 13 Jun 2002 11:33:36 +0200
> Subject: [thelist] cookie pb
> Reply-To: thelist at lists.evolt.org
>
> --
> [ Picked text/plain from multipart/alternative ]
> Something strenge happen with win98, ie6.
>
> The machine accepts cookies except the one with an expiry date specify.
> Do you have an idea why and how to modify this.
>
> Thanks
> Carine
> --
>
>
> --__--__--
>
> Message: 5
> Date: Thu, 13 Jun 2002 09:32:34 -0400
> From: Michael Kimsal <michael at tapinternet.com>
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Re: Web-based wysiwyg html editors ?
> Reply-To: thelist at lists.evolt.org
>
> Paul Woods wrote:
>
> > And by the way, most IE-only editors do not use ActiveX controls, they
use
> > IFrames, JavaScript and MSHTML and take advantage of built-in IE
> > capabilities.
>
> To the best of my knowledge, the MSHTML was considered an activex
> control.  Perhaps my terminology is wrong?
>
>
> --__--__--
>
> Message: 6
> Date: Thu, 13 Jun 2002 09:34:59 -0400
> From: Michael Kimsal <michael at tapinternet.com>
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Web-based wysiwyg html editors ?
> Reply-To: thelist at lists.evolt.org
>
> Androse Rosewood wrote:
>
> >
> > Are you using XBL, as they suggest it here :
> >
http://www.mozilla.org/editor/editor-embedding.html#Composer_embedded_in_a_w
eb_page
> >
>
> That document is just suggesting that's how the mozilla dev team
> would approach it if they build one, which they haven't yet (released,
> anyway).
>
> I believe we're using XUL, but I'm not the person developing it,
> and he's out of town today, so I can't ask him.  :(  In any event, it's
> still a long ways from being useful under Mozilla because there are
> security settings which you need to change and then restart the browser.
>
>
> > ?
> > Do you think there is any chance I can get something working in, say,
> > 3 days ? I have never worked with the mozilla platform yet (XUL, etc).
> >
> > This example :
> > http://www.siteexperts.com/ie5/htmlarea/page1.asp
> > ...uses the IE5+/Win tag <htmlarea> to achieve exactly what i'm
> > looking to do, at least i think it does, because I don't have a
> > windows machine with me right now.
> >
> >
> >     - androse
>
>
>
>
> --__--__--
>
> Message: 7
> From: "Techwatcher" <techwatcher at accesswriters.com>
> To: thelist at lists.evolt.org
> Subject: Re: Height attribute on TABLE (was Re: [thelist] Accesibility
Tip)
> Date: Thu, 13 Jun 2002 09:34:36 -0400
> Reply-To: thelist at lists.evolt.org
>
> > >> What's up with the W3 validator? It tells me for example that the
> height
> > >> attribute for tables is not supported in 4.01 transitional. Can
> this be?
> > >
> > > Well, just read the spec and you'll see that there isn't a height
> attribute:
> > >
> > > http://www.w3.org/TR/html401/struct/tables.html#edef-TABLE
> > >
> > > Height on TABLE was introduced by Netscape in version 1.1, but has
> never
> > > been part of any W3C HTML specification.
> >
> > So should I have used the <td> tags to control height to conform?
> This seems
> > to be valid, but also depreciated. Why is this? Is tere a better way
> to
> > control table height?
> >
> > Will pages conforming to the w3 validator's standards always render
> > correctly?
> >
> > I have used the "background" attribute in some instances which is not
> > validated. It depreciates very well, but it does not conform to the
> w3c
> > specs. I don't think I should slavishly stick to the w3c
> recommondation in
> > this case. Any other opinions?
> >
> > Thanks in advance,
> >
> > Sebastian
> >
>
> Again, from reading the CSS2 specs, I suspect height is not supported
> for tables because the standards developers are moving towards
> reconceptualizing the block (and block-like) thingies. We are moving in
> the direction of "all stuff to be REPLACED (such as IMG)" must have
> height and width (or size) attributes specified. All stuff not to be
> REPLACED (i.e., TABLE tag) may NOT have size attributes.
>
> The height & width are supposed to be there so the browser can allocate
> space while it's following the rules to render the DOM, after all.
> Table doesn't need a height (or width) according to this model. All its
> sub-objects have containing boxes with their own padding/border/margin,
> so the total height will be computed.
>
> If you're trying to control a table's height to make it printable, you
> can create a CSS just for that medium.... It won't have any effect on
> the other (screen) rendering.
>
> Cheers --
> techwatcher (Carol Stein)
>
> --__--__--
>
> Message: 8
> Date: Thu, 13 Jun 2002 09:41:26 -0400
> From: Michael Kimsal <michael at tapinternet.com>
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Web-based wysiwyg html editors ?
> Reply-To: thelist at lists.evolt.org
>
>
>  > Do you think there is any chance I can get something working in, say,
>  > 3 days ? I have never worked with the mozilla platform yet (XUL, etc).
>
> Not under Mozilla, no way, not even if you've worked with it for months.
>
>
>
> > This example :
> > http://www.siteexperts.com/ie5/htmlarea/page1.asp
> > ...uses the IE5+/Win tag <htmlarea> to achieve exactly what i'm
> > looking to do, at least i think it does, because I don't have a
> > windows machine with me right now.
>
> Very strange, cause it's not working under IE6 on my W2k box.  Perhaps
> it's *only* for IE5?  This points up an issue even under
> supposedly homogenous 'MS' platforms - often wildly differing behaviour
> on seemingly similar platforms.  To illustrate, we've got the same
> base software on our machines and a client's machine, but his
> 'luck' with our visual editor (MSHTML component) is bad compared with
> ours - his system keeps reformatting embedded PHP code and whatnot in
> the HTML area - it doesn't on ours.  He's got an earlier version of
> Office installed, but that's about the only difference between the
> systems.  But it makes a *huge* difference in how the stuff behaves.  :(
>
> Michael Kimsal
> http://www.logicreate.com
> 734-480-9961
>
>
> --__--__--
>
> Message: 9
> From: "Raymond Camden" <jedimaster at macromedia.com>
> To: <thelist at lists.evolt.org>
> Date: Thu, 13 Jun 2002 09:39:08 -0400
> Subject: [thelist] CSS question
> Reply-To: thelist at lists.evolt.org
>
> I've got (what I hope is) a simple CSS question. On my personal home
> page I use a 'block' style effect to wrap my content. However, my image
> on the home page (I'm the older one ;) bleeds out of the box on both IE
> and Mozilla. Any ideas? .jeff suggested this CSS style:
>
> .content img {
>   display: block;
> }
>
> but it didn't work for me. .content is:
>
> .content {
> /* width:100%;*/
> min-width:120px;
> /* height: 100%; */
> /* top, right  */
> margin:0px 20px 20px 20px;
>
> border:1px solid black;
> background-color:white;
> padding:10px;
> }
>
> and the source using it is:
>
> <div class="content">
> <h1>Welcome</h1>
> <img src="images/ray6.jpg" width="280" height="290" alt="My son
> and I" border="0" align="left" hspace=6>
> <p>Welcome to the personal home page of Raymond K. Camden,
> Principal Spectra
> Compliance Engineer for <a
> href="http://www.macromedia.com">Macromedia, Inc</a>.
> On my home page you will find links to my ColdFusion development
> as well as
> [deletia]
> </p>
>
> </div>
>
> =======================================================================
> Raymond Camden, ColdFusion Jedi Master for Macromedia
>
> Email    : jedimaster at macromedia.com
> Yahoo IM : morpheus
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
>
> --__--__--
>
> Message: 10
> From: "Techwatcher" <techwatcher at accesswriters.com>
> To: thelist at lists.evolt.org
> Date: Thu, 13 Jun 2002 09:43:13 -0400
> Subject: [thelist] Re: Validation > pressure on software companies??
> Reply-To: thelist at lists.evolt.org
>
> > Watching this list for a while I realized everybody thinks that
> validation
> > is important.
> >
> > I've seen valid code that breaks on NN 4.5 Mac. So the validator
> seems to me
> > no measure to assure correct page display.
> >
> > This leads me to the conclusion that the only reason validation makes
> sense,
> > is to discipline software companies to stick to some standard. I am
> really
> > not understanding this otherwhise.
> >
> > I personally clearly prefer a page that works and depreciates nicely
> over a
> > page that sticks to some standard which causes display errors. Please
> help
> > me to understand. I feel really funky, because everybody makes such a
> big
> > deal about validation and then in some instances the page does not
> even
> > display correctly! What's the point then??
> >
> > Sebastian
> >
>
> Obviously, if you're new to Web "design" you weren't coding back in
> 1996 (as I was). (-8
> If you had been coding for some years, you might have noticed that the
> Web pages you created that were great a year or two ago, now are either
> dated, or just don't really work well compared to newer models. More
> importantly, they are hard to update.
>
> The more one deviates from standards, the harder they are to update.
>
> I try to read the standards now and stick to them (I've been trying to
> use XHTML v.1 for over year, for example). It just makes life much
> easier down the road.
>
> Cheers --
> techwatcher (Carol Stein)
>
> --__--__--
>
> Message: 11
> From: "Means, Eric D" <eric.d.means at boeing.com>
> To: "'thelist at lists.evolt.org'" <thelist at lists.evolt.org>
> Subject: RE: [thelist] pattern match three or more of the same character r
> epeated in a row
> Date: Thu, 13 Jun 2002 08:40:35 -0500
> Reply-To: thelist at lists.evolt.org
>
> >  -----Original Message-----
> > From: cspruck at mindspring.com [mailto:cspruck at mindspring.com]
> > Sent: Wednesday, June 12, 2002 6:54 PM
> > To: thelist at lists.evolt.org
> > Subject: Re: [thelist] pattern match three or more of the same
> character repeated in a row
> >
> >
> >
> > On Wed, 12 Jun 2002 13:59:54 -0700 (PDT) Julie O'Neil
> <julievoneil at yahoo.com> wrote:
> >
> > I need to match if a given string contains three or more of the same
> character repeated in a row.
> > ------------------------------------------------
> >
> > Julie,
> >
> > Something along the lines of this should work for you:
> >
> > [a-zA-Z0-9]{3,}
>
> While this will match 3 characters, it *won't* match the *same* character
> repeated three times.  The OP wanted to match these: aaa bbb xxx zzz but
not
> these: aab xea drf.  As I read the question, anyway.
>
> Unfortunately I don't have an answer.  If you're using Perl you'll have to
> use some sort of look-ahead or look-behind... read the regex man page
here:
> http://www.perldoc.com/perl5.6.1/pod/perlre.html for more info.
>
> --__--__--
>
> Message: 12
> Subject: Re: [thelist] CSS question
> From: "Samir M. Nassar" <nassarsa at redconcepts.net>
> To: thelist at lists.evolt.org
> Date: 13 Jun 2002 09:05:07 -0500
> Reply-To: thelist at lists.evolt.org
>
> URL?
>
> It is good to see things 'in the wild'
>
>
> Samir M. Nassar
> RedConcepts.NET - http://redconcepts.net
>
>
> --__--__--
>
> Message: 13
> From: "Techwatcher" <techwatcher at accesswriters.com>
> To: thelist at lists.evolt.org
> CC: jswiders at cs.oberlin.edu
> Date: Thu, 13 Jun 2002 09:50:54 -0400
> Subject: [thelist] Re: not wrap text around graphic
> Reply-To: thelist at lists.evolt.org
>
> > Does anyone know how to make the text on this:
> > http://cs.oberlin.edu/~jswiders/
> > not wrap round the graphic in ie? (and wherever else it may do so; I
> only have
> > ie6 on hand).
> > Also, if anyone knows how to make the tip-top header not show up
> behind the
> > picture like the last time i looked, that'd be handy too
>
> The BR tag with attribute CLEAR has been around forever, more or less.
> (-8
>
> I don't know off-hand which browsers support <br clear="both" /> but
> the effect certainly should be to make the graphic have text wrapping
> on NEITHER side of it. If you use an IMG with align = left, you would
> wrap the text to the right by using BR CLEAR="RIGHT", for example -- I
> believe that works pretty much anywhere that renders images.
>
> Cheers --
> techwatcher (Carol Stein)
>
> --__--__--
>
> Message: 14
> From: "Techwatcher" <techwatcher at accesswriters.com>
> To: thelist at lists.evolt.org
> CC: jjk3 at msstate.edu
> Date: Thu, 13 Jun 2002 09:54:10 -0400
> Subject: [thelist] Re: SSI in XML
> Reply-To: thelist at lists.evolt.org
>
>
> > For the design of my website (http://www.ballsome.com/test/), I
> > really need to have a Server-Side Include in an XML document. As of
> > my knowledge, however, my hosting service doesn't support that, only
> > SSI with HTML. The file that needs to be included is an automatically
> > generated text file with markup, news.txt. I've tried the following
> > things:
> >
> > 1. rename index.xml to index.html of type text/xml
> > didn't work, SSI parser apparently needs text/html
>
> Don't know your server, but mine (Linux/Apache) requires the file
> extension to be Shtml, not html (that is, shtml) in order to process
> SSI.
>
> Cheers --
> techwatcher (Carol Stein)
>
> --__--__--
>
> Message: 15
> From: "Raymond Camden" <jedimaster at macromedia.com>
> To: <thelist at lists.evolt.org>
> Subject: RE: [thelist] CSS question
> Date: Thu, 13 Jun 2002 09:55:30 -0400
> Reply-To: thelist at lists.evolt.org
>
> Heh, I was hoping to avoid showing off my disgustingly simple and boring
> home page...
>
> www.camdenfamily.com/morpheus
>
> The issue is right there on the home page.
>
> =======================================================================
> Raymond Camden, ColdFusion Jedi Master for Macromedia
>
> Email    : jedimaster at macromedia.com
> Yahoo IM : morpheus
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
> > -----Original Message-----
> > From: thelist-admin at lists.evolt.org
> > [mailto:thelist-admin at lists.evolt.org] On Behalf Of Samir M. Nassar
> > Sent: Thursday, June 13, 2002 10:05 AM
> > To: thelist at lists.evolt.org
> > Subject: Re: [thelist] CSS question
> >
> >
> > URL?
> >
> > It is good to see things 'in the wild'
> >
>
>
> --__--__--
>
> Message: 16
> Subject: RE: [thelist] CSS question
> From: "Samir M. Nassar" <nassarsa at redconcepts.net>
> To: thelist at lists.evolt.org
> Date: 13 Jun 2002 09:19:31 -0500
> Reply-To: thelist at lists.evolt.org
>
> Raymond,
>
> CSS is many things, least of which boring. ;)
>
> Samir
>
>
> --__--__--
>
> Message: 17
> Date: Fri, 14 Jun 2002 00:02:03 +1000
> From: "Karen J. Bowen" <karen at miinx.com.au>
> To: thelist <thelist at lists.evolt.org>
> Subject: [thelist] js form validation problem
> Reply-To: thelist at lists.evolt.org
>
> I'm having a problem with returning the focus to the correct form
> element after doing simple js validation.
>
> The JS is:
>
> function chkNum(sName) {
> var sv = sName.value
> if (isNaN(sv)) {
> alert("Please enter a valid number.");
> sName.select();
> sName.focus();
> }
> return true;
> }
>
>
> And the form element calls it thusly:
>
> <input type="Text" name="stock<%=i%>" class="txtbox2" size="4"
> onchange="chkNum(this)">
>
> The problem is that while the correct element is being selected, the
> focus is going to the next element.
>
> This is bizarre, and I just can't see why it's happening.  (it's
> occurring in both moz & ie)
>
> Thanks for any help!
>
> Karen
>
>
>
>
> --__--__--
>
> Message: 18
> From: "Raymond Camden" <jedimaster at macromedia.com>
> To: <thelist at lists.evolt.org>
> Subject: RE: [thelist] CSS question
> Date: Thu, 13 Jun 2002 10:05:49 -0400
> Reply-To: thelist at lists.evolt.org
>
> Oh no - I was speaking specifically about my home page. :> I agree with
> you 100%. I've been in the biz for years now and _love_ how easy CSS
> makes things. It's certainly better than typing <font face> ten thousand
> times.
>
> -Ray
>
> >
> >
> > Raymond,
> >
> > CSS is many things, least of which boring. ;)
> >
> > Samir
>
>
> --__--__--
>
> Message: 19
> From: "Plunkett, Matt" <MPlunkett at MSA.com>
> To: "'thelist at lists.evolt.org'" <thelist at lists.evolt.org>
> Subject: RE: [thelist] pattern match three or more of the same character r
> epeated in a row
> Date: Thu, 13 Jun 2002 10:03:52 -0400
> Reply-To: thelist at lists.evolt.org
>
> Untested, but maybe:
>
> /(\w)\1{2}/ work?
>
> The backreference should refer to whatever matches in the parens.
>
> --__--__--
>
> Message: 20
> Subject: Re: [thelist] Validation > pressure on software companies??
> To: thelist at lists.evolt.org
> From: Arlen.P.Walker at jci.com
> Date: Thu, 13 Jun 2002 09:14:50 -0500
> Reply-To: thelist at lists.evolt.org
>
> >I've seen valid code that breaks on NN 4.5 Mac. So the validator seems to
> me
> >no measure to assure correct page display.
>
> You're right, it isn't. The best analogy I can come up with for this is
the
> following program:
>
> main()
> {
>    int x, y, z;
>
>    x = 5;
>    y = 6;
>
>    z = x / y;
>
> }
>
> This program will compile without errors. Yet z will be 0, not 0.833333
> (the real answer for 5/6). It is perfectly valid C code, it just gives the
> wrong answer because the programmer used the wrong data types. It
> validates, but is wrong nonetheless.
>
> It's quite possible a valid HTML file will display badly. It's also
> possible for a valid HTML file to display properly. Validation does not
> replace testing. Validation only assures you that the code you've written
> makes syntactic sense, which means that another browser that you haven't
> tested, and which might implement the standard in a more strict manner,
> won't have a problem with the code. It's up to you as the designber to
make
> sure that the valid code you've written actually displays the page the way
> you want it displayed. Browsers are keyboard readers, not mind readers.
> They do what they're told; it's up to you to make sure you actually mean
> them to do what you're telling them to do.
>
> >This leads me to the conclusion that the only reason validation makes
> sense,
> >is to discipline software companies to stick to some standard. I am
really
> >not understanding this otherwhise.
>
> Pretty much correct. If you write valid code, then any user agent which
> follows the standard will be able to handle your code. That includes voice
> browsers, PDA's, and refrigerators.
>
> And that's what's important about writing valid code. People who create
new
> user agents have a standard in front of them, and they'll code their user
> agent to expect markup that follows that standard. They may also code it
to
> accept previous browser foibles, and perhaps even invent some of their
own,
> but I wouldn't be too sure that they would support other browsers faults,
> and we can't predict what their new foibles will be. Invalid code which
> works in a browser today may quite possibly break in a future browser,
> especially one expecting the more rigidly defined XHTML.
>
> I look at writing valid code like the auto mechanic in the (US-centric
> reference alert) Fram oil filters commercial. I can either take the time
> *now* to write valid code, or take the time later to rewrite what I've
> written as valid code. It's a "pay me now, or pay me later" kind of thing.
> I think the smart choice is to do it now.
>
> Have fun,
> Arlen
> Chief Managing Director In Charge, Department of Redundancy Department
> DNRC 224
>
> Arlen.P.Walker at JCI.Com
> ----------------------------------------------
> In God we trust; all others must provide data.
> ----------------------------------------------
> Opinions expressed are mine and mine alone.
> If JCI had an opinion on this, they'd hire someone else to deliver it.
>
>
> --__--__--
>
> Message: 21
> Subject: Re: [thelist] Validation > pressure on software companies??
> To: thelist at lists.evolt.org
> From: Arlen.P.Walker at jci.com
> Date: Thu, 13 Jun 2002 09:18:47 -0500
> Reply-To: thelist at lists.evolt.org
>
> >In the environment I work in
> >now, it is very much a software development
> >skewed thing, more than a web thing.
>
> I wonder how many developers refuse to use lint or steadfastly ignore the
> warning messages the compiler puts out? They validate their code every
> single day, in one shape or form. They shouldn't be opposed to validating
> web code, unless they don't understand what it is.
>
> Have fun,
> Arlen
> Chief Managing Director In Charge, Department of Redundancy Department
> DNRC 224
>
> Arlen.P.Walker at JCI.Com
> ----------------------------------------------
> In God we trust; all others must provide data.
> ----------------------------------------------
> Opinions expressed are mine and mine alone.
> If JCI had an opinion on this, they'd hire someone else to deliver it.
>
>
> --__--__--
>
> Message: 22
> Subject: Re: [thelist] ie css
> To: thelist at lists.evolt.org
> From: Arlen.P.Walker at jci.com
> Date: Thu, 13 Jun 2002 09:31:21 -0500
> Reply-To: thelist at lists.evolt.org
>
> >Does anyone know how to make the text on this:
> >http://cs.oberlin.edu/~jswiders/
> >not wrap round the graphic in ie? (and wherever else it may do so; I only
> have
> >ie6 on hand).
>
> I don't have IE6, so I'm not sure what you're seeing. But here's
something:
>
> If what you're after is a blank column underneath the graphic, there are a
> couple of things to try. If you know how many pixels wide your
> "nothere.gif" is, use that pixel width to set the left margin of the class
> "right." You could also use CSS-P to position the "right" box that many
> pixels from the left edge, as well.
>
> If what you're trying to control is which paragraph starts below the
> graphic, style it with a "clear: left;" and it'll wait until the graphic
> finishes to begin.
>
> Does that help?
>
> Have fun,
> Arlen
> Chief Managing Director In Charge, Department of Redundancy Department
> DNRC 224
>
> Arlen.P.Walker at JCI.Com
> ----------------------------------------------
> In God we trust; all others must provide data.
> ----------------------------------------------
> Opinions expressed are mine and mine alone.
> If JCI had an opinion on this, they'd hire someone else to deliver it.
>
>
> --__--__--
>
> Message: 23
> Date: Thu, 13 Jun 2002 16:29:11 +0200
> To: thelist at lists.evolt.org
> From: Androse Rosewood <auguste at mac.com>
> Subject: Re: [thelist] Web-based wysiwyg html editors ?
> Reply-To: thelist at lists.evolt.org
>
> Vu "Re: [thelist] Web-based wysiwyg html editors ?", du 13/06/02 à
8:42 -0400 :
> >IE
> >is still the only platform for easy to use, powerful, browser-based
> >content-management, unless you pay exhorbitant amounts for slow Java
> >applets
> >(realobjects.de has one, but even that one, iirc, doesn't work with
> >snippets,
> >but only full pages - please correct me if I'm wrong someone!)
>
> You *can* work with snippets.
> And the thing is terribly bloated and expensive.
> :(
>
> - androse
>
> --__--__--
>
> Message: 24
> From: "Paul J White" <pjw at bw3.co.uk>
> To: <thelist at lists.evolt.org>
> Date: Thu, 13 Jun 2002 15:31:31 +0100
> Organization: BW3.CO.UK
> Subject: [thelist] perl on the localhost
> Reply-To: thelist at lists.evolt.org
>
> > Sure it is...sounds like either you don't have Perl in your path or you
> > don't have the testperl.pl script.  To find out if you have Perl in your
> > path type "perl -v" at your command prompt.  It should spew out a whole
> load
> > of information about what version of Perl you are running.
> >
> Thanks for taking the time to answer, but I'm not so dumb as to bother the
> list with a question until I have ascertained the obvious - indeed, my
> original post said:
>
> "Install Perl and make sure that the PATH setting in your
> autoexec.bat includes the directory C:\perl\bin.
>
> >>Done that"
>
> and the perltest script runs on a remote server but not locally. Any more
> ideas out there?
>
> Cheers, Paul.
>
>
>
> --__--__--
>
> Message: 25
> Subject: Re: [thelist] Re: SSI in XML
> To: thelist at lists.evolt.org
> From: Arlen.P.Walker at jci.com
> Date: Thu, 13 Jun 2002 09:41:03 -0500
> Reply-To: thelist at lists.evolt.org
>
> >Don't know your server, but mine (Linux/Apache) requires the file
> >extension to be Shtml, not html (that is, shtml) in order to process
> >SSI.
>
> As with anything else in Apache, that's changeable. Adding "AddHandler
> server-parsed .html" to the config file, for example, will now tell apache
> to parse .html files as well.
>
> Have fun,
> Arlen
> Chief Managing Director In Charge, Department of Redundancy Department
> DNRC 224
>
> Arlen.P.Walker at JCI.Com
> ----------------------------------------------
> In God we trust; all others must provide data.
> ----------------------------------------------
> Opinions expressed are mine and mine alone.
> If JCI had an opinion on this, they'd hire someone else to deliver it.
>
>
> --__--__--
>
> Message: 26
> Date: Thu, 13 Jun 2002 10:48:11 -0400
> From: <cspruck at mindspring.com>
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] pattern match three or more of the same character
repeated in a row
> Reply-To: thelist at lists.evolt.org
>
>
> *************************************************
> cspruck at mindspring.com wrote:
>
> Julie,
>
> Something along the lines of this should work for you:
>
> [a-zA-Z0-9]{3,}
>
> O'Neil <julievoneil at yahoo.com> wrote:
>
>  Nope doesn't work - it does catch a word that contains three repeated
characters but it also catches ANY word.
> *************************************************
>
> Julie,
>
> My apologies for the flub - I got interrupted several times while trying
to reply and lost sight of what you were trying to do.
>
> You still haven't told us what you're using for regex, so this may or may
not work depending on your variation of regex. Something close to what Matt
suggested worked for me in ColdFusion Studio:
>
> ([a-zA-Z0-9])\1{2}
>
> The range within parentheses grabs a single character, then the
backreference (the \1) recalls it once, then finds two more. A lot depends
on what you're searching against, too. You can find three consecutive
letters within a word, but the expression might be different for a single
three-letter word if that's what you're trying to grab. Hope this is more
help!
>
> Chris
>
> --__--__--
>
> Message: 27
> From: "Plunkett, Matt" <MPlunkett at MSA.com>
> To: "'thelist at lists.evolt.org'" <thelist at lists.evolt.org>
> Subject: RE: [thelist] perl on the localhost
> Date: Thu, 13 Jun 2002 10:51:49 -0400
> Reply-To: thelist at lists.evolt.org
>
> I sense hostility.
>
> I'm happy that you are entirely sure of what is NOT the problem, hopefully
> you'll be able out what IS the problem at some point.
>
> In any case, what I was saying was that just having it in autoexec.bat is
> not enough unless you have actually run autoexec.bat manually, or by
> rebooting.  Just having it in your autoexec doesn't automagically add it
to
> your path.  So I offered a simple test for determining if it was really in
> your path, since the error message is the one you get if Windows can't
find
> perl.
>
> HAND.  Good luck with your problem.
>
> -----Original Message-----
> From: Paul J White [SMTP:pjw at bw3.co.uk]
> Sent: Thursday, June 13, 2002 10:32 AM
> To: thelist at lists.evolt.org
> Subject: [thelist] perl on the localhost
>
> Thanks for taking the time to answer, but I'm not so dumb as to
> bother the
> list with a question until I have ascertained the obvious - indeed,
> my
> original post said:
>
> "Install Perl and make sure that the PATH setting in your
> autoexec.bat includes the directory C:\perl\bin.
>
> >>Done that"
>
> and the perltest script runs on a remote server but not locally. Any
> more
> ideas out there?
>
> Cheers, Paul.
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
> --__--__--
>
> Message: 28
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Re: SSI in XML
> Date: Thu, 13 Jun 2002 10:09:25 -0500 (CDT)
> From: Joel Konkle-Parker <jjk3 at msstate.edu>
> Reply-To: thelist at lists.evolt.org
>
> > As with anything else in Apache, that's changeable. Adding "AddHandler
> > server-parsed .html" to the config file, for example, will now tell
> > apache
> > to parse .html files as well.
>
>
> My server currently parses .html files for SSI. You're saying that all I
need to
> do is put 'AddHandler server-parsed .xml' in my .htaccess and it'll parse
my XML
> files for SSI?
>
> -joeljkp
>
> -------------------------------------------------------
> http://www.ballsome.com
>
> --__--__--
>
> Message: 29
> To: thelist at lists.evolt.org
> From: ashok at magicalkenya.com
> Date: Thu, 13 Jun 2002 18:25:40 +0300
> Subject: [thelist] tip
> Reply-To: thelist at lists.evolt.org
>
>
> <tip type="Calculating dimensions of JPG and GIF files using VB" author
> ="Junglee">
> When images are stored in a database table as blobs it makes sense to
> calculate and store
> the original dimensions of the image in the table.   an upload program can
> calculate the dimension
> of the images , for e.g. in vb it could look like  :
>
> '--code begin
>     Dim header As String
>     Dim f As Integer
>     filename="c:\top_e.gif"
>     Open filename For Input As #f
>     If Lcase(Right(filename, 3))="gif" Then
>          header = Input(10, f)
>          Close #f
>          wHi = Mid(header, 8, 1)
>          wLo = Mid(header, 7, 1)
>          hHi = Mid(header, 10, 1)
>          hLo = Mid(header, 9, 1)
>          w = Asc(wHi) * 256 + Asc(wLo)
>          h = Asc(hHi) * 256 + Asc(hLo)
>     Elseif Lcase(Right(filename, 3))="jpg" Then
>          header = Input(167, f)
>          Close #f
>          wHi = Asc(Midbp(header, 166, 1))
>          wLo = Asc(Midbp(header, 167, 1))
>          hHi = Asc(Midbp(header, 164, 1))
>          hLo = Asc(Midbp(header, 165, 1))
>          w = (wHi) * 256 + (wLo)
>          h = (hHi) * 256 + (hLo)
>     End If
> '--code end
> </tip>
>
>
> ------
> Ashok Hariharan
> http://www.unganisha.org
> Disclaimer : The contents of this mail should not be construed as  a "if
> you attack me, I'll blast your arse" veiled threat
> ------
>
>
>
>
> --__--__--
>
> Message: 30
> From: "Jeff C" <jeffc33 at hotmail.com>
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] js form validation problem
> Date: Thu, 13 Jun 2002 15:30:21 +0000
> Reply-To: thelist at lists.evolt.org
>
> Try changing the return true to return false.
>
>
> >From: "Karen J. Bowen" <karen at miinx.com.au>
> >Reply-To: thelist at lists.evolt.org
> >To: thelist <thelist at lists.evolt.org>
> >Subject: [thelist] js form validation problem
> >Date: Fri, 14 Jun 2002 00:02:03 +1000
> >
> >I'm having a problem with returning the focus to the correct form
> >element after doing simple js validation.
> >
> >The JS is:
> >
> >function chkNum(sName) {
> > var sv = sName.value
> > if (isNaN(sv)) {
> > alert("Please enter a valid number.");
> > sName.select();
> > sName.focus();
> > }
> > return true;
> >}
> >
> >
> >And the form element calls it thusly:
> >
> ><input type="Text" name="stock<%=i%>" class="txtbox2" size="4"
> >onchange="chkNum(this)">
> >
> >The problem is that while the correct element is being selected, the
> >focus is going to the next element.
> >
> >This is bizarre, and I just can't see why it's happening.  (it's
> >occurring in both moz & ie)
> >
> >Thanks for any help!
> >
> >Karen
> >
> >
> >
> >--
> >For unsubscribe and other options, including
> >the Tip Harvester and archive of thelist go to:
> >http://lists.evolt.org Workers of the Web, evolt !
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --__--__--
>
> Message: 31
> From: "Michele Foster" <michele at wordpro.on.ca>
> To: <thelist at lists.evolt.org>
> Subject: Re: [thelist] anyone have Movable Type (blog) experience?
> Date: Thu, 13 Jun 2002 12:01:34 -0400
> Organization: WordPro Services
> Reply-To: thelist at lists.evolt.org
>
>
> Mark,
>
> How does one delete the Melody account?  Just playing with MT for my sis
..
> and didn't see a way to delete that account.   P.S.  I know nothing in the
> way of perl/php .. simple instructions greatly appreciated. :)
>
> TIA,
>
> Michele
>
> ----- Original Message -----
> From: "Mark Gallagher" <mark at cyberfuddle.com>
>
> | <tip type="Movable Type" author="Mark Gallagher">
> | As soon as you've got MT working, and have set up author accounts and so
> | on, delete the Melody/Nelson account.  If you don't, you never know what
> | technically proficient but morally lacking person might come in and
> | start screwing around.
> | </tip>
>
>
> --__--__--
>
> Message: 32
> From: "Tony Crockford" <tonyc at boldfish.co.uk>
> To: <thelist at lists.evolt.org>
> Subject: RE: [thelist] anyone have Movable Type (blog) experience?
> Date: Thu, 13 Jun 2002 17:16:06 +0100
> Reply-To: thelist at lists.evolt.org
>
>
> > How does one delete the Melody account?  Just playing with MT for
> > my sis ..
> > and didn't see a way to delete that account.   P.S.  I know nothing in
the
> > way of perl/php .. simple instructions greatly appreciated. :)
>
> IIRC it's a simple matter of logging in, creating a new account (with all
> rights) and then log in with your new account, and then go to Add/Edit
Blog
> Authors, then view complete list of authors, here you should be able to
> select melody for deletion.
>
> BTW:
>
> there's an official MT mailing list to be found on the support forum at
> http://www.movabletype.org and this unofficial mailing list to here:
>
> Post message: MTyourhead at yahoogroups.com
> Subscribe:  MTyourhead-subscribe at yahoogroups.com
> Unsubscribe:  MTyourhead-unsubscribe at yahoogroups.com
> List owner:  MTyourhead-owner at yahoogroups.com
>
>
> --__--__--
>
> Message: 33
> From: "Means, Eric D" <eric.d.means at boeing.com>
> To: "'thelist at lists.evolt.org'" <thelist at lists.evolt.org>
> Subject: RE: [thelist] anyone have Movable Type (blog) experience?
> Date: Thu, 13 Jun 2002 11:15:52 -0500
> Reply-To: thelist at lists.evolt.org
>
> >  -----Original Message-----
> > From: Michele Foster [mailto:michele at wordpro.on.ca]
> > Sent: Thursday, June 13, 2002 11:02 AM
> > To: thelist at lists.evolt.org
> > Subject: Re: [thelist] anyone have Movable Type (blog) experience?
> >
> >
> > Mark,
> >
> > How does one delete the Melody account?  Just playing with MT for my sis
> ..
> > and didn't see a way to delete that account.   P.S.  I know nothing in
the
> > way of perl/php .. simple instructions greatly appreciated. :)
>
> I'm not sure how to delete it, but you can log in as Melody and change her
> password, at least.  Less permanent than deleting the account, almost as
> secure.  ;)
>
> --__--__--
>
> Message: 34
> From: "Shashank Tripathi" <sub at shanx.com>
> To: <thelist at lists.evolt.org>
> Subject: RE: [thelist] Web-based wysiwyg html editors ?
> Date: Fri, 14 Jun 2002 01:24:08 +0900
> Reply-To: thelist at lists.evolt.org
>
> This should give you some ideas.
> http://shanx.com/scripts/editorMain.htm
>
> Done in late 2000 so obviously the world should have moved along, but I
> still see something like this all over the place. If ur dealing with IE
> only, they have a pretty rich set of functions.
>
> Cheers,
> Shashank
>
>
> --__--__--
>
> Message: 35
> Date: Thu, 13 Jun 2002 09:39:52 -0700
> To: thelist at lists.evolt.org
> From: Howard Cheng <howcheng at ix.netcom.com>
> Subject: Re: [thelist] js form validation problem
> Reply-To: thelist at lists.evolt.org
>
> Don't forget also: onchange="return chkNum(this)"
>
> At 03:30 PM 6/13/2002 +0000, Karen J. Bowen wrote:
> >><input type="Text" name="stock<%=i%>" class="txtbox2" size="4"
> >>onchange="chkNum(this)">
> >
> >::::::::::::::::::::::
> >Howard Cheng
> >howcheng at ix.netcom.com
> >AIM: bennyphoebe
> >ICQ: 47319315
>
>
>
> --__--__--
>
> _______________________________________________
> Help: http://lists.evolt.org/mailman/listinfo/thelist
>
> Archives: http://lists.evolt.org
>
> End of thelist Digest
>




More information about the thelist mailing list