Tumbeblogging with pyblosxom?

chombee <[email protected]> Tue, 26 Feb 2008 12:50:38 +0000
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <1204030238.5798.18.camel@s0094060-desktop>
I've been idly wondering about the possibility of tumbeblogging with
pyblosxom. I don't have the time to do anything about it, but thought
I'd post my thoughts out loud.

Basically I find that I often want to post something small that doesn't
really want to be an article with separate title and content like a
normal pyblosxom post. In my case, it's usually a link or a quote I've
come across. 

A link is best displayed as just a link with optional description or
comment following it. I already have to think up something to use for
the link text, I don't want to have to come up with something else, or
reuse the same thing, as the post title as well.

A quote is best displayed as just a quote with optional (possibly
linkified) source.

And with any kind of micro content like this, I want to be able to post
really quickly from a browser, e.g. by using some kind of javascript
button. Pyblosxom's use of the filesystem is great usually, but if I
just want to log some link for later I don't really want to have to open
a text editor, come up with a title, paste the link, save the file to
the right location.

Examples of tumbeblog services are tumblr, soup.io and streem. There are
also free software tumbeblog engines, although I haven't tried any of
them: chyrp, ozimodo, and gelato.

I know that wordpress at least can be turned into a tumbleblog via a
template, because wordpress templates can contain PHP code. I only
glanced but from what I saw you create a category for each type of
content, e.g. Article (a normal blog post), Link, Quote, Image, Video,
Audio. Then the PHP in your template checks which of these categories
each post belongs to and formats the post accordingly. There are also
wordpress plugins for doing different kinds of microblogging.

It would be cool is this could be done in pyblosxom using nothing more
than a template with some python in it. I dont _think_ pyblosxom allows
python to be embedded in templates. But I have a weird feeling that I
saw this mentioned somewhere, a proposed feature for pyblosxom 2.0
maybe? If not a template, I wonder if it could be implemented as a
pyblosxom plugin?

After that, all you'd need is a really quick way to post stuff. Just a
simple CGI script and javascript bookmark should be possible. Or
alternatively, some non-web-based script could check what text you have
highlighted, open a temp file in a text editor with a suitable template
containing the clipboard text, and then when the editor closes save the
file to the correct location with a suitable filename. It would have to
do some analysis of the clipboard text to decide whether it's an image,
link, quote, etc., or somehow give the user the option.

Any thoughts?



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/