#3 patch for svg support in cchost

closed
nobody
ccHost (6)
5
2006-08-22
2006-08-16
Roan
No

modification to cchost's cclib/cc-getid3.php file so it
will recognize the svg file type.

Here's the patch:

--- cc-getid3.php 2006-08-15 22:29:49.000000000 -0400
+++
../Development/OpenClipArt/SVN-cchost/cchost/cchost/trunk/cclib/cc-getid3.php
2006-08-15 22:01:26.000000000 -0400
@@ -242,6 +242,12 @@ class CCGetID3
'enabled' => true,
'mediatype' => 'image',
);
+ $file_formats['image-xml-svg'] = array(
+ 'name' => 'svg',
+ 'description' => 'Scalable Vector Graphic',
+ 'enabled' => true,
+ 'mediatype' => 'image',
+ );
$file_formats['video-swf-swf'] = array(
'name' => 'swf',
'description' => 'Flash Video',

Patch file attached

Discussion

  • Roan

    Roan - 2006-08-16

    Patch to cclib/cc-getid3.php for svg support

     
  • Jon Phillips

    Jon Phillips - 2006-08-22

    Logged In: YES
    user_id=914868

    Heya, I added this patch along with adding some checking to
    getid3.php to make sure svg support is possible in whatever
    version someone is using.

     
  • Jon Phillips

    Jon Phillips - 2006-08-22

    Logged In: YES
    user_id=914868

    Also, I'm closing this after I added your name to the
    AUTHORS file of ccHost!

     
  • Jon Phillips

    Jon Phillips - 2006-08-22
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks