Thats the whole point, i know that campfire "translates" the plain text into
that pseudo-html, via functions in the applet, so far i have been
unsuccesfull in trying to translate only a portion of the text, thats why im
asking the java gurus out there (im only a humble padawan in java) to see if
they can do it.
Regards.
----- Original Message -----
From: "Micz Flor"
To:
Sent: Tuesday, June 08, 2004 8:23 AM
Subject: Re: [campsite-dev] Please help me with a small function
> At 20:17 08.06.2004, you wrote:
> >am i being clear enough?
>
> yes. i guess this is a problem with the operating system, the copy and
> paste function. the only workaround i could think of would be using a
> template with something like this:
> --
> this is the <a href="templatename.tpl?
urlparameters>">Link</a>
> --
>
> this should display as:
>
> this is the
>
href="templatename.tpl?IdLanguage=5&IdPublication=2&NrIssue=28&NrSection=41&
NrArticle=2973">Link
>
> hope this helps...
>
>
> Micz Flor - micz@mi.cz
>
> content and media development http://mi.cz
> -----------------------------------------------------------------
> http://www.campware.org -- http://crash.mi.cz -- http://sue.mi.cz
> "Ja, da hatte einer einen Punk geklaut." (Sebastian Goebel)
> -----------------------------------------------------------------
>
------------------------------------------
Posted to Phorum via PhorumMail
At 01:25 09.06.2004, you wrote:
>Thats the whole point, i know that campfire "translates" the plain text into
>that pseudo-html, via functions in the applet, so far i have been
>unsuccesfull in trying to translate only a portion of the text, thats why im
>asking the java gurus out there (im only a humble padawan in java) to see if
>they can do it.
>
> Regards.
>
>
>----- Original Message -----
>From: "Micz Flor"
>To:
>Sent: Tuesday, June 08, 2004 8:23 AM
>Subject: Re: [campsite-dev] Please help me with a small function
>
>
> > At 20:17 08.06.2004, you wrote:
> > >am i being clear enough?
> >
> > yes. i guess this is a problem with the operating system, the copy and
> > paste function. the only workaround i could think of would be using a
> > template with something like this:
> > --
> > this is the <a href="templatename.tpl?
>urlparameters>">Link</a>
> > --
> >
> > this should display as:
> >
> > this is the
> >
>href="templatename.tpl?IdLanguage=5&IdPublication=2&NrIssue=28&NrSection=41&
>NrArticle=2973">Link
> >
> > hope this helps...
> >
> >
> > Micz Flor - micz@mi.cz
> >
> > content and media development http://mi.cz
> > -----------------------------------------------------------------
> > http://www.campware.org -- http://crash.mi.cz -- http://sue.mi.cz
> > "Ja, da hatte einer einen Punk geklaut." (Sebastian Goebel)
> > -----------------------------------------------------------------
> >
content and media development http://mi.cz
----------------------------------------------------------------- http://www.campware.org -- http://crash.mi.cz -- http://sue.mi.cz
"Ja, da hatte einer einen Punk geklaut." (Sebastian Goebel)
-----------------------------------------------------------------
------------------------------------------
Posted to Phorum via PhorumMail
This wasn't a piece of cake. Campfire uses document structure to
generate HTML but your problem needed character level operations.
Please, see attached file. Function getSelectionHtml() goes to Camfire
class and function generateForSelection() goes to HtmlGenerator class.
The solution is very ugly but who cares . It should be enough for
you to start developing.
I hope that once when I come to Chile you'll buy me some good local
drink .
Cheers,
Nenad
On Wednesday 09 of June 2004 01:25, Daniel Gaytan B. wrote:
> Thats the whole point, i know that campfire "translates" the plain
> text into that pseudo-html, via functions in the applet, so far i
> have been unsuccesfull in trying to translate only a portion of the
> text, thats why im asking the java gurus out there (im only a humble
> padawan in java) to see if they can do it.
>
> Regards.