---Reply to mail from Michael Nordstr�m about Exclude URL info for local files
> How difficult would it be to *not* include URL info for the pages that
> are included in a Plucker document?
>
> When creating a Plucker document from local files the URL info for the
> included files will not only be useless for anyone reading the Plucker
> document, but will also reveal things that you might want to keep
> "secret" for security reasons.
>
> Some kind of switch to only include external URLs would be nice. At the
> moment, I don't have time to look into this myself (have to make some
> better progress on the Linux version of the viewer and also add support
> for VFS and Handera's hi-res screen to the Palm version.)

To exclude _all_ local files from a document including the 'home' document
(if it is local):

--- PluckerLinks.py.org Mon Sep  3 16:47:05 2001
+++ PluckerLinks.py     Mon Sep  3 16:47:43 2001
@@ -57,7 +57,7 @@

         mapping = self._mapping.get_mapping()
         for i in mapping.keys ():
-            if i[:7] != "mailto:":
+            if i[:7] != "mailto:"; and i[:5] != "file:":
                 rev[mapping[i]] = i

         while (count <= last_id):

---End reply

Christopher R. Hawks
HAWKSoft

LINUX, the OS for people with an IQ over 98  :->




Reply via email to