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

18445Re: [Clip] fixup off http:// references to file:/// references

Expand Messages
  • Vance E. Neff
    Oct 3, 2008
    • 0 Attachment
      Just a correction:

      Then I repeatedly replaced all occurrances of
      "file\:///C\:\\website_copy\\dir1(.+)/(.+)"
      with
      "file\:///C\:\\website_copy\\dir1$1\\$2"

      Vance



      Vance E. Neff wrote:

      >Thanks Don,
      >
      >I knew that was what was basically required, I was just hoping someone
      >had generated a clip to automate it.
      >
      >Anyhow,
      >I replaced all documents with all occurrances of
      >
      >http://www.website.com/dir1
      >
      >with
      >
      >file:///C:\website_copy\dir1
      >
      >Then I repeatedly replaced all occurrances of
      >"file\:///C\:\\website_copy\\dir1(.+)/(.+)"
      >with
      >"file\:///C\:\\website_copy\\dir1
      >
      >The problem is that if there are no / in the reference,
      > but there is another " on the same line with a / included
      >it finds a match.
      >How do I limit the match to the first " after the initial
      >"file\:///C\:\\website_copy\\dir1
      >match?
      >
      >Vance
      >
      >Don - HtmlFixIt.com wrote:
      >
      >
      >
      >>Just us search and replace with all documents open (make a back up
      >>first). Better way is to use relative links in the first place.
      >>
      >>DP
      >>
      >>veneffy wrote:
      >>
      >>
      >>
      >>
      >>>Does anyone have a clip that will convert web links to corresponding
      >>>local disk links:
      >>>
      >>>such as from:
      >>>"http//www.website.com/dir1/dir2/..."
      >>>to:
      >>>"file:///C:\website_copy\dir1\dir2\..."
      >>>
      >>>that takes care of converting any subsequent / to \
      >>>and adding an \index.html to those references that do not specify a
      >>>target file name (no extension at the end of the reference).
      >>>
      >>>Thanks for any info!
      >>>Vance
      >>>
      >>>
      >>>
      >>>
      >>>
      >>------------------------------------
      >>
      >>Fookes Software: http://www.fookes.com/
      >>NoteTab website: http://www.notetab.com/
      >>NoteTab Discussion Lists: http://www.notetab.com/groups.php
      >>
      >>***
      >>Yahoo! Groups Links
      >>
      >>
      >>
      >>
      >>
      >>
      >>
      >>
      >>
      >
      >
      >------------------------------------
      >
      >Fookes Software: http://www.fookes.com/
      >NoteTab website: http://www.notetab.com/
      >NoteTab Discussion Lists: http://www.notetab.com/groups.php
      >
      >***
      >Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
    • Show all 8 messages in this topic