             )           
           )
         )
-
-        (dom/div #js {:className "col-md-12" :id "blogItems" :styles "margin-top: 60px;"}
-          (apply dom/ul nil
-            (om/build-all story-view (:stories app) {:key :Reference})
-          )
-        )         
-      )
-    )
-  )
-)
-
-(defmulti website-view (fn [data _] (:view data)))
-
-(defmethod website-view 0
-  [data owner] 
-  (list-view data owner)
-)
-
-(defmethod website-view 1
-  [data owner] 
-  (item-view data owner)
-)
-
-
-(defn changeview [data]
-  (->> data
-    :stories
-    (mapv (fn [x]
-            (if (:view data)
-              x)
-      )
-    )
-  )
-)
-
-(defn main-view [app owner]
-  (reify
-    om/IRender
-    (render [_]
-      (dom/div nil
-        ;(apply dom/ul nil      )
         (om/build website-view app {:key :Reference} )
       )      
     )

)

(defn list-view [app owner]
  (reify
    om/IRender
    (render [_]



(defn downloadstory [href]
  (GET (str "http://take5people.cn:8083/api/story/" href)  {:handler OnDownloadStory
                                              :error-handler error-handler})

)
