---Reply to mail from Bill Janssen about Parser updated to provide for multiple 
formats of same image

> I've just checked in a lot of changes to the parser; see below for a list.

Just two small nits to pick:
> TextParser.py:  Moved HTML color names to hash table.
At linr 484 we need to add the second case, as some hosts (like Linux
Today) specify the foreground (like Linux Today) as 'ffffff'
        # so if white, just darken it a bit to silver.
        if rgb == 'FFFFFF' or rgb == 'ffffff':
            rgb = "C0C0C0"

UtilFns.py:  Adds 'show_exception', 'message', and 'error' functions.  See code
> for doc strings.
You need to add this to Spider.py or verbosity = X in .pluckerrc is
ignored.
--- Spider.py.orig      Tue Jan 22 21:01:14 2002
+++ Spider.py   Wed Jan 23 21:25:54 2002
@@ -1139,6 +1139,9 @@
             # also not in the config, so we default to plucker home
             pluckerdir = pluckerhome
             config.set ('pluckerdir', pluckerdir)
+        
+    if config.get_int('verbosity') is not None:
+        PyPlucker.UtilFns.set_verbosity(config.get_int('verbosity'))
 
     
     if use_file is None and use_cache is None:


Other than two nits, Really Nice!!

---End reply

Christopher R. Hawks
HAWKSoft
-------------------------------------------------------------------------
By golly, I'm beginning to think Linux really *is* the best thing since
sliced bread.
    -- Vance Petree, Virginia Power





Reply via email to