Author: jukka
Date: Mon Oct 22 13:48:12 2007
New Revision: 587245

URL: http://svn.apache.org/viewvc?rev=587245&view=rev
Log:
TIKA-85 - Add glob patterns from the ASF svn:eol-style documentation
    - Added patterns based on svn:eol-style and svn:mime-type defaults
    - Many of the patterns should be assigned to appropriate MIME subtypes

Modified:
    incubator/tika/trunk/CHANGES.txt
    incubator/tika/trunk/src/main/resources/mime/tika-mimetypes.xml

Modified: incubator/tika/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/incubator/tika/trunk/CHANGES.txt?rev=587245&r1=587244&r2=587245&view=diff
==============================================================================
--- incubator/tika/trunk/CHANGES.txt (original)
+++ incubator/tika/trunk/CHANGES.txt Mon Oct 22 13:48:12 2007
@@ -123,3 +123,5 @@
 55. TIKA-83 - Create a org.apache.tika.sax package for SAX utilities (jukka)
 
 56. TIKA-84 - Add MimeTypes.getMimeType(InputStream) (jukka)
+
+57. TIKA-85 - Add glob patterns from the ASF svn:eol-style documentation 
(jukka)

Modified: incubator/tika/trunk/src/main/resources/mime/tika-mimetypes.xml
URL: 
http://svn.apache.org/viewvc/incubator/tika/trunk/src/main/resources/mime/tika-mimetypes.xml?rev=587245&r1=587244&r2=587245&view=diff
==============================================================================
--- incubator/tika/trunk/src/main/resources/mime/tika-mimetypes.xml (original)
+++ incubator/tika/trunk/src/main/resources/mime/tika-mimetypes.xml Mon Oct 22 
13:48:12 2007
@@ -29,6 +29,96 @@
                </magic>
                <glob pattern="*.txt" />
                <glob pattern="*.asc" />
+
+               <!-- TIKA-85: http://www.apache.org/dev/svn-eol-style.txt -->
+               <glob pattern="INSTALL" />
+               <glob pattern="KEYS" />
+               <glob pattern="Makefile" />
+               <glob pattern="README" />
+               <glob pattern="abs-linkmap" />
+               <glob pattern="abs-menulinks" />
+               <glob pattern="*.aart" />
+               <glob pattern="*.ac" />
+               <glob pattern="*.am" />
+               <glob pattern="*.bat" />
+               <glob pattern="*.c" />
+               <glob pattern="*.cat" />
+               <glob pattern="*.cgi" />
+               <glob pattern="*.classpath" />
+               <glob pattern="*.cmd" />
+               <glob pattern="*.conf" />
+               <glob pattern="*.config" />
+               <glob pattern="*.cpp" />
+               <glob pattern="*.css" />
+               <glob pattern="*.cwiki" />
+               <glob pattern="*.data" />
+               <glob pattern="*.dcl" />
+               <glob pattern="*.dtd" />
+               <glob pattern="*.egrm" />
+               <glob pattern="*.ent" />
+               <glob pattern="*.ft" />
+               <glob pattern="*.fn" />
+               <glob pattern="*.fv" />
+               <glob pattern="*.grm" />
+               <glob pattern="*.g" />
+               <glob pattern="*.h" />
+               <glob pattern=".htaccess" />
+               <glob pattern="*.ihtml" />
+               <glob pattern="*.in" />
+               <glob pattern="*.java" />
+               <glob pattern="*.jmx" />
+               <glob pattern="*.jsp" />
+               <glob pattern="*.js" />
+               <glob pattern="*.junit" />
+               <glob pattern="*.jx" />
+               <glob pattern="*.manifest" />
+               <glob pattern="*.m4" />
+               <glob pattern="*.mf" />
+               <glob pattern="*.MF" />
+               <glob pattern="*.meta" />
+               <glob pattern="*.mod" />
+               <glob pattern="*.n3" />
+               <glob pattern="*.pen" />
+               <glob pattern="*.pl" />
+               <glob pattern="*.pm" />
+               <glob pattern="*.pod" />
+               <glob pattern="*.pom" />
+               <glob pattern="*.project" />
+               <glob pattern="*.properties" />
+               <glob pattern="*.py" />
+               <glob pattern="*.rb" />
+               <glob pattern="*.rdf" />
+               <glob pattern="*.rnc" />
+               <glob pattern="*.rng" />
+               <glob pattern="*.rnx" />
+               <glob pattern="*.roles" />
+               <glob pattern="*.rss" />
+               <glob pattern="*.sh" />
+               <glob pattern="*.sql" />
+               <glob pattern="*.svg" />
+               <glob pattern="*.tld" />
+               <glob pattern="*.types" />
+               <glob pattern="*.vm" />
+               <glob pattern="*.vsl" />
+               <glob pattern="*.wsdd" />
+               <glob pattern="*.wsdl" />
+               <glob pattern="*.xargs" />
+               <glob pattern="*.xcat" />
+               <glob pattern="*.xconf" />
+               <glob pattern="*.xegrm" />
+               <glob pattern="*.xgrm" />
+               <glob pattern="*.xlex" />
+               <glob pattern="*.xlog" />
+               <glob pattern="*.xmap" />
+               <glob pattern="*.xroles" />
+               <glob pattern="*.xsamples" />
+               <glob pattern="*.xsd" />
+               <glob pattern="*.xsl" />
+               <glob pattern="*.xslt" />
+               <glob pattern="*.xsp" />
+               <glob pattern="*.xul" />
+               <glob pattern="*.xweb" />
+               <glob pattern="*.xwelcome" />
        </mime-type>
 
        <mime-type type="text/html">
@@ -538,6 +628,22 @@
        <mime-type type="x-conference/x-cooltalk">
                <_comment>Cooltalk Audio</_comment>
                <glob pattern="*.ice" />
+       </mime-type>
+
+<!-- ===================================================================== -->
+<!-- TIKA-85: http://www.apache.org/dev/svn-eol-style.txt                  -->
+<!-- ===================================================================== -->
+
+       <mime-type type="image/x-icon">
+               <glob pattern="*.ico" />
+       </mime-type>
+
+       <mime-type type="image/jpeg">
+               <glob pattern="*.jpg" />
+       </mime-type>
+
+       <mime-type type="image/png">
+               <glob pattern="*.png" />
        </mime-type>
 
 </mime-info>


Reply via email to