diff --git a/README.txt b/README.txt index 4ebbbf8..d464e46 100644 --- a/README.txt +++ b/README.txt @@ -1,17 +1,23 @@ Scour ===== -Scour will be a Python module that takes an input SVG and outputs a cleaner, -more concise SVG file. The goal will be that authors will use this script -after editing the file in a GUI editor such as Inkscape or Adobe Illustrator. +Scour is a Python module that takes an input SVG and outputs a cleaner, +more concise SVG file. The goal is that authors will use this script after +editing the file in a GUI editor such as Inkscape or Adobe Illustrator. Scour was started as a vehicle for me to learn Python. In addition, the goal is to reduce the amount of time I spend in cleaning up files I find on sites such as openclipart.org +Ideas are pulled from three places: + +- my head +- Sam Ruby's SVG Tidy script: http://intertwingly.net/code/svgtidy/svgtidy.rb +- Inkscape's proposal for a 'cleaned SVG': http://wiki.inkscape.org/wiki/index.php/Save_Cleaned_SVG + Regards, Jeff Schiller -2009-04-02 +2009-04-06 codedread@gmail.com http://blog.codedread.com/ diff --git a/package.sh b/package.sh index 225c5fa..b6a5dc9 100755 --- a/package.sh +++ b/package.sh @@ -1,4 +1,4 @@ #!/bin/bash -SCOURVER="0.03" -tar cvf scour-$SCOURVER.tar scour.py LICENSE.txt README.txt +SCOURVER="0.04" +tar cvf scour-$SCOURVER.tar scour.py LICENSE NOTICE README.txt gzip scour-$SCOURVER.tar \ No newline at end of file diff --git a/tests/emptyElems.svg b/tests/emptyElems.svg new file mode 100644 index 0000000..cc5b707 --- /dev/null +++ b/tests/emptyElems.svg @@ -0,0 +1,10 @@ + + + + + + + + Foo + + \ No newline at end of file diff --git a/tests/emptyElems2.svg b/tests/emptyElems2.svg new file mode 100644 index 0000000..cdf254c --- /dev/null +++ b/tests/emptyElems2.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file