summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2009-03-01 16:31:48 +0000
committerMagnus Hagander2009-03-01 16:31:48 +0000
commitee02ed0ab830758a4a07d072487eafda9bd9dc8b (patch)
tree90729fef7706f7acef6437e23e1d77119daaacda
parent26fcd304c20cd8eac30100c473c0d6edf90dd82b (diff)
Add a page specifically outlining how you add a blog
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2419 8f5c7a92-453e-0410-a47f-ad33c8a6b003
-rwxr-xr-xplanet/generator.py2
-rw-r--r--planet/template/add.tmpl21
-rw-r--r--planet/template/index.tmpl1
3 files changed, 23 insertions, 1 deletions
diff --git a/planet/generator.py b/planet/generator.py
index 013dc5bc..0c902f7d 100755
--- a/planet/generator.py
+++ b/planet/generator.py
@@ -35,7 +35,7 @@ class Generator:
)
self.items = []
self.feeds = []
- self.staticfiles = ['policy']
+ self.staticfiles = ['policy','add']
settings.configure(
TEMPLATE_DIRS=('template',),
diff --git a/planet/template/add.tmpl b/planet/template/add.tmpl
new file mode 100644
index 00000000..8a242812
--- /dev/null
+++ b/planet/template/add.tmpl
@@ -0,0 +1,21 @@
+{%extends "base.tmpl"%}
+{%block content%}
+<h1>Adding your blog to Planet PostgreSQL</h1>
+<p>
+Adding your blog to Planet PostgreSQL is simple, and we encourage all people
+who blog about PostgreSQL to do it. Just follow the steps below:
+</p>
+<ol>
+ <li>Make sure your blog follow the <a href="/https/git.postgresql.org/policy.html">policy</a>.</li>
+ <li>If you don't have one already,
+ <a href="http://wwwmaster.postgresql.org/community/signup">sign up</a>
+ for a PostgreSQL Community Account (same as is used for example for
+ the PostgreSQL <a href="http://wiki.postgresql.org">wiki</a>.
+ </li>
+ <li>Go to the <a href="/https/git.postgresql.org/register/">registration</a> website, and add
+ your blog.</li>
+ <li>Wait for the blog to get approved by the
+ <a href="mailto:planet _at_ postgresql.org">moderators</a>.</li>
+ <li>Wait up to 15 minutes for your posts to show up.</li>
+</ol>
+{%endblock%}
diff --git a/planet/template/index.tmpl b/planet/template/index.tmpl
index 2a73480a..02ff52ac 100644
--- a/planet/template/index.tmpl
+++ b/planet/template/index.tmpl
@@ -15,6 +15,7 @@
<div class="planetRightTitle">Planet</div>
<ul>
<li><a href="policy.html">Policy</a> for being listed on Planet PostgreSQL.</li>
+ <li><a href="add.html">Add</a> your blog to Planet PostgreSQL.</li>
<li><a href="/https/git.postgresql.org/register/">Manage</a> your registration.</li>
</ul>
<div class="planetRightTitle">Contact</div>