Wed 31st Aug 2005
Posted early afternoon, filed under
Blogsome.
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….
Wed 31st Aug 2005
Posted lunch time, filed under
Blogsome.
(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…)
Tue 30th Aug 2005
Posted late evening, filed under
Blogsome.
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!
Mon 29th Aug 2005
Posted late evening, filed under
Blogsome.
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…)
Mon 29th Aug 2005
Posted early afternoon, filed under
General.
I just noticed a lovely little “Privacy Report” icon in the corner of my Blogsome Dashboard pages.
Clicking it revealed the following:
I wonder what the rule is: is it to stop anything with the word Firefox in it?
Mon 29th Aug 2005
Posted lunch time, filed under
Adium.
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!
Mon 29th Aug 2005
Posted lunch time, filed under
General.
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…
Sun 28th Aug 2005
Posted late evening, filed under
Adium.
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.
Sat 27th Aug 2005
Posted late evening, filed under
Adium ,
Languages ,
iTunes.
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!
Sat 27th Aug 2005
Posted in the evening, filed under
House.
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…)