August 2005


Podcasting is what all of the kids are doing now: basically, from what I can tell, you just have an enclosure that is part of the post, and RSS readers can automatically download them.

Blogsome doesn’t really have the ability to upload non-image filetypes (other than by renaming them to have an image-like extension), and anyway file sizes are limited to 300k, but it is possible to have enclosures that are files hosted elsewhere.

Anyway, I found a page detailing how to set up enclosures, but it wouldn’t work for me. It turns out there is an array of arrays, and these need to be stepped through.

The code I added to display a link to the enclosure after the post is as follows:

{custom_fields}
{if $enclosure != ''}
    <div class="enclosures">
        {foreach from=$enclosure item=enc}
            <div class="enclosure"><b>Attached Enclosure</b><br />
                File: <a href="{$enc.0}">{$enc.0}</a><br />
                Length: {$enc.1} bytes<br />
                Type: {$enc.2}<br />
            </div>
        {/foreach}
    </div>
    {assign var='enclosure' value=''} <!-- reset enclosure variable again! -->
{/if}

The only part I haven’t got working yet is the Length and Type fields: they are both blank. I’ll work harder….

View Comments (2)   RSS Feed for Comments on this Post

(This is an extension on the previous post).

One of the major drawbacks of Blogsome is the handling of Pages is not complete. You can create and manage Pages, but the display of them is sub-standard: there is no page.html template file as there is for Posts (post.html).

However, I have figured out a stop-gap method of running pages through a template.
(more…)

View Comments (22)   RSS Feed for Comments on this Post

It’s no secret the Blogsome doesn’t have working Page Templates.

The following code snippet is a starter on formatting of Pages like Posts:

{if $smarty.server.SCRIPT_NAME == '/wp-inst/pages'}
    <!-- Do Stuff Here -->
{/if}

At the moment, I’ve only figured out how to get the content to appear twice (!), but it’s a start: it only occurs with Pages!

Update: I’ve got it working. It’s a bit ugly at the moment, and I’ll probably redo it with a function, but, still it works. See the Contact and About Pages in the Menubar for examples!

View Comments (0)   RSS Feed for Comments on this Post

This is the first post in a series that will deal with Blogsome theme conversions. Part 2 can be found at Blogsome Themes, part 2.
(more…)

View Comments (14)   RSS Feed for Comments on this Post

I just noticed a lovely little “Privacy Report” icon in the corner of my Blogsome Dashboard pages.

Clicking it revealed the following:

MS IE 6 Privacy Report: Blogsome Dashboard.

I wonder what the rule is: is it to stop anything with the word Firefox in it?

View Comments (2)   RSS Feed for Comments on this Post

I had a thought as to why it might not be a good idea to use /commands, instead of %_commands in Adium. If the text you type is part of a URL, then it will be replaced by the substituted text.

For instance, http://itunes.schinckel.net/ would be replaced by http:/♫ The Chemical Brothers (Feat. The Flaming Lips) • The Golden Path.schinckel.net/, which is probably not desired behaviour.

I’m not sure if this is a big enough deal for me to stop using them. I did also note that an afp:// had a smiley inserted into it instead…

Update: You can add the following to the Info.plist:

            <key>Prefix Only</key>
            <true/>

Where the keyword appears. This will mean that the tag must be at the start of a ‘word’ for it work.

Thanks, Reikon!

View Comments (0)   RSS Feed for Comments on this Post

I’m transferring my domain over to new nameservers, this means there may be a slight interruption to mail and url forwarding.

Apologies if I don’t get an email you sent me…

View Comments (0)   RSS Feed for Comments on this Post

I had to fix a couple of things in my Adium Scripts tonight: I figured out that if you are a chat with more than one person (like in a Jabber ‘room’), and you use serviceClass of contact of the active chat of the first interface controller you will get a list of items, not just one.

Actually, you always get a list, just usually it’s only one item long.

So, to test if the chat serviceClass is in a set that can handle HTML in chats, you need to use first item of serviceClass... instead of just serviceClass...

Note that this returns correct values, wheras serviceClass of chat 1 (where it is a group chat) will return an empty string. Bad coding, Adium.

Anyway, I’ve fixed /who to work with multi-person chats, too.

View Comments (0)   RSS Feed for Comments on this Post

I’ve started phase one of the iTunes controller bot: I’m downloading the jabber server for MacOS X.

$ sudo port install jabberd

Phase Two will soon be underway: I’ve also downloaded the source of a Python bot… more to come soon!

Actually, getting the jabber server to work wasn’t as easy as it should have been: I’m using a private jabber account on a server only I know about, but I’ll post more stuff as I get it working.

Python looks to be an easy way of getting the bot to work: it would be nice to be able to do it all in AppleScript though.

I can’t believe I just said that!

View Comments (0)   RSS Feed for Comments on this Post

Well, today was a busy day. Beginning at 8:45, we removed 2.5m of the wall between the kitchen and the lounge. The cavity doesn’t go right up to the ceiling, but is at about normal door height.

Apologies to everyone, but this is avery photo-heavy post.
(more…)

View Comments (2)   RSS Feed for Comments on this Post

Next Page »