converting HTML 2 painText

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RiskyHunter
    New Member
    • Mar 2007
    • 29

    converting HTML 2 painText

    Hi;

    am trying 2 convert the source code of URL to plain text;

    do u knew any java API that may help me to do that;


    thanx alot

    r.h
  • prometheuzz
    Recognized Expert New Member
    • Apr 2007
    • 197

    #2
    Originally posted by RiskyHunter
    Hi;

    am trying 2 convert the source code of URL to plain text;

    do u knew any java API that may help me to do that;


    thanx alot

    r.h
    Perhaps we have a different understanding of what an URL is*.
    What do you mean by converting the source of an URL?

    * http://en.wikipedia.org/wiki/URL

    Comment

    • RiskyHunter
      New Member
      • Mar 2007
      • 29

      #3
      <html><head><ti tle>test</title></head>\n<body><h 1>Heading</h1></body></html>

      i wanna convert this HTML form to plain text

      so the plain text form

      test Heading

      Comment

      • prometheuzz
        Recognized Expert New Member
        • Apr 2007
        • 197

        #4
        Originally posted by RiskyHunter
        <html><head><ti tle>test</title></head>\n<body><h 1>Heading</h1></body></html>

        i wanna convert this HTML form to plain text

        so the plain text form

        test Heading
        Ah, I see. Try one of the many html parsers then:

        Comment

        • RiskyHunter
          New Member
          • Mar 2007
          • 29

          #5
          thanx alooooooooot prometheuzz ^_^

          Comment

          • prometheuzz
            Recognized Expert New Member
            • Apr 2007
            • 197

            #6
            Originally posted by RiskyHunter
            thanx alooooooooot prometheuzz ^_^
            You're welcome RiskyHunter.

            Comment

            Working...