Categories
Geek

Going Election-Free Today / Blogware, Attachments, Enclosures, Podcasting and Duran Duran Spinoff Bands

Photo: Tired guy in Twinkie costume on couch.

“No, please, no more election blogging!”

That’s right, aside from this very entry, The Adventures of Accordion Guy in the 21st

Century shall refrain from commenting on the U.S. Election

today. Not because I’m not interested — I am, after all, the

direct descendant of an American, have blond-haired blue-eyed

cousins in Dayton, Ohio and am marrying a fine lady who

knocked

me out with her American thighs — but because just about

every other blog written in

English

(and no doubt several other languages) will be going on about it. If

you need a break from the ranting, punditry and bile, come

here!

Photo: Lawn sign -- 'The Bush '04 sign was stolen from here by communists'.

Okay, I couldn’t resist posting this one.


You may have noted that I said that “aside from this very entry” in

the

paragraph above. That’s because I’m going to share a file with you

that’s tangentially related to the election:

the song Election Day by the Duran Duran spinoff band Arcadia. It’s included as an attachment to this blog entry.

(To see the attachment, click on the permalink for this entry, then scroll to the bottom of the article. Click on the attachment to download it.)

Attachments? What are attachments?

In Blogware, an attachment is

a file that is attached to a blog entry, whether it’s an article, photo

or music/movie/book review. Think of it as being similar to an email

attachment.

You might ask why we included attachments in Blogware. After all, blogs

— being web pages — have always provided a way to include files in

entries. You simply upload the file to a space accessible on the web

and link to it. Every Blogware blog includes a filesystem so that you

can do just that.

The difference between attachments and uploaded-and-linked files lies

in the name: attachments. A file that has been uploaded is independent

of the blog entry; an attachment is part of the blog entry. With an

uploaded-and-linked file, if you delete the blog entry, the file

remains. With an attachment, if you delete the blog entry, the attached

file vanishes too.

If you want me to skip the technical stuff and get to the point right now…

…then I’ll say it plainly and simply:

Blogware supports podcasting!

If you want to start podcasting on your blog, record your audio entry

(MP3 is probably the best format) and include the file as an attachment

to your blog entry. That’s it.

If you want a more technical explanation, keep reading.

Enclosures

A blog that uses RSS 2.0 as its method of syndication (you might want to look at Mezzoblue’s or BBC News’

explanations of syndication) can include files in its feeds as

enclosures. In the RSS 2.0 feed of a Blogware blog, any attachments are

included as enclosures,

which is RSS 2.0’s way of saying “hey, there’s other content attached

to this entry”. If this entry’s still on the main page of the blog,

you’ll see this article in the RSS feed. Inside the <item>

element for this article, you’ll see the <enclosure> element for Election Day:


<enclosure url="http://accordionguy.blogware.com/_attachments/173328/Arcadia

- Election Day.mp3" length="4250226"

type="audio/mpeg" />

The <enclosure> element has three attributes, which provide some information about the attachment:

  1. url: This specifies the location where the attached file can be found.
  2. length: This specifies the size of the attached file in bytes.
  3. type: This is the MIME (Multipart Internet Mail Extensions) type of the file. An MP3 file has the MIME type of “audio/mpeg”.

This information allows any software that reads the RSS feed to

find the attached file as well as “know” what kind of file it is and

how large it is.

You may have noted that a blog entry that includes a file as an

enclosure provides more information about the file than a blog entry

that merely links to the file.

For more on RSS 2.0 enclosures, check out Dave Winer’s article on the subject.

Although I said it before in a slightly different way, let me say it again:

Blogware supports enclosures!

Podcasting

The term “podcasting” is a pun made by mixing the words “iPod” and

“broadcasting”. I’ll quote iPodder.org’s explanation of the term:

Think how a desktop aggregator works. You subscribe to a set of feeds,

and then can easily view the new stuff from all of the feeds together,

or each feed separately.

Podcasting works the same way, with one exception. Instead of reading the new content on a computer screen, you listen to the new content on an iPod or iPod-like device.

