Skip to content

Commit

Permalink
Added blog post, more fixing atom.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Feb 11, 2009
1 parent 9f203c8 commit f923a6b
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
10 changes: 10 additions & 0 deletions _posts/2009-02-11-open-source-is-amazing.textile
@@ -0,0 +1,10 @@
---
layout: post
title: Open Source Is Amazing
---

Yesterday, I pushed by new, Jekyll-powered blog out to GitHub. That was 24 hours ago. Today, I get a note from Scott Chacon (GitHub guy and overall git guru) saying he liked my template and decided to use it for his site.

That's what's so great about GitHub's open source community: I shared it with no publicity or fanfare on my GitHub account and someone else found it useful and implemented it for their own site. I guess maybe some people don't like others copying their site, I think it's pretty great!

So if you like this little blog and open-source project display page, "fork away":http://github.com/mbleigh/mbleigh.github.com/! All that I would like in return is for you to let me know that you're using it so I can check out your site.
6 changes: 3 additions & 3 deletions atom.xml
Expand Up @@ -17,11 +17,11 @@ layout: nil
{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="http://mbleigh.github.com/{{ post.url }}"/>
<link href="http://www.mbleigh.com{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://mbleigh.com/{{ post.id }}</id>
<id>http://mbleigh.com{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}

</feed>
</feed>
32 changes: 32 additions & 0 deletions drafts/outsource-your-blog.textile
@@ -0,0 +1,32 @@
---
layout: post
title: Outsource Your Blog
---

Blogs are simple pieces of software. It's the penultimate "sample application" that you build when learning frameworks like "Rails":http://rubyonrails.org/. But what I've found is, the more familiar I am with writing and managing blogging applications, the less I have any interest in doing it. Everything is too heavyweight, with themes and databases and complex administrative interfaces. I found myself yearning for something simple, uncluttered, and under my control.

When "GitHub announced support for user pages":http://github.com/blog/272-github-pages I knew in the back of my mind that this was going to be a big deal. At the time I didn't really know how it could be used for a blog since it seemed to just serve up static pages, but I definitely liked what I was hearing. After a couple of months went by, I finally decided to take the plunge and see what I could accomplish. Surprisingly, everything I wanted in a blog!

h3. Dead Simple Publishing

GitHub Pages are as simple as:

* Create a GitHub repository called yourname.github.com
* Push a 'master' branch to that repository
* GitHub will automatically build your page using "Jekyll":http://github.com/mojombo/jeyll

You may not have heard of Jekyll before (at least outside of the context of GitHub pages), but it is essentially an HTML generator that allows you to generate static HTML sites based on some very simple rules. Once you learn those rules, it's extremely simple to build sites that can be deployed anywhere that can serve up HTML (no server-side required).

You can also use a <code>CNAME</code> to redirect your own domain to GitHub.

h3. What About Comments? Images?

New tools have appeared that not only take care of all of the functionality I need for handling blog comments and image uploads, but do them better than any blog engine I have ever used.

"Disqus":http://www.disqus.com/ completely offloads blog post comments, and does a ridiculously good job of it. You get message threading, a great e-mail notification system, spam protection, and best of all it's as simple as a Javascript include in your blog post template.

Images are easy enough to add to a directory structure, but I find it even easier to use "Skitch":http://www.skitch.com/, drag an image to it, webpost it, and then use the direct image URL to embed it in the post.

h3. Why Do It?

I like using Ruby. I like writing my posts in Textile. I hate managing comments and complicated blog systems. If that sounds like you, you may want to look into outsourcing your own blog.

0 comments on commit f923a6b

Please sign in to comment.