Re: code to phantom spacing

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36631
interpreted = N
texte = > -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of Kenneth Grome > Sent: Sunday, June 24, 2001 6:31 PM > To: WebCatalog Talk > Subject: Re: code to phantom spacing > > > >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.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)
> -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of Kenneth Grome > Sent: Sunday, June 24, 2001 6:31 PM > To: WebCatalog Talk > Subject: Re: code to phantom spacing > > > >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.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:

Date Calulation (1997) Banners and sort of random display (1997) showifs (1999) Decrypting a user password (2000) WCS Newbie question (1997) AutoCommit Preference? (1998) F3 crashing server (1997) [OT] Bookmarking code (2003) suggestion (1997) back one? (2000) Protect vs Authenicate (1997) Forcing a NEWCART (1997) BUG in [showif] using ^ (contains) (1997) [protect admin] (1997) Hiding HTML and breaking the page (1997) form data submission gets truncated (1997) Accessing Storebuilder (2000) WebCommerce: Folder organization ? (1997) Looking up two prices in database? (1997) Running _every_ page through WebCat ? (1997)