Permalink
Browse files

rename to clj-tika, change return type of parse-stream to one big map

  • Loading branch information...
1 parent 7afa85c commit c7a2924a785b6ff15c69e7d10b343e13205b1e50 @alexott committed Mar 25, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 .gitignore
  2. +1 −2 project.clj
  3. +2 −1 src/tika.clj
View
@@ -1,5 +1,5 @@
pom-generated.xml
Manifest.txt
-tika-clj.jar
+clj-tika.jar
lib/*.jar
*~
View
@@ -1,8 +1,7 @@
-(defproject tika-clj "1.0.0-SNAPSHOT"
+(defproject clj-tika "1.0.0-SNAPSHOT"
:description "Interface to Apache Tika"
:dependencies [[org.clojure/clojure "1.1.0"]
[org.clojure/clojure-contrib "1.1.0"]
[org.apache.tika/tika-parsers "0.6"]
]
:dev-dependencies [[leiningen/lein-swank "1.2.0-SNAPSHOT"]])
-
View
@@ -25,7 +25,8 @@
(.close ifile)
(let [mdata (conv-metadata metadata)
txt (.toString handler)]
- {:metadata mdata :text txt})))
+ (assoc mdata :text txt)
+ )))
(defn parse-file
"Parses Tika-supported file"

0 comments on commit c7a2924

Please sign in to comment.