Home
== Tumbline, the tumblelogging engine that wants to be
Tumbline is a tumblelogging engine I began to work on but never finished, and probably never will, so I'm releasing it so that maybe someone else will find it usefull.
It supports:
A polymorphic number of post-types (text,links,quotes,photos,chats so far)
Liquid templates for each tumblelog
multiple sites/tumblelogs
Handy bookmarklet
XML API
… And a few other half-baked features
It doesn’t have:
A good design
Optimized queries (refactoring of model relations is probably needed)
Complete UI
Complete setup of useful template tags/filters/methods
=== Templates
A basic main layout template would look something like this:
<html>
<head>
<title>{{ tumblelog.title }}</title>
</head>
<body>
{% for tumble in tumblelog.tumbles %}
{{ tumble | render }}
{% endfor %}
</body>
</html>
And some templates for the different post types (see the ./app/drops/* dir for other methods they support):
Text:
<div class="text">
<h3>{{ post.title }}</h3>
{{ post.body }}
</div
Quote:
<div class="quote>
<blockquote>{{ quote.body }} </blockquote>
</div>
Link:
<div class="link>
<a href="{{ link.url }}">{{ link.title }}</a>
</div>
Chat:
<div class="conversation">
<h3>{{ conversation.title }}</h3>
<ul>
{% for line in conversation.lines %}
<li><strong>{{ line.user }}:</strong> {{ line.uttering }}</li>
{% endfor %}
</ul>
</div>
Since the app was initially built to run on the tumbline.com domain, you’ll need a /etc/hosts entry for “www.tumbline.local” (and any subdomain.tumbline.lcoal you wish to see) mapped to 127.0.0.1.
http://www.tumbline.local:3000/account/new to create an account (check the log for the mail with the activation code in dev mode)
http://www.tumbline.local:3000/tumble to login and tumble something
Enjoy, and let me know if you do anything useful with it!
Johan Sørensen
johan@johansorensen.com

