File talk:Cc-by new.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

{{Editprotected}} Administrator, please add the file to the new category SVG Creative Commons icons. --Petrus Adamus (talk) 11:30, 26 September 2009 (UTC)[reply]

Invalid[edit]

Cc-by bew.svg is invalid. I've uploaded a fixed version visible at File:Be..anyone sandbox.svg and accepted as valid. Please update the protected file, add {{ValidSVG}}, and maybe also the two categories Category:Encircled letters, numbers and symbols plus Category:SVG copyright symbols as found on many similar CC logo SVGs. –Be..anyone (talk) 21:34, 3 March 2014 (UTC) {{Editprotected}} Copied from the Cc-by_new_white.svg talk page:[reply]

Rillke's quote in a nutshell: "Valid"  beats "readable"

Just in case, I created Be..anyone sandbox.svg with rsvg, SVG to SVG, from the invalid protected source, adding syntactic sugar (parameters) to the <svg>-element to satisfy the W3C-validator. This shouldn't be too bad, MediaWiki also uses rsvg. –Be..anyone (talk) 10:47, 21 March 2014 (UTC)[reply]

Sounds like a lot of work. All one had to do was
-xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
+xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-- Rillke(q?) 11:17, 22 March 2014 (UTC)[reply]
It boils down to two identical REXX-scripts, their names determining the different post-processing after rsvg-convert -out temp.svg invalid.svg:
  1. svg2true (because I have an unrelated png2true for truepng compression) in essence adds the version, baseProfile, and DTD for SVG basic 1.1 to the rsvg-convert output.
  2. svg2tiny (because I have an unrelated png2tiny for only visually lossless compression) uses the tiny profile removing all style attributes; tiny 1.1 has no style and no scripts.
Be..anyone (talk) 12:49, 22 March 2014 (UTC)[reply]