Re: OK, here's a new one
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45492
interpreted = N
texte = Where I've used it in the past I've done[getchars start=1&end=30][description][/getchars]...Hoping the ... will give the indication that it's been cropped. I wonderif there's a way of using it in conjunction with listwords to break at aspace.Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: WJ Starck
> Reply-To: (WebCatalog Talk)> Date: Tue, 19 Nov 2002 16:03:06 -0600> To: (WebCatalog Talk)> Subject: Re: OK, here's a new one> > Alain and Gary...> > Yeah, I thought of that, but [getchars] will give me partial words.> Might be a lesser of two evils, I suppose...> > -Will> > On Tuesday, November 19, 2002, at 03:52 PM, Gary Krockover wrote:> >> I've used this in similar instances:>> >> [getchars>> start=1&end=30][description][/getchars].... | >> >> GK>> >> >> | Our site lists 6 products on the home page that are specials.>> |>> | A table is generated by search. Each cell in this table is another>> | table that looks like so:>> |>> |>> | ____________________>> | | | |>> | | | T |>> | | P |___________|>> | | | |>> | | | D |>> | |_______|____________|>> |>> | Where P is the product image, T is the Title of the Product and D is>> a>> | text description of varying length. Right now this mostly works fine,>> | and what I've done with the text description is to use [listwords] to>> | reel of the first 15 words of the description, like so:>> |>> | [listwords words=[description]&delimiters= ][showif>> | [index]<16][word][/showif] [/listwords]...>> |>> | This is OK, except for one thing. Since words are of differing>> lengths,>> | some descriptions end up longer than others, and it ends up looking>> | crappy visually. What I'd like to do is to parse enough text of each>> | description that each D box is essentially filled.>> |>> | I suppose I could fix the height of the box and fiddle with the>> number>> | of words parsed, but I was wondering of there was a spiffier way. I'm>> | wracking my brain here. Anyone with some ideas?>> |>> | TAM,>> |>> | -Will>> >> >> ------------------------------------------------------------->> 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/>> > > > -------------------------------------------------------------> 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/> -------------------------------------------------------------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:
|
- Re: OK, here's a new one (Rob Marquardt 2002)
- Re: OK, here's a new one (Robert Wade 2002)
- Re: OK, here's a new one (Chris List Recipient 2002)
- Re: OK, here's a new one (Gary Krockover 2002)
- Re: OK, here's a new one (WJ Starck 2002)
- Re: OK, here's a new one (Dan Strong 2002)
- Re: OK, here's a new one (Tim Robinson 2002)
- Re: OK, here's a new one (WJ Starck 2002)
- Re: OK, here's a new one (Gary Krockover 2002)
- Re: OK, here's a new one (Alain Russell 2002)
- OK, here's a new one (WJ Starck 2002)
|
Where I've used it in the past I've done[getchars start=1&end=30][description][/getchars]...Hoping the ... will give the indication that it's been cropped. I wonderif there's a way of using it in conjunction with listwords to break at aspace.Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: WJ Starck > Reply-To: (WebCatalog Talk)> Date: Tue, 19 Nov 2002 16:03:06 -0600> To: (WebCatalog Talk)> Subject: Re: OK, here's a new one> > Alain and Gary...> > Yeah, I thought of that, but [getchars] will give me partial words.> Might be a lesser of two evils, I suppose...> > -Will> > On Tuesday, November 19, 2002, at 03:52 PM, Gary Krockover wrote:> >> I've used this in similar instances:>> >> [getchars>> start=1&end=30][description][/getchars].... | >> >> GK>> >> >> | Our site lists 6 products on the home page that are specials.>> |>> | A table is generated by search. Each cell in this table is another>> | table that looks like so:>> |>> |>> | ____________________>> | | | |>> | | | T |>> | | P |___________|>> | | | |>> | | | D |>> | |_______|____________|>> |>> | Where P is the product image, T is the Title of the Product and D is>> a>> | text description of varying length. Right now this mostly works fine,>> | and what I've done with the text description is to use [listwords] to>> | reel of the first 15 words of the description, like so:>> |>> | [listwords words=[description]&delimiters= ][showif>> | [index]<16][word][/showif] [/listwords]...>> |>> | This is OK, except for one thing. Since words are of differing>> lengths,>> | some descriptions end up longer than others, and it ends up looking>> | crappy visually. What I'd like to do is to parse enough text of each>> | description that each D box is essentially filled.>> |>> | I suppose I could fix the height of the box and fiddle with the>> number>> | of words parsed, but I was wondering of there was a spiffier way. I'm>> | wracking my brain here. Anyone with some ideas?>> |>> | TAM,>> |>> | -Will>> >> >> ------------------------------------------------------------->> 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/>> > > > -------------------------------------------------------------> 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/> -------------------------------------------------------------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/
Tim 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:
Cancel Subscription (1996)
WebCatalog can't find database (1997)
Re[2]: Wierd problem with 3.08 WIN Version (2000)
WebCatalog can't find database (1997)
Site Search Concepts (2003)
WCS Newbie question (1997)
Frames and WebCat (1997)
[INCLUDE] Limitations (1998)
Unexpected error (1997)
Can't get appendfile to work (1997)
Running 2 two WebCatalog.acgi's (1996)
[subtotal] and others (1997)
Re:redirect from the errorsMessages.db entry (1997)
[ShowNext] (1997)
Email notification to one of multiple vendors ? (1997)
JS Question - Print (2007)
Re:PCS Customer submissions ? (1997)
[append] vs. [appendfile] delta + question? (1997)
Post arguments problem mac? (1997)
customizing the color of user's pages (1997)