Author: pmacadden
Date: 2010-03-09 18:50:25 +0100 (Tue, 09 Mar 2010)
New Revision: 28440

Modified:
   plugins/dcSwishPlugin/trunk/README
Log:
README finished so far

Modified: plugins/dcSwishPlugin/trunk/README
===================================================================
--- plugins/dcSwishPlugin/trunk/README  2010-03-09 17:38:05 UTC (rev 28439)
+++ plugins/dcSwishPlugin/trunk/README  2010-03-09 17:50:25 UTC (rev 28440)
@@ -11,10 +11,29 @@
 
       $ ./symfony plugin:install dcSwishPlugin
 
+Usage
+-----
+
   * Create the swish.config file in $SF_ROOT_DIR/config/swish.config (a sample 
is provided in $SF_PLUGINS_DIR/config/swish.config.sample)
 
   * Build the index
 
       $ ./symfony swish:build
 
-  * 
+  * Configure the plugin in `app.yml`
+      [yml]
+      all:
+        dc_swish:
+          index: <?php echo basename(__FILE__) 
?>/../../../data/swish/index.swish-e
+          display: [rank, path, size, lastmod, title, description]  # the 
fields to be displayed
+
+  * Enable the dc_swish_module in `settings.yml`
+      [yml]
+      all:
+        # ...
+        enabled_modules: [default, dc_swish]
+
+  * Rely on dc_swish!
+      [php]
+      // ...
+      $this->redirect("@dc_swish");

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to