Permalink
Browse files

removed use of database and elephant. filesystem only now.

  • Loading branch information...
1 parent f8e5305 commit 6ad43cfb66bcf61b2d7ee9469e8bbf89ebfd428d @hugoduncan committed Feb 20, 2010
View
@@ -13,7 +13,7 @@
:maintainer "Hugo Duncan <hugo@hugoduncan.org>"
:licence "BSD Open Source"
:description "A generator for blog sites."
- :depends-on (:cxml :cl-fad :elephant :local-time :flexi-streams :mel-base :cl-ppcre :babel)
+ :depends-on (:cxml :cl-fad :local-time :flexi-streams :mel-base :cl-ppcre :babel)
:components
((:module "src"
:components
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://hugoduncan.org/xmlns/post">
+<head>
+ <title>The database has gone!</title>
+ <tag>lisp</tag>
+ <tag>blog</tag>
+ <tag>cl-blog-generator</tag>
+<when day="19" month="2" year="2010"/><linkname>the_database_has_gone</linkname><template>post</template><meta name="description" content="I removed all dependencies on a database. No more elephant. I was updating versions of lisp, elephant, etc, and got fed up of juggling clbuild, uffi, cffi, and elephant. Anyway cl-blog-generator is much easier to use now, and is completely filesystem based. I had always designed the database to be redundant. Now it is. Any existing blog should continue to just work, no migration required."/></head>
+<body>
+<p>I removed all dependencies on a database. No more elephant. I was updating versions of lisp, elephant, etc, and got fed up of juggling clbuild, uffi, cffi, and elephant. Anyway cl-blog-generator is much easier to use now, and is completely filesystem based. I had always designed the database to be redundant. Now it is. Any existing blog should continue to just work, no migration required.</p>
+</body>
+</html>
View
@@ -9,9 +9,10 @@
<author><name>Hugo Duncan</name></author>
<subtitle>Development Blog</subtitle>
<rights>All content written by Hugo Duncan and photos by Hugo Duncan Copyright Hugo Duncan, all rights reserved.</rights>
- <updated>2009-03-31T00:43:21.776272-04:00</updated>
+ <updated>2010-02-19T22:51:32.538602-05:00</updated>
-<entry xml:base="http://hugoduncan.github.com/cl-blog-generator/content/site/"><title>cl-blog-generator Gets Comments</title><link href="http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/cl_blog_generator_gets_comments.xhtml"/><id>http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/cl_blog_generator_gets_comments.xhtml</id><published>2009-03-30T20:00:00.000000-04:00</published><updated>2009-03-30T20:00:00.000000-04:00</updated><published>2009-03-30T20:00:00.000000-04:00</published><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="advogato"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="cl-blog-generator"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="lisp"/><summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I have now added a comment system to <a href="http://github.com/hugoduncan/cl-blog-generator">cl-blog-generator</a>. My requirements were for a simple, low overhead, commenting system, preferable one that could possibly be fully automated.</p></div></summary><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I have now added a comment system to <a href="http://github.com/hugoduncan/cl-blog-generator">cl-blog-generator</a>. My requirements were for a simple, low overhead, commenting system, preferable one that could possibly be fully automated.</p>
+<entry xml:base="http://hugoduncan.github.com/cl-blog-generator/content/site/"><title>The database has gone!</title><link href="http://hugoduncan.github.com/cl-blog-generator/content/site/post/2010/the_database_has_gone.xhtml"/><id>http://hugoduncan.github.com/cl-blog-generator/content/site/post/2010/the_database_has_gone.xhtml</id><published>2010-02-18T19:00:00.000000-05:00</published><updated>2010-02-18T19:00:00.000000-05:00</updated><published>2010-02-18T19:00:00.000000-05:00</published><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="cl-blog-generator"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="blog"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="lisp"/><summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I removed all dependencies on a database. No more elephant. I was updating versions of lisp, elephant, etc, and got fed up of juggling clbuild, uffi, cffi, and elephant. Anyway cl-blog-generator is much easier to use now, and is completely filesystem based. I had always designed the database to be redundant. Now it is. Any existing blog should continue to just work, no migration required.</p></div></summary><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I removed all dependencies on a database. No more elephant. I was updating versions of lisp, elephant, etc, and got fed up of juggling clbuild, uffi, cffi, and elephant. Anyway cl-blog-generator is much easier to use now, and is completely filesystem based. I had always designed the database to be redundant. Now it is. Any existing blog should continue to just work, no migration required.</p>
+</div></content></entry><entry xml:base="http://hugoduncan.github.com/cl-blog-generator/content/site/"><title>cl-blog-generator Gets Comments</title><link href="http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/cl_blog_generator_gets_comments.xhtml"/><id>http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/cl_blog_generator_gets_comments.xhtml</id><published>2009-03-30T20:00:00.000000-04:00</published><updated>2009-03-30T20:00:00.000000-04:00</updated><published>2009-03-30T20:00:00.000000-04:00</published><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="advogato"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="cl-blog-generator"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="lisp"/><summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I have now added a comment system to <a href="http://github.com/hugoduncan/cl-blog-generator">cl-blog-generator</a>. My requirements were for a simple, low overhead, commenting system, preferable one that could possibly be fully automated.</p></div></summary><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I have now added a comment system to <a href="http://github.com/hugoduncan/cl-blog-generator">cl-blog-generator</a>. My requirements were for a simple, low overhead, commenting system, preferable one that could possibly be fully automated.</p>
<p>The comment system was inspired by <a href="http://www.steve.org.uk/Software/chronicle/">Chronicle</a>'s, with a slight modification in approach - the comments are never saved on the web server, and are just sent by email to a dedicated email address. Spam filtering is delegated to the whatever spam filtering is implemented on the mail server, or in your email client. The comment emails are then processed in CL using <a href="http://common-lisp.net/project/mel-base/">mel-base</a> and written to the local filesystem. Moderation can optionally occur on the CL side, if that is preferable to using the email client.</p>
@@ -65,6 +66,15 @@ However, having <a href="http://common-lisp.net/project/elephant/">Elephant</a>
<li> <code>Chronicle</code> has a spooler for posting pre-written content at specific times</li>
</ul>
+</div></content></entry><entry xml:base="http://hugoduncan.github.com/cl-blog-generator/content/site/"><title>Blog Generator Design</title><link href="http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/blog_generator_design.xhtml"/><id>http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/blog_generator_design.xhtml</id><published>2009-03-03T19:00:00.000000-05:00</published><updated>2009-03-03T19:00:00.000000-05:00</updated><published>2009-03-03T19:00:00.000000-05:00</published><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="generator"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="blog"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="lisp"/><summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I want to be able publish posts easily to a statically served site. I am sure that there are lots of blog site generators out there, but I could not find one that I liked, and which was in a language I would enjoy hacking, and so I wrote my own.</p></div></summary><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I want to be able publish posts easily to a statically served site. I am sure that there are lots of blog site generators out there, but I could not find one that I liked, and which was in a language I would enjoy hacking, and so I wrote my own.</p>
+
+<p>The blog site is generated from file based posts, using an augmented version of xhtml as the input format. The input format has a DTD, as well as a Relax NG compressed schema generated using <a href="http://www.thaiopensource.com/relaxng/trang.html">Trang</a> which is used in the provided schemas.xml file to allow validation in Emacs <a href="http://www.thaiopensource.com/nxml-mode/">nXML mode</a>.</p>
+
+<p>When ready, the drafts are merged into a post template, in standard xhtml, to produce a site that can be rsync'd to a web host. The merging of the templates is done using <a href="http://www.sbcl.org/">SBCL</a> and <a href="http://common-lisp.net/project/cxml/">CXML</a>. The generator maintains a database of posts, so that it can generate the index page, etc, and uses <a href="http://common-lisp.net/project/elephant/">Elephant</a>. The whole site can be re-generated from the input post files, so a revision control system, such as git, can be used to manage the posts, and we don't have to worry about backing up the the database too frequently.</p>
+
+<p>An Emacs minor-mode can be used to trigger the publishing and site generation.</p>
+
+<p>The generator is intended to produce a personol blog, with one user. I am however misusing it here to provide a sort of update blog for the software itself.</p>
</div></content></entry><entry xml:base="http://hugoduncan.github.com/cl-blog-generator/content/site/"><title>Blog Generator Configuration</title><link href="http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/blog_generator_configuration.xhtml"/><id>http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/blog_generator_configuration.xhtml</id><published>2009-03-03T19:00:00.000000-05:00</published><updated>2009-03-03T19:00:00.000000-05:00</updated><published>2009-03-03T19:00:00.000000-05:00</published><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="lisp"/><summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>The blog generator is intended to be quite flexible, within the design constraints, which has lead to a large number of possible configurations, both on the lisp side, and for Emacs. Drafts can be written using any editor, but I shall describe use with Emacs. The package has only been tested with SBCL, but should work with any common lisp implentation.</p></div></summary><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>The blog generator is intended to be quite flexible, within the design constraints, which has lead to a large number of possible configurations, both on the lisp side, and for Emacs. Drafts can be written using any editor, but I shall describe use with Emacs. The package has only been tested with SBCL, but should work with any common lisp implentation.</p>
<h2>Prerequisites</h2>
@@ -91,13 +101,4 @@ However, having <a href="http://common-lisp.net/project/elephant/">Elephant</a>
</ul>
<p>For the Atom feed, the <code>updated</code> element is filled out correctly, and the posts are automatically inserted, ie. there are no special id's.</p>
-</div></content></entry><entry xml:base="http://hugoduncan.github.com/cl-blog-generator/content/site/"><title>Blog Generator Design</title><link href="http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/blog_generator_design.xhtml"/><id>http://hugoduncan.github.com/cl-blog-generator/content/site/post/2009/blog_generator_design.xhtml</id><published>2009-03-03T19:00:00.000000-05:00</published><updated>2009-03-03T19:00:00.000000-05:00</updated><published>2009-03-03T19:00:00.000000-05:00</published><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="generator"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="blog"/><category scheme="http://hugoduncan.github.com/cl-blog-generator/content/site/tags" term="lisp"/><summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I want to be able publish posts easily to a statically served site. I am sure that there are lots of blog site generators out there, but I could not find one that I liked, and which was in a language I would enjoy hacking, and so I wrote my own.</p></div></summary><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I want to be able publish posts easily to a statically served site. I am sure that there are lots of blog site generators out there, but I could not find one that I liked, and which was in a language I would enjoy hacking, and so I wrote my own.</p>
-
-<p>The blog site is generated from file based posts, using an augmented version of xhtml as the input format. The input format has a DTD, as well as a Relax NG compressed schema generated using <a href="http://www.thaiopensource.com/relaxng/trang.html">Trang</a> which is used in the provided schemas.xml file to allow validation in Emacs <a href="http://www.thaiopensource.com/nxml-mode/">nXML mode</a>.</p>
-
-<p>When ready, the drafts are merged into a post template, in standard xhtml, to produce a site that can be rsync'd to a web host. The merging of the templates is done using <a href="http://www.sbcl.org/">SBCL</a> and <a href="http://common-lisp.net/project/cxml/">CXML</a>. The generator maintains a database of posts, so that it can generate the index page, etc, and uses <a href="http://common-lisp.net/project/elephant/">Elephant</a>. The whole site can be re-generated from the input post files, so a revision control system, such as git, can be used to manage the posts, and we don't have to worry about backing up the the database too frequently.</p>
-
-<p>An Emacs minor-mode can be used to trigger the publishing and site generation.</p>
-
-<p>The generator is intended to produce a personol blog, with one user. I am however misusing it here to provide a sort of update blog for the software itself.</p>
</div></content></entry></feed>
View
@@ -15,25 +15,30 @@
<div id="centercontent">
<div class="posts">
<div class="post-link-with-synopsis">
- <span class="post-link"><a href="post/2009/cl_blog_generator_gets_comments.xhtml">cl-blog-generator Gets Comments</a></span> ·
+ <span class="post-link"><a href="/cl-blog-generator/content/site/post/2010/the_database_has_gone.xhtml">The database has gone!</a></span> ·
+ <span class="post-synopsis"><p>I removed all dependencies on a database. No more elephant. I was updating versions of lisp, elephant, etc, and got fed up of juggling clbuild, uffi, cffi, and elephant. Anyway cl-blog-generator is much easier to use now, and is completely filesystem based. I had always designed the database to be redundant. Now it is. Any existing blog should continue to just work, no migration required.</p></span>
+ </div>
+
+ <div class="post-link-with-synopsis">
+ <span class="post-link"><a href="/cl-blog-generator/content/site/post/2009/cl_blog_generator_gets_comments.xhtml">cl-blog-generator Gets Comments</a></span> ·
<span class="post-synopsis"><p>I have now added a comment system to <a href="http://github.com/hugoduncan/cl-blog-generator">cl-blog-generator</a>. My requirements were for a simple, low overhead, commenting system, preferable one that could possibly be fully automated.</p></span>
</div>
<div class="post-link-with-synopsis">
- <span class="post-link"><a href="post/2009/blog_site_generators.xhtml">Blog Site Generators</a></span> ·
+ <span class="post-link"><a href="/cl-blog-generator/content/site/post/2009/blog_site_generators.xhtml">Blog Site Generators</a></span> ·
<span class="post-synopsis"><p>
I recently uploaded some links to my <a href="http://github.com/hugoduncan/cl-blog-generator">cl-blog-generator</a> project, and have been getting some feedback with comparisons to other blog site generators, or compilers, such as <a href="http://www.advogato.org/person/Stevey/">Steve Kemp</a>'s <a href="http://www.steve.org.uk/Software/chronicle/">Chronicle</a>, or <a href="http://github.com/mojombo/jekyll">Jekyll</a> as used on <a href="http://github.com/blog/272-github-pages">GitHub Pages</a>. Compared to these, cl-blog-generator is immature, but takes a different approach in several areas that <a href="http://advogato.org/person/chalst/">Charles Stewart</a> suggested might be worth exploring. I look forward to any comments you might have.
</p></span>
</div>
<div class="post-link-with-synopsis">
- <span class="post-link"><a href="post/2009/blog_generator_configuration.xhtml">Blog Generator Configuration</a></span> ·
- <span class="post-synopsis"><p>The blog generator is intended to be quite flexible, within the design constraints, which has lead to a large number of possible configurations, both on the lisp side, and for Emacs. Drafts can be written using any editor, but I shall describe use with Emacs. The package has only been tested with SBCL, but should work with any common lisp implentation.</p></span>
+ <span class="post-link"><a href="/cl-blog-generator/content/site/post/2009/blog_generator_design.xhtml">Blog Generator Design</a></span> ·
+ <span class="post-synopsis"><p>I want to be able publish posts easily to a statically served site. I am sure that there are lots of blog site generators out there, but I could not find one that I liked, and which was in a language I would enjoy hacking, and so I wrote my own.</p></span>
</div>
<div class="post-link-with-synopsis">
- <span class="post-link"><a href="post/2009/blog_generator_design.xhtml">Blog Generator Design</a></span> ·
- <span class="post-synopsis"><p>I want to be able publish posts easily to a statically served site. I am sure that there are lots of blog site generators out there, but I could not find one that I liked, and which was in a language I would enjoy hacking, and so I wrote my own.</p></span>
+ <span class="post-link"><a href="/cl-blog-generator/content/site/post/2009/blog_generator_configuration.xhtml">Blog Generator Configuration</a></span> ·
+ <span class="post-synopsis"><p>The blog generator is intended to be quite flexible, within the design constraints, which has lead to a large number of possible configurations, both on the lisp side, and for Emacs. Drafts can be written using any editor, but I shall describe use with Emacs. The package has only been tested with SBCL, but should work with any common lisp implentation.</p></span>
</div>
</div>
</div>
Oops, something went wrong.

0 comments on commit 6ad43cf

Please sign in to comment.