Convert htdocs/about.bml to TT.
Patch by mark.
diffs (167 lines):
diff -r ea2a3f56474d -r e2d1deeb03c8 cgi-bin/DW/Controller/DreamwidthMisc.pm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cgi-bin/DW/Controller/DreamwidthMisc.pm Thu Dec 24 22:47:03 2009 +0000
@@ -0,0 +1,32 @@
+#!/usr/bin/perl
+#
+# DW::Controller::DreamwidthMisc
+#
+# Controller for Dreamwidth specific miscellaneous pages.
+#
+# Authors:
+# Mark Smith <[email protected]>
+#
+# Copyright (c) 2009 by Dreamwidth Studios, LLC.
+#
+# This program is NOT free software or open-source; you can use it as an
+# example of how to implement your own site-specific extensions to the
+# Dreamwidth Studios open-source code, but you cannot use it on your site
+# or redistribute it, with or without modifications.
+#
+
+package DW::Controller::DreamwidthMisc;
+
+use strict;
+use warnings;
+use DW::Controller;
+use DW::Routing::Apache2;
+use DW::Template::Apache2;
+
+DW::Routing::Apache2->register_string( '/about', \&about_handler, app => 1 );
+
+sub about_handler {
+ return DW::Template::Apache2->render_template( 'misc/about.tt' );
+}
+
+1;
diff -r ea2a3f56474d -r e2d1deeb03c8 htdocs/about.bml
--- a/htdocs/about.bml Wed Dec 23 18:09:19 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-<?page
-TITLE=>About <?sitename?>
-BODY<=
-
-<?h1 Open Source. Open expression. Open operations. h1?>
-
-<?p
-<?sitename?> is an Open Source social networking, content management, and
personal publishing platform. Our mission in life is to make it easy for you to
share the things you make, and easy to find the people who are making the
things you want to enjoy. p?>
-
-<?p
-We have all the features you've come to love in social networking sites,
including privacy and security features, community interaction, content
aggregation, multimedia support, and more. We're committed to adding features
that you'll find useful and relevant, as well as working to integrate our site
with the other Internet services you regularly use. p?>
-
-<?h1 Open source: h1?>
-
-<?p
-<?sitename?> is based upon the <a
href="http://www.livejournal.com">LiveJournal</a> codebase offered by
LiveJournal, Inc. We've taken the LiveJournal server code and updated,
modernized, and streamlined it -- and we make all of our changes available
under an Open Source license.
-p?>
-
-<?p
-Our development community is already healthy and thriving. We've got room for
everyone to contribute, whether you've just learned how to say "hello world" or
you've been programming for thirty years. Check out our <a
href="http://bugs.dwscoalition.org">bug tracker</a> for information on what
projects we have open, and our <a
href="http://wiki.dwscoalition.org/notes/Category:Development">Development</a>
wiki category for useful getting-started notes.
-p?>
-
-<?h1 Open expression: h1?>
-
-<?p
-We know we can never be all things to all people, and we're not going to try.
We are, however, hoping to be the best option available for people who want to
make things and share them with other people, and we want you to have
confidence in our operations and our decisions.
-p?>
-
-<?p
-We believe that you should always be able to figure out why we make the
decisions we make. We'll communicate with you, openly and honestly, as people
and not as a corporate face. We'll make our decisions and our process as
transparent as possible, and look for community feedback and opinions at all
stages. We think you should always know what we're doing, why we're doing it,
and what we hope to accomplish.
-p?>
-
-<?p
-We believe in sustainability, not profiteering. We want to grow our business
slowly and steadily, in a way that can support the community instead of
exploiting it. We don't own you or your content -- we hope that you'll empower
us to be your hands and trust us to build a community that can last.
-p?>
-
-<?p
-We will remain third-party-advertising-free. We believe it's possible to run a
sustainable hosted service without resorting to third-party advertising or
third-party sponsorship -- and we're committed to showing you what we're taking
in, what we're spending, and where the money's going.
-p?>
-
-<?p
-To learn more about our business operations, check out our <a
href="http://wiki.dwscoalition.org/notes/Category:Dreamwidth.org">Dreamwidth.org</a>
wiki pages.
-p?>
-
-
-<?h1 Open operations: h1?>
-
-<?p We value creative expression of all types and kinds. We will never place a
limit on open expression, except as required by United States law or as
required to protect the health of the service (such as by removing spam). p?>
-
-<?p We believe in providing you with the tools you want to make your chosen
form of creative expression easy. We'll provide you with the tools -- what you
build with them is entirely up to you. p?>
-
-<?h1 Learn More h1?>
-
-<?p We're in internal beta testing now, and hope to launch to the public
shortly. In the meantime, to learn more about us, you can join one of our <a
href="http://lists.dwscoalition.org/cgi-bin/mailman/listinfo">mailing lists</a>:
-
-<ul><li><b><a
href="http://lists.dwscoalition.org/cgi-bin/mailman/listinfo/dw-discuss">dw-discuss</a></b>:
An unmoderated mailing list that will allow you to ask questions and offer
feedback. We can't promise to answer everything, but we want to hear from you
and find out what you want to know more about.</li>
-<li> <b><a
-href="http://lists.dwscoalition.org/cgi-bin/mailman/listinfo/dw-progress">dw-progress</a></b>:
-A moderated mailing list for us to give you regular updates about what we've
accomplished and what we're doing next.</li>
-<li> <b><a
-href="http://lists.dwscoalition.org/cgi-bin/mailman/listinfo/dw-help">dw-help</a></b>:
A moderated mailing list for us to post volunteer opportunities -- in case you
want to lend us a hand.</li>
-<li> <b><a
-href="http://lists.dwscoalition.org/cgi-bin/mailman/listinfo/dw-launch">dw-launch</a></b>:
A moderated mailing list that's the definition of low traffic -- we'll post
here once to announce when we're moving into closed beta, and again when we
launch to the public.</li></ul>
-
-p?>
-
-<?p For even more information, you can read our <a
href="http://wiki.dwscoalition.org/notes/">Dreamwidth wiki</a>. We'd also love
to hear from you in our irc channel: irc.dwscoalition.org (port 6667), channel
#dw. p?>
-
-
-<=BODY
-page?>
diff -r ea2a3f56474d -r e2d1deeb03c8 views/misc/about.tt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/views/misc/about.tt Thu Dec 24 22:47:03 2009 +0000
@@ -0,0 +1,52 @@
+[%- sections.title='About Dreamwidth Studios' -%]
+
+<h1>Open Source. Open expression. Open operations.</h1>
+
+<p>
+Dreamwidth Studios is an Open Source social networking, content management,
and personal publishing platform. Our mission in life is to make it easy for
you to share the things you make, and easy to find the people who are making
the things you want to enjoy. </p>
+
+<p>
+We have all the features you've come to love in social networking sites,
including privacy and security features, community interaction, content
aggregation, multimedia support, and more. We're committed to adding features
that you'll find useful and relevant, as well as working to integrate our site
with the other Internet services you regularly use. </p>
+
+<h1>Open source:</h1>
+
+<p>
+Dreamwidth Studios is based upon the <a
href="http://www.livejournal.com">LiveJournal</a> codebase offered by
LiveJournal, Inc. We've taken the LiveJournal server code and updated,
modernized, and streamlined it -- and we make all of our changes available
under an Open Source license.
+</p>
+
+<p>
+Our development community is already healthy and thriving. We've got room for
everyone to contribute, whether you've just learned how to say "hello world" or
you've been programming for thirty years. Check out our <a
href="http://bugs.dwscoalition.org">bug tracker</a> for information on what
projects we have open, and our <a
href="http://wiki.dwscoalition.org/notes/Category:Development">Development</a>
wiki category for useful getting-started notes.
+</p>
+
+<h1>Open expression:</h1>
+
+<p>
+We know we can never be all things to all people, and we're not going to try.
We are, however, hoping to be the best option available for people who want to
make things and share them with other people, and we want you to have
confidence in our operations and our decisions.
+</p>
+
+<p>
+We believe that you should always be able to figure out why we make the
decisions we make. We'll communicate with you, openly and honestly, as people
and not as a corporate face. We'll make our decisions and our process as
transparent as possible, and look for community feedback and opinions at all
stages. We think you should always know what we're doing, why we're doing it,
and what we hope to accomplish.
+</p>
+
+<p>
+We believe in sustainability, not profiteering. We want to grow our business
slowly and steadily, in a way that can support the community instead of
exploiting it. We don't own you or your content -- we hope that you'll empower
us to be your hands and trust us to build a community that can last.
+</p>
+
+<p>
+We will remain third-party-advertising-free. We believe it's possible to run a
sustainable hosted service without resorting to third-party advertising or
third-party sponsorship -- and we're committed to showing you what we're taking
in, what we're spending, and where the money's going.
+</p>
+
+<p>
+To learn more about our business operations, check out our <a
href="http://wiki.dwscoalition.org/notes/Category:Dreamwidth.org">Dreamwidth.org</a>
wiki pages.
+</p>
+
+
+<h1>Open operations:</h1>
+
+<p> We value creative expression of all types and kinds. We will never place a
limit on open expression, except as required by United States law or as
required to protect the health of the service (such as by removing spam). </p>
+
+<p> We believe in providing you with the tools you want to make your chosen
form of creative expression easy. We'll provide you with the tools -- what you
build with them is entirely up to you. </p>
+
+<h1>Learn More</h1>
+
+<p> For even more information, you can read our <a
href="http://wiki.dwscoalition.org/notes/">Dreamwidth wiki</a>. We'd also love
to hear from you in our irc channel: irc.dwscoalition.org (port 6667), channel
#dw. </p>
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog