From 3fc56730da6b105bace4bd4621029a0b7e62f6e3 Mon Sep 17 00:00:00 2001 From: JSCHILL1 Date: Mon, 6 Apr 2009 07:32:06 -0500 Subject: [PATCH] Some more TODO notes and links to svgtidy.rb and clean Inkscape ideas --- scour.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scour.py b/scour.py index cc441e8..7b201a7 100755 --- a/scour.py +++ b/scour.py @@ -20,6 +20,17 @@ # along with Scour. If not, see http://www.gnu.org/licenses/ . # +# Path-crunching ideas here: http://intertwingly.net/code/svgtidy/spec.rb +# (and implemented here: http://intertwingly.net/code/svgtidy/svgtidy.rb ) + +# Yet more ideas here: http://wiki.inkscape.org/wiki/index.php/Save_Cleaned_SVG + +# Next Up: +# - Remove empty defs/elements elements (no children and no attributes) +# - Remove Adobe namespace elements, attributes +# _ Remove inkscape/sodipodi/adobe namespace declarations +# - Convert style to attributes + import sys import string import xml.dom.minidom