document source data formats
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 12 May 2010 20:00:29 +0000 (22:00 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 12 May 2010 20:00:29 +0000 (22:00 +0200)
README

diff --git a/README b/README
index f676698..3745ca1 100644 (file)
--- a/README
+++ b/README
@@ -1,9 +1,16 @@
 Mojo Facets - server side facet browsing using Mojolicious and jQuery UI
 
 
-Put JSON file from Simile Exhibit project in data/
+Data sources:
+
+Put JSON file from Simile Exhibit project in data/ with extension .js or .json
+
+Alternative format is pipe (|) separated text files with extension .txt
+First column is always header with field names
+Multi-line values should be wrapped in ^multi-line-text^
+
 
 Start with:
 
-LANG=hr_HR.utf8 ./script/mojo_facets daemon --reload
+  LANG=hr_HR.utf8 ./script/mojo_facets daemon --reload