HTML2TXT ?? Help!!!

Author Message
T1000

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 3/13/2007
  • Status: offline
HTML2TXT ?? Help!!! Tuesday, March 13, 2007 8:26 AM (permalink)
0
Hello, I am looking for a code .vbs that can turn me html to txt, witout <tag>.
 
Can somebody help me???
 
Thank you very much !!!

 
#1
    ebgreen

    • Total Posts : 8227
    • Scores: 98
    • Reward points : 0
    • Joined: 7/12/2005
    • Status: offline
    RE: HTML2TXT ?? Help!!! Tuesday, March 13, 2007 8:32 AM (permalink)
    0
    Pretty sure there are command line utilities for this. Have you done any searching?
    "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
    Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
    http://www.visualbasicscript.com/m_47117/tm.htm
     
    #2
      T1000

      • Total Posts : 2
      • Scores: 0
      • Reward points : 0
      • Joined: 3/13/2007
      • Status: offline
      RE: HTML2TXT ?? Help!!! Tuesday, March 13, 2007 8:48 AM (permalink)
      0
      Look for, but profit not to do what I need..  
      My codes are these: 
       getURL"un", "pw","http://yoursite.com/path/to/file.txt" 
       
       Sub getFTP(un,pw,url) 
         WScript.Echo url 
         Set objHTTP = CreateObject("MSXML2.XMLHTTP") 
         WScript.Echo "********** start **************" 
         Call objHTTP.Open("GET", url, False,un,pw) 
         objHTTP.Send 
         WScript.Echo(objHTTP.ResponseText) 
         WScript.Echo "********** End **************" 
          'objHTTP = Nothing 
       End Sub
       

      Set objArgs = WScript.Arguments
       url = objArgs(0)
       'imagefile = objArgs(1)
       'DestFolder = objArgs(2)With CreateObject("MSXML2.XMLHTTP")
        .open "GET", url, False
        .send
        a = .ResponseBody
       End With'With CreateObject("ADODB.Stream")
       '  .Type = 1 'adTypeBinary   
       '  .Mode = 3 'adModeReadWrite  
       '  .Open
       '  .Write a    
       '  .SaveToFile DestFolder & ImageFile, 2 'adSaveCreateOverwrite  
       '  .Close  
       'End With
       
       
      Thanks for your answer ebgreen!
      <message edited by Country73 on Wednesday, March 14, 2007 12:58 AM>
       
      #3

        Online Bookmarks Sharing: Share/Bookmark

        Jump to:

        Current active users

        There are 0 members and 1 guests.

        Icon Legend and Permission

        • New Messages
        • No New Messages
        • Hot Topic w/ New Messages
        • Hot Topic w/o New Messages
        • Locked w/ New Messages
        • Locked w/o New Messages
        • Read Message
        • Post New Thread
        • Reply to message
        • Post New Poll
        • Submit Vote
        • Post reward post
        • Delete my own posts
        • Delete my own threads
        • Rate post

        2000-2012 ASPPlayground.NET Forum Version 3.9