Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,994
    Thanks
    120
    Thanked 76 Times in 76 Posts

    Copy HTML source and/or HTML to XML

    I would like to easily read this data:
    http://sunearth.gsfc.nasa.gov/eclips...hases2001.html

    so: does anyone has a code in java that would
    1.copy source to file
    2.convert html to xml, although lokking to source of this page that wouldnt solve my problem, some parsing would have to be done anyway.

    Thanks for help.

  • #2
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,994
    Thanks
    120
    Thanked 76 Times in 76 Posts
    for All those interested: googled it to:

    http://schmidt.devlib.org/java/file-...ad.html#source

    any thoughts or explanations about second part of question ?

  • #3
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    866
    Thanks
    7
    Thanked 30 Times in 29 Posts
    How about using a HTML Parser?

    check the following open source package
    http://htmlparser.sourceforge.net/

  • #4
    a2z
    a2z is offline
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    htmLawed PHP script

    The htmLawed PHP script can be used to convert HTML body content to XML. http://www.bioinformatics.org/phplab...awed/index.php

  • #5
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb a sol

    if u are interested in converting:

    html --> pdf
    doc --> pdf, html, txt, rtf
    xls --> pdf, html, csv
    ppt --> pdf, swf

    then this can help: http://www.dancrintea.ro/doc-to-pdf/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •