Re: code to phantom spacing

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36632
interpreted = N
texte = > > > > >I placed the [converchars] just after the > > >and closed it [/convertchars] after the > > > > > >(I even tried adding a few chars to replace: %09, %20). > > > > > >The result was that the endless scroll bar has now moved to the > > horizontal > > >(still endless). There are still 40+ lines of vertical, so > > returns are not > > >being completely removed. > > > > > > Hi Jon, > > > > First of all you should NOT replace the spaces (%20) because that > > will screw up not only the HTML but the plain text on the page. You > > should NOT be getting rid of space characters! I suggested removing > > only cr's, lf's, and possibly tab's -- I never suggested removing > > space characters -- so the first thing you need to do is fix your db > > so it does not include this character. > > > > If you MUST reduce the occurrence of multiple > > spaces in a row, you will have to use convertwords > > instead, but that's only available in version 4. And > > you would have to use it in a very specific manner > > in order to make it work properly with multiple-space > > strings anyways, so let's not get into that solution > > right now, let's focus on what's wrong with your > > implementation of the solution I already posted ... > > > > Second, it would be best if you follow my suggestions exactly. > > There's a reason for this, so just put the convertchars tags at the > > very top and bottom of the page like I suggested. They should be the > > first and last text that appears on the page -- no exceptions. And > > the one at the top of the page needs to be [convertchars > > db=^noReturns.db] not simply [convertchars] as you stated above. > > > > Third, did you format your noReturns.db is properly? If not, > > you'll have to fix it or the result will leave some cr's or lf's in > > the page, and the goal here is to get rod of ALL of them. If the > > last line in the db has anything on it other than a single carriage > > return, that's probably what's causing the problem. All webcat db's > > must end with a cr character in order to work proeprly. > > > > I posted this solution because it works for me on the MacOS and > > theoretically should work on all the other OS's as well, because all > > it's doing is removing the two new line characters used on all > > computer platforms -- cr's and lf's. Therefore, unless this works > > only on the MacOS for some reason, it seems like you've done > > something else wrong. So once you move the tags to the very top and > > bottom of the page, and fix your database, please run another test > > then tell me: > > > > Are *all* the cr's and lf's removed in the resulting page? Or do > > some of these characters still exist in the resulting browser source? > > > > Please post the source of the page after you run this test, thanks. > > > > ================================================= > > Kenneth Grome WebDNA Consultant > > telephone number: 011 63 32 486-9077 > > telephone number: 011 63 919 749-0060 > > business web site: http://webdna.net > > personal web site: http://kengrome.com > > ================================================= > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://search.smithmicro.com/ > > > Ken, > > I do indeed value your specific directions and thank you for them. I will > clean a few things up and try again. I will post the resulting > page and get > you the url pronto. > > A quick response before I launch into implementing these few things with > more spacific detail to you suggestions. > > > >(I even tried adding a few chars to replace: %09, %20). > > > > > The addition of %20 and %09 was a second step after trying exactly as > specified. I thought I'd take a few pot shots my self. I actually cut and > paisted your db example so as not to use letter O insted of > number 0 or > vice versa (I'm not sure which they are suposed to be) from %0A & %0B. I > will remove these from further testing. > > > >I placed the [converchars] just after the > > >and closed it [/convertchars] after the > > > > > I did indeed use the correct [convertchars db=^noReturns.db]. The above > was a quick description of placement, which ironically *was* wrong! - > oops! I will place the openning tag at the very beginning. > > Additionally: > > * I initially placed the db locally, but ended up placing it > exactly as you > suggested. > * I believe the database is clean of any additional characters. I will > triple check this. > * I am developing locally on win98 and remotely on OSX so I have options. > OSX is where it will live, so we should be on the same page. > * I'm a little ignorant of the concept of cr's and lf's as I've > never had to > struggle with them. I believe the answer to your question is that some are > still there, but let me do all of the above and I should have a page to > actually *show* you. > > > Thanks again for your time and efforts. I try to follow explicitly! > > > Jon > __________________________ > Jon Robinson > Chakra5 studios > http://www.chakra5.net > > jon@chakra5.net > (206) 781-0140 (o) > (206) 228-0451 (c)Ken, OK, here are url's to the results:http://www.chakra5.net/client/jon/webcat/trouble1.html A few notes:I am unable to get to the Globals folder on the OSX this weekend, so I am only testing this on Win98.I set the database with an empty newline at the bottom as I believe you suggested (I hit return from the empty to field for the %0D second record). WebCat added a tab on that (3rd) line in producing the above page, basically making a blank entry for both fields. When viewing this db from the web (it's on a non webcat server, so it's accessable) it shows another new line after this:http://www.chakra5.net/client/jon/webcat/noReturns.dbI tried removing the last line from the database and tried again, basically getting the same result:http://www.chakra5.net/client/jon/webcat/trouble2.html http://www.chakra5.net/client/jon/webcat/noReturns2.db Looking forward to any further thoughts!Jon __________________________ Jon Robinson Chakra5 studios http://www.chakra5.netjon@chakra5.net (206) 781-0140 (o) (206) 228-0451 (c) ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: code to phantom spacing (Glenn Busbin 2001)
  2. Re: code to phantom spacing (Jon Robinson 2001)
  3. Re: code to phantom spacing (Jon Robinson 2001)
  4. Re: code to phantom spacing (Kenneth Grome 2001)
  5. Re: code to phantom spacing (Kenneth Grome 2001)
  6. Re: code to phantom spacing (Jon Robinson 2001)
  7. Re: code to phantom spacing (Brian Fries 2001)
  8. Re: code to phantom spacing (John Peacock 2001)
  9. Re: code to phantom spacing (Jon Robinson 2001)
  10. Re: code to phantom spacing (Jon Robinson 2001)
  11. Re: Was Re: code to phantom spacing -- now BBEdit [!][/!] (Paolo Coppo 2001)
  12. Re: Was Re: code to phantom spacing -- now BBEdit [!][/!] (John Peacock 2001)
  13. Re: Was Re: code to phantom spacing -- now BBEdit [!][/!] (dale 2001)
  14. Was Re: code to phantom spacing -- now BBEdit [!][/!] (Christopher Mackay 2001)
  15. Re: code to phantom spacing (John Peacock 2001)
  16. Re: code to phantom spacing (Samuel Renkert 2001)
  17. Re: code to phantom spacing (Kenneth Grome 2001)
  18. Re: code to phantom spacing (Jon Robinson 2001)
  19. Re: code to phantom spacing (Kenneth Grome 2001)
  20. Re: code to phantom spacing (Jon Robinson 2001)
  21. Re: code to phantom spacing (Jon Robinson 2001)
  22. Re: code to phantom spacing (Jon Robinson 2001)
  23. Re: code to phantom spacing (Kenneth Grome 2001)
  24. Re: code to phantom spacing (Glenn Busbin 2001)
  25. Re: code to phantom spacing (Jon Robinson 2001)
  26. Re: code to phantom spacing (Kenneth Grome 2001)
  27. Re: code to phantom spacing (John Peacock 2001)
  28. Re: code to phantom spacing (Kenneth Grome 2001)
  29. code to phantom spacing (Jon Robinson 2001)
> > > > >I placed the [converchars] just after the > > >and closed it [/convertchars] after the > > > > > >(I even tried adding a few chars to replace: %09, %20). > > > > > >The result was that the endless scroll bar has now moved to the > > horizontal > > >(still endless). There are still 40+ lines of vertical, so > > returns are not > > >being completely removed. > > > > > > Hi Jon, > > > > First of all you should NOT replace the spaces (%20) because that > > will screw up not only the HTML but the plain text on the page. You > > should NOT be getting rid of space characters! I suggested removing > > only cr's, lf's, and possibly tab's -- I never suggested removing > > space characters -- so the first thing you need to do is fix your db > > so it does not include this character. > > > > If you MUST reduce the occurrence of multiple > > spaces in a row, you will have to use convertwords > > instead, but that's only available in version 4. And > > you would have to use it in a very specific manner > > in order to make it work properly with multiple-space > > strings anyways, so let's not get into that solution > > right now, let's focus on what's wrong with your > > implementation of the solution I already posted ... > > > > Second, it would be best if you follow my suggestions exactly. > > There's a reason for this, so just put the convertchars tags at the > > very top and bottom of the page like I suggested. They should be the > > first and last text that appears on the page -- no exceptions. And > > the one at the top of the page needs to be [convertchars > > db=^noReturns.db] not simply [convertchars] as you stated above. > > > > Third, did you format your noReturns.db is properly? If not, > > you'll have to fix it or the result will leave some cr's or lf's in > > the page, and the goal here is to get rod of ALL of them. If the > > last line in the db has anything on it other than a single carriage > > return, that's probably what's causing the problem. All webcat db's > > must end with a cr character in order to work proeprly. > > > > I posted this solution because it works for me on the MacOS and > > theoretically should work on all the other OS's as well, because all > > it's doing is removing the two new line characters used on all > > computer platforms -- cr's and lf's. Therefore, unless this works > > only on the MacOS for some reason, it seems like you've done > > something else wrong. So once you move the tags to the very top and > > bottom of the page, and fix your database, please run another test > > then tell me: > > > > Are *all* the cr's and lf's removed in the resulting page? Or do > > some of these characters still exist in the resulting browser source? > > > > Please post the source of the page after you run this test, thanks. > > > > ================================================= > > Kenneth Grome WebDNA Consultant > > telephone number: 011 63 32 486-9077 > > telephone number: 011 63 919 749-0060 > > business web site: http://webdna.net > > personal web site: http://kengrome.com > > ================================================= > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://search.smithmicro.com/ > > > Ken, > > I do indeed value your specific directions and thank you for them. I will > clean a few things up and try again. I will post the resulting > page and get > you the url pronto. > > A quick response before I launch into implementing these few things with > more spacific detail to you suggestions. > > > >(I even tried adding a few chars to replace: %09, %20). > > > > > The addition of %20 and %09 was a second step after trying exactly as > specified. I thought I'd take a few pot shots my self. I actually cut and > paisted your db example so as not to use letter O insted of > number 0 or > vice versa (I'm not sure which they are suposed to be) from %0A & %0B. I > will remove these from further testing. > > > >I placed the [converchars] just after the > > >and closed it [/convertchars] after the > > > > > I did indeed use the correct [convertchars db=^noReturns.db]. The above > was a quick description of placement, which ironically *was* wrong! - > oops! I will place the openning tag at the very beginning. > > Additionally: > > * I initially placed the db locally, but ended up placing it > exactly as you > suggested. > * I believe the database is clean of any additional characters. I will > triple check this. > * I am developing locally on win98 and remotely on OSX so I have options. > OSX is where it will live, so we should be on the same page. > * I'm a little ignorant of the concept of cr's and lf's as I've > never had to > struggle with them. I believe the answer to your question is that some are > still there, but let me do all of the above and I should have a page to > actually *show* you. > > > Thanks again for your time and efforts. I try to follow explicitly! > > > Jon > __________________________ > Jon Robinson > Chakra5 studios > http://www.chakra5.net > > jon@chakra5.net > (206) 781-0140 (o) > (206) 228-0451 (c)Ken, OK, here are url's to the results:http://www.chakra5.net/client/jon/webcat/trouble1.html A few notes:I am unable to get to the Globals folder on the OSX this weekend, so I am only testing this on Win98.I set the database with an empty newline at the bottom as I believe you suggested (I hit return from the empty to field for the %0D second record). WebCat added a tab on that (3rd) line in producing the above page, basically making a blank entry for both fields. When viewing this db from the web (it's on a non webcat server, so it's accessable) it shows another new line after this:http://www.chakra5.net/client/jon/webcat/noReturns.dbI tried removing the last line from the database and tried again, basically getting the same result:http://www.chakra5.net/client/jon/webcat/trouble2.html http://www.chakra5.net/client/jon/webcat/noReturns2.db Looking forward to any further thoughts!Jon __________________________ Jon Robinson Chakra5 studios http://www.chakra5.netjon@chakra5.net (206) 781-0140 (o) (206) 228-0451 (c) ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Jon Robinson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

[append] vs. [appendfile] delta + question? (1997) virtual virtual hosted store.... (1998) Summ=T Problem (1997) [WebDNA] WebDNA app (2013) default value from Lookup (was Grant, please help me) (1997) Problems with [Applescript] (1997) Sorting problem (2002) Setting up shop (1997) Snake Bites (1997) Multiple Passwords (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Db design question (relational vs. flat?) (1998) WebCat2b12 - nesting [tags] (1997) Support ?? (1997) Two prices in shoppingcart? (1997) WebCat2b15MacPlugin - [protect] (1997) QuickDNS again (2007) Text data with spaces in them... (1997) WebCat2b12 - nesting [tags] (1997) more [sendmail] woes.. (2000)