The term is a little misleading. Many people, quite naturally, 

infer that podcasting works only for iPods. This is not the case:

podcasting is blogging using audio files as enclosures rather than text

on a web page.

Why not simply link to an audio file instead of including it as an attachment/enclosure?

There’s a subtle difference: a link to an audio file merely provides

its location; an audio file included as an enclosure provides extra

information about the file and also implies that it is part of the

entry.

The extra information provided by an enclosure allows RSS-reading

software to make decisions about downloading the file referenced by the

enclosure. For example, a piece of software that downloads attached

audio files for later playback can be set so that it downloads only

audio files (it checks the type attribute to do this) over a specified size (it checks the size attribute to do this) late at night when the computer is not in use. iPodder is an example of this sort of software — it downloads audio blog entries for later playback.

Got questions? Ask away in the comments.

Categories
Geek

"Normalized data is for sissies"

Here’s a graphic I posted on The Farm that I couldn’t resist posting here:

Click the picture to see the Farm article.

Categories
Geek

Number of Articles I Posted to "The Farm" Today: ONE DOZEN

That’s right, on The Farm, my developer blog — the blog I’m paid to write —  I posted one dozen articles. Click the link below to read them all!

[ Read today’s entries on The Farm ]

Categories
Geek

Semi-regular Reminder About "The Farm"

For those of you who are into programming, don’t forget that there’s a blog I’m paid to write: The Farm: The Tucows Developers’ Hangout!

Categories
Geek

The First Browser War, Acted Out By Cats

Although this video’s title is Why Judo is Better Than Karate, I think that an equally apt title would be How Microsoft Won the First Browser War.

I remember reading a zillion articles about how small, agile companies

like Netscape were going to put lumbering corporate dinosaurs like M$

out of business; this video makes an excellent counter-metaphor.

Categories
Geek

Tucows’ Expiring Domain Name Auction Service

I’m a little too busy to explain it right now (working on a big new

project here) so, I’m going to point you to the words of others.

First, Cory’s quick summary on Boing Boing:

Tucows is starting a service to auction off expired domain names, but

with an escape hatch to ensure that the former holders of the expired

domains don’t get scr0d.

(Yes, Cory is a customer of ours and a buddy and former boss of mine. But he liked Tucows long before I joined the company.)

He points to a CanadaIT.com article on our new service and quotes:

Yet, Tucows plans to protect the previous registrant’s existing rights

because even if a URL enters the auction, the old registrant still has

a window of opportunity to retain the name under the system. Noss said

Tucows plans to “hold the name in escrow for another 30 days” on top of

a period of “anywhere from one to 45 days” that a former registrant has

to reclaim their domain name after expiry, depending on which registrar

they’re dealing with.

AKMA has this to say:

…Tucows is the kind

of company that would enter the lapsed-domain business in a way that

shows particular respect for the former owners of domain names. As any

number of sordid stories will attest — many of them associated with Verisign — lapsed domains offer a perfect situation for sleazy opportunism.

I tend to be skeptical and suspicious about large corporations; in

fact, some readers will scornfully characterize my attitude with even

less flattering words (less flattering both to me and to the

corporations I mistrust). All the more reason, then, to repeat that I

have for years been deeply impressed with the probity and business

style of the folks at Tucows.

I try to stay on Reverend AKMA’s good side. His boss can smite my boss’ ass.

Speaking of my boss, here’s are pointers to Boss Ross’ articles on the new service.

I’ll explain the whole thing in even more layperson-friendly terms — with cartoons even! — if there’s a demand for it.

Categories
Geek

The Regular Plug for "The Farm"

Don’t forget, I’ve got a blog for which I’m paid to write: The Farm, the Tucows Developer’s Hangout.

Whether you develop in-house enterprise applications for a Fortune 500

Company in Visual Basic or are writing a haX0r-friendly version control

system in Ruby, there’s something for you at The Farm!

Isaac’s computers may not have been groovy,

but his sideburns sure were!

Remember, that’s http://farm.tucows.com.