Re: [campsite-dev] Please help me with a small function
  • 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
  • 2 Comments sorted by
  • i see. beyond my league Wink

    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)
    > > -----------------------------------------------------------------
    > >


    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
  • --Boundary-00=_cprxAqqDp8YD/FA
    Content-Type: text/plain;
    charset="iso-8859-2"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline

    Hi Daniel,

    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 Smile. 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 Smile.

    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.

    --Boundary-00=_cprxAqqDp8YD/FA
    Content-type: message/external-body; access-type=URL; URL=http://sympa.mdlf.org/sympa-bin/wwsympa.fcgi/attach/campsite-dev/200406090921.01091.pandzic@volny.cz/Daniel_java; name="Daniel_java"; size="2380"

    Content-type: text/x-java;
    charset="iso-8859-2";
    name="Daniel.java"
    Content-Transfer-Encoding: 7bit

    --Boundary-00=_cprxAqqDp8YD/FA--

    ------------------------------------------
    Posted to Phorum via PhorumMail