Title photo
frugal technology, simple living and guerrilla large-appliance repair
Mon, 12 Oct 2015

I removed the social-sharing buttons from this blog

I just removed the social-sharing buttons for Google Plus and Twitter from this site.

Even though almost every http request for content on this Ode-powered blog is done via Perl CGI on shared hosting, the site is extremely quick.

And these two social-sharing buttons, which appear on every entry, were really slowing things down. (Instead of a third-party social-button service, I used embed code provided by Google and Twitter, respectively).

The question/dilemma I face: Is the reduced "performance"/speed of the site a fair tradeoff for what the social buttons have to offer?

Read the rest of this post

Fri, 10 Jul 2015

Using dlvr.it to split my regular and 'social' posts out of Ode

I've been playing with the idea of using Ode as both a traditional blogging system as well as a social-media platform generating exactly the kinds of posts that I normally would originate on sites like Twitter.

With the help of dlvr.it, this is entirely possible not just with Ode but pretty much any blogging platform.

The key to this concept is that my social-media updates should originate on my system, where they will continue to live. They are mine. Twitter will have a copy, but I will have the "original."

And now I can tell you how easy it is to do this. And it doesn't just work for Ode but can be done on any blogging platform (including WordPress) that allows you to post to categories (or directories or folders) and tap into RSS for that specific category (or directory or folder).

Read the rest of this post

Tue, 16 Dec 2014

This is an Ode Markdown formatting test

This paragraph is set off with tabs and has a Markdown-generated link:

This is my Ode site, [which lives here](http://stevenrosenberg.net/blog).

This paragraph uses "blockquote" HTML tagging and an HTML link:

This is my Ode site, which lives here.

This paragraph is set off with tabs and has an HTML-tagged link:

This is my Ode site, <a href="http://stevenrosenberg.net/blog">which lives here</a>.

None of this text uses the "code" tag.

So my question is, how do you call "blockquote" without "code" in Markdown?

Later: I have the answer. Set off every line with the > character:

> This text will be set off in blockquote style.

With the proper Markdown, this becomes:

This text will be set off in blockquote style.

Sat, 16 Aug 2014

Font changes on this Ode site

Changing fonts in Ode is as easy as changing the .css file in the theme(s) you are using.

I've been having some trouble in Fedora with the Arial font, which looks like hell. The Wine non-emulator that runs Windows software in Linux brought an Arial font into my system, and it's just plain ugly.

I started looking at Arial and Helvetica not just in Linux but in Windows, too, and I decided that I don't like either one very much.

So I went into my CSS and killed out Helvetica Neue and Arial. Now Verdana and sans-serif, in that order, are the default fonts.

Looks better, I think.

A new Ode site: Surface Markup development blog

There is a new Ode-running site out in the wild. Announced on the existing Surface Markup blog is the Surface Markup development blog, which has one of the nicest themes I've ever seen on an Ode site. It's minimal, beautiful and responsive.

Designer/writer Hans Fast helped me make this site responsive, and I continue to thank him.

Sun, 13 Apr 2014

Hiding directories in Apache with .htaccess

In my Ode system running on an Apache web server, I'm "exposing" the existence of the /documents directory by stashing HTML there for my site archive.

Normally only text files and images live in that directory, and Ode uses them to produce the HTML pages it serves out of another directory.

I'm not crazy about exposing the contents of directories that don't, for the most part, serve HTML. So I decided to disallow directory listings on my Ode site with this line in .htaccess:

Options -Indexes

Now my readers can see http://stevenrosenberg.net/documents/archive.html but not http://stevenrosenberg.net/documents and the entire structure under that.

Even if I do decide to move my archive file to another directory (and I am seriously thinking about doing that), it still seems like a good idea to block access to the "raw" directories in Apache.

Fri, 07 Mar 2014

I created a static Ode archive page

I've been messing around with scripting, and I created a static Ode archive page that lists every entry on this site.

I hacked it quickly. It needs some work. I think this would work better as a full-on Ode extension. For that I'd have to write it in Perl and figure out how Ode add-ins work. It could also be an extension of the Indexette add-in.

I'll be thinking about how to do this.

Script to sync and/or reindex your Indexette-enabled Ode site in Unix/Linux systems

I decided to script my blog updates via a Bash script for Unix/Linux that runs both my Unison sync and the Indexette reindexing necessary to to make those entries live.

You're probably not running Unison like I am (and I still need to write up my Unison tutorial), but the reindexing line is worth sharing because I find it very useful to reindex the blog without using the web browser.

First of all, you need to install wget on your Unix/Linux system. It's available in just about every distribution. Use your favorite package manager to install it.

Read the rest of this post

Tue, 18 Feb 2014

An Indexette pre-tagging test for synchronized local-server directories

That title sounds like a bad master's thesis, right?

What I'm trying to do here is see how Ode posts that get their Indexette tagging locally play with my Unison sync setup.

If Ode doesn't "touch" the pre-tagged files on the server, I think we're all good.

Minutes later: That works. Now to code up a way to drop in the Indexette tag with system-generated current date and time.

Weeks later: I did write the code in the form of a short Perl script, and I incorporated it into the Gedit text editor via the Snippets plugin. I will detail this in a future post.

It's been nearly three years since I started using Ode

I took a look back today, and I learned that I started using Ode as my main blogging platform two years and 9 months ago. Call it "nearly three years," because that makes for a nice headline.

I suppose I could wait three months and write this post then. I'll probably do that, too.

But for today, I'd like to thank Rob Reed for all the care and feeding he has put into Ode over the years and all the help he's given me and the others who have used this software.

While Perl-powered CGI is as old as the hills, Ode does blogging in a way that is very satisfying for me. I'd rather write Markdown-tagged text files on my local machine and move them over to the server than work through a web interface (though Ode has one of its own in the form of the terrific EditEdit addin, which I do use on occasion).

Read the rest of this post