RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-18 Thread Gunnar Reinseth
K Hanes Sent: 17. januar 2006 20:03 To: Flashcoders mailing list Subject: RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Thanks gunnar.. I've used regex stuff for simple string manipulation.. but I can't see how it could be applied to arbitrarily reduce the length of an html

RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-18 Thread Gunnar Reinseth
] On Behalf Of Jayson K Hanes Sent: 17. januar 2006 20:03 To: Flashcoders mailing list Subject: RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Thanks gunnar.. I've used regex stuff for simple string manipulation.. but I can't see how it could be applied to arbitrarily reduce

RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-18 Thread Gunnar Reinseth
: RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Thanks gunnar.. I've used regex stuff for simple string manipulation.. but I can't see how it could be applied to arbitrarily reduce the length of an html string??.. at least.. not without a lot of work? -Jayson

RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-17 Thread Jayson K Hanes
PROTECTED] On Behalf Of elibol Sent: Tuesday, January 17, 2006 2:25 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? I hate to impose, but my curiousity is forcing me to question: what is the reason for html reduction? How does

Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-17 Thread elibol
mailing list Subject: RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Say I have this htmltext font face='verdana'bhello world/b/fontbriabc123brhi again worldbr/i And it is being appended with other html lines over time, but no two lines are the same, nor

Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-17 Thread elibol
I think I understand now, if you have a large html text body and you want to truncate it so that only a blurb of the whole is displayed, you could use, say, 10 with the reduce(10) function, and have only 10 percent of the text displayed? Or 10 percent of the text truncated? I feel like I could be

RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-17 Thread Jayson K Hanes
to remove old collections of the html data safely. -Jayson -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Julius - XK Sent: Tuesday, January 17, 2006 4:45 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce

Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-17 Thread elibol
Hey Jayson, It sounds like the only problem with your algorithm is the periodical errors it runs into, where it breaks the html. If you put some elbow grease into it you could write a serious algorithm that analyzed the tag that was being evaluated for the cutoff point, and, if it were within a

Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-17 Thread Julius - XK
flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 17, 2006 5:14 PM Subject: RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Thanks for your detailed effort, Julius, but, I'm afraid you do not understand. I need to be able to arbitrarily truncate and html string to maintain

RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-17 Thread Jayson K Hanes
Yes you have the issue understood! :) -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Julius - XK Sent: Tuesday, January 17, 2006 6:05 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce() function

Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-17 Thread Paul BH
PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Julius - XK Sent: Tuesday, January 17, 2006 6:05 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? I think I understand now :) You're looking for the last 10

Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?

2006-01-17 Thread pixelassembly
- Original Message - From: Jayson K Hanes [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, January 18, 2006 10:21 AM Subject: RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Hmmm... so then... I would have to re-assemble