json, an output representation, first pass
[software/sisu] / lib / sisu / shared_metadata.rb
index fe4813a6ab8e7779a7dfd1b22a97b047cbbb90e3..c69aa7598164676bab59ea1796d46ed1d78d6e11 100644 (file)
@@ -944,6 +944,18 @@ WOK
         end
         <<WOK
 <text:p text:style-name="P1">#{@tag.capitalize}: #{@inf}</text:p>
+WOK
+      end
+      def metadata
+        SiSU_Metadata::Summary.new(@md).metadata_base
+      end
+      self
+    end
+    def json
+      def meta_para
+        <<WOK
+
+#{@tag.capitalize}: #{@inf}
 WOK
       end
       def metadata