I just dropped the latest version of iPodLinux on my iPod to test out recording at higher sample rates. I cranked it up to 44.1KHz, and the recording from the TuneTalk microphone sounded freaking amazing! I’ll have to do some more playing/testing to see how it works for longer recordings (how fast does it suck down the battery? does it still have the high-pitched whine in the background?)
But, while I had linux running on the iPod, I poked around at what else is offered. It’s got some new games, including a non-playable demo of TEMPEST! That is so cool! Apple, please include Tempest as a default game! That is SO perfect for the iPod controller… Oh, and it’s got a version of an Etch-A-Sketch program that is pretty cool. Yay, linux!
I just dropped the latest version of iPodLinux on my iPod to test out recording at higher sample rates. I cranked it up to 44.1KHz, and the recording from the TuneTalk microphone sounded freaking amazing! I’ll have to do some more playing/testing to see how it works for longer recordings (how fast does it suck down the battery? does it still have the high-pitched whine in the background?)
But, while I had linux running on the iPod, I poked around at what else is offered. It’s got some new games, including a non-playable demo of TEMPEST! That is so cool! Apple, please include Tempest as a default game! That is SO perfect for the iPod controller… Oh, and it’s got a version of an Etch-A-Sketch program that is pretty cool. Yay, linux!
I wanted to update my Archives page to display the total tag count, but didn’t see a built-in method in Ultimate Tag Warrior to do that. So, here’s the recipe I followed – mimicking how the other methods are set up, in case the changes get rolled into the main distro…
In ultimate-tag-warrior.php
:
function UTW_ShowUniqueTagCount() {
global $utw;
echo $utw->GetUniqueTagCount();
}
In ultimate-tag-warrior-core.php
:
function GetUniqueTagCount() {
global $wpdb, $tabletags;
$sql = "select count(*) from $tabletags";
return $wpdb->get_var($sql);
}
And, in K2‘s page-archives.php
(or anywhere you want the count to show up):
tags
I’ve also hacked my copy of wp-db-backup.php
to automatically back up the UTW tables, thusly, starting at line 407:
$wp_backup_default_tables = array ($table_prefix . categories,
$table_prefix . comments,
$table_prefix . linkcategories,
$table_prefix . links,
$table_prefix . options,
$table_prefix . post2cat,
$table_prefix . postmeta,
$table_prefix . posts,
$table_prefix . users,
$table_prefix . tags,
$table_prefix . post2tag,
$table_prefix . tag_synonyms);
I wanted to update my Archives page to display the total tag count, but didn’t see a built-in method in Ultimate Tag Warrior to do that. So, here’s the recipe I followed – mimicking how the other methods are set up, in case the changes get rolled into the main distro…
In ultimate-tag-warrior.php
:
function UTW_ShowUniqueTagCount() {
global $utw;
echo $utw->GetUniqueTagCount();
}
In ultimate-tag-warrior-core.php
:
function GetUniqueTagCount() {
global $wpdb, $tabletags;
$sql = "select count(*) from $tabletags";
return $wpdb->get_var($sql);
}
And, in K2‘s page-archives.php
(or anywhere you want the count to show up):
tags
I’ve also hacked my copy of wp-db-backup.php
to automatically back up the UTW tables, thusly, starting at line 407:
$wp_backup_default_tables = array ($table_prefix . categories,
$table_prefix . comments,
$table_prefix . linkcategories,
$table_prefix . links,
$table_prefix . options,
$table_prefix . post2cat,
$table_prefix . postmeta,
$table_prefix . posts,
$table_prefix . users,
$table_prefix . tags,
$table_prefix . post2tag,
$table_prefix . tag_synonyms);