Created filr structure for blog as a plugin(option 1).
authorAditi <aditi.iitr@gmail.com>
Wed, 26 Jun 2013 17:57:45 +0000 (23:27 +0530)
committerAditi <aditi.iitr@gmail.com>
Wed, 26 Jun 2013 17:57:45 +0000 (23:27 +0530)
mediagoblin/plugins/blog/LICENCE [new file with mode: 0644]
mediagoblin/plugins/blog/README.srt [new file with mode: 0644]
mediagoblin/plugins/blog/__init__.py [new file with mode: 0644]
mediagoblin/plugins/blog/forms.py [new file with mode: 0644]
mediagoblin/plugins/blog/setup.py [new file with mode: 0644]
mediagoblin/plugins/blog/templates/blogpost_edit.html [new file with mode: 0644]
mediagoblin/plugins/blog/views.py [new file with mode: 0644]

diff --git a/mediagoblin/plugins/blog/LICENCE b/mediagoblin/plugins/blog/LICENCE
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mediagoblin/plugins/blog/README.srt b/mediagoblin/plugins/blog/README.srt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mediagoblin/plugins/blog/__init__.py b/mediagoblin/plugins/blog/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mediagoblin/plugins/blog/forms.py b/mediagoblin/plugins/blog/forms.py
new file mode 100644 (file)
index 0000000..52af1cf
--- /dev/null
@@ -0,0 +1,17 @@
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011, 2012 MediaGoblin contributors.  See AUTHORS.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+import wtforms
diff --git a/mediagoblin/plugins/blog/setup.py b/mediagoblin/plugins/blog/setup.py
new file mode 100644 (file)
index 0000000..c4e0ee9
--- /dev/null
@@ -0,0 +1,10 @@
+from setuptools import setup, find_packages
+
+setup(
+       name = 'blog',
+       version = '1.0',
+       packages = find_packages();
+       include_package_data = True,
+       install_requires = [],
+       license = 'AGPLv3',
+       )
diff --git a/mediagoblin/plugins/blog/templates/blogpost_edit.html b/mediagoblin/plugins/blog/templates/blogpost_edit.html
new file mode 100644 (file)
index 0000000..fec7a9c
--- /dev/null
@@ -0,0 +1,19 @@
+{#
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011, 2012 MediaGoblin contributors.  See AUTHORS.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-#}
+{% extends "mediagoblin/base.html" %}
+
diff --git a/mediagoblin/plugins/blog/views.py b/mediagoblin/plugins/blog/views.py
new file mode 100644 (file)
index 0000000..c4e8601
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- coding: utf-8 -*-
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011, 2012 MediaGoblin contributors.  See AUTHORS.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.