Loading ...
Sorry, an error occurred while loading the content.

[Clip] HTML to TEXT

Expand Messages
  • Jody
    Hi Clippers, Here is a clip that will strip the html code of all the html files in one folder for you. Actually, the html files will not be edited and a text
    Message 1 of 1 , Oct 6, 1999
    • 0 Attachment
      Hi Clippers,

      Here is a clip that will strip the html code of all the html
      files in one folder for you. Actually, the html files will not be
      edited and a text file will be made for each of them by the same
      file name, but with the .txt extension.

      Use the browse button in the window that comes up to get to the
      directory, or type the path in, but end it in a backslash.

      <--- Copy below this line --->
      H=HTML to TEXT
      ; 10/06/1999, Ntb-Clips@..., jody
      ^!Set %Folder%=^?{(T=D)Full path of folder where html files are}

      ^!Set %Full%=^$GetFileFirst(^%Folder%;*.htm)$

      :Loop
      ^!IfTrue ^$IsEmpty(^%Full%)$ Close
      ^!SetClipboard ^$GetFileText(^%Full%)$
      ^!Toolbar Paste New
      ^!Toolbar Strip Tags
      ^!Save:As ^$GetPath("^%Full%")$^$GetName("^%Full%")$.txt
      ^!Set %Full%=^$GetFileNext$
      ^!GoTo Loop

      :Close
      ^!CloseFileFind

      <--- Copy above this line, right --->
      <--- click over the Clipbook and --->
      <--- choose "Add from Clipboard" --->

      Happy NoteNite,
      jody
    Your message has been successfully submitted and would be delivered to recipients shortly.