st
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 string??.. at least.. not without a l
PROTECTED] 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 t
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 red
o many options already :)
cheers,
glenn
- Original Message -
From: "Jayson K Hanes" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Wednesday, January 18, 2006 10:21 AM
Subject: RE: [Flashcoders] efficient htmltext.reduce() function?
orsimilaridea?
Hmm
flashcoders-
> [EMAIL PROTECTED] On Behalf Of Paul BH
> Sent: Tuesday, January 17, 2006 6:18 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] efficient htmltext.reduce() function?
> orsimilaridea?
>
> so, what you are trying to do is store information, and be able
sage-
> > 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?
> > orsi
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
back up to include the "- Original Message -
From: "Jayson K Hanes" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Tuesday, January 17, 2006 5:14 PM
Subject: RE: [Flashcoders] efficient htmltext.reduce() function?
orsimilaridea?
Thanks for your
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 ta
ject: Re: [Flashcoders] efficient htmltext.reduce() function?
> orsimilaridea?
>
> Why not just strip out tags ya don't need? Using regex strip out
> all "" and "" and/or the "" and ""
> stuff.. When I first started readin
asking..
All I used was "xmlToObject" and "traceObject" to get
to this point.. You could also rework the xmlToObject
to spit out what you want.. Hope this helps :)
- Original Message -
From: "Jayson K Hanes" <[EMAIL PROTECTED]>
To: "Flashcod
..
-Jayson
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of elibol
> Sent: Tuesday, January 17, 2006 4:06 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] efficient htmltext.reduce() function?
>
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 r
> > [EMAIL PROTECTED] On Behalf Of Jayson K Hanes
> > Sent: Tuesday, January 17, 2006 2:33 PM
> > To: Flashcoders mailing list
> > Subject: RE: [Flashcoders] efficient htmltext.reduce() function?
> > orsimilaridea?
> >
> > Say I have this htmltext
> &
shcoders-
> [EMAIL PROTECTED] On Behalf Of Jayson K Hanes
> Sent: Tuesday, January 17, 2006 2:33 PM
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] efficient htmltext.reduce() function?
> orsimilaridea?
>
> Say I have this htmltext
>
> "hello worldabc123hi
ag
ashcoders-
> [EMAIL 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:
16 matches
Mail list logo