Jive, Lotus Connections and Socialtext

Jive, Lotus Connections and Socialtext | Jon Mell - Web 2.0 ideas and strategy.

Importing an ftp blogger blog into WordPress 2.7

If you have a blogspot blog or custom domain, there is a Blogger
import in wordpress:

  • wp-admin
  • Left Sidebar Tools, Import
  • Select Blogger

Of course, if you have your own hosting and use Blogger via FTP to
publish your blog, this is not an option

I tried using the RSS feed import in blogger (as did other people), but when I tried the import, it failed with no errors.  (No posts were added to my WordPress blog, yet the import displayed only, "All done, Have fun!"

Instead, I chose to convert my Blogger FTP blog to blogspot.

  • Go to Blogger.com
  • Click on "Settings" for your ftp blog.
  • Under the "Settings" tab, click "publishing"

You'll see the following options

Switch to: • blogspot.com (Blogger's free hosting service) • Custom Domain (Point your own registered domain name to your blog) • SFTP (secure publishing on your ISP server)

  • Click blogspot.com
  • Pick an arbitrary blogspot.com address, verify the word, and select [Save Settings].

Then follow the normal steps to import the redirected blog into WordPress.

If you've already imported from Blogger, you may have to select [Clear Account Information] and then [Authorize] to refresh the list of blogs.

ScribeFire

I'm testing out ScribeFire, after finding out that the blogger bar for Firefox does not work in Linux. So far, this has been a pretty exciting experience. The setup wizard works great with Blogger... all you need is your blog URL and Blogger login to set up.

Will I ever use the Blogger.com interface for posting again?

Tag Cloud for ftp blogger blogs

In the sidebar section for Blogger template, include:

The following is a modified version of tag cloud source I found.



define('PREFIX', 'labels/'); // for url
define('SEARCH_DIR', '/home/username/www/labels'); // server location of labels subdirectory

define('THIS_FILE', 'labels.php'); // name of labels file (this file)

if(file_exists(SEARCH_DIR.'_cloud_include_cache.php') &&
filemtime(SEARCH_DIR.'_cloud_include_cache.php')>(time()-(60*60)))
{
echo file_get_contents(SEARCH_DIR.'_cloud_include_cache.php');
}
else
{
build_cloud();
}

/**
* build_cloud builds a tag cloud from the labels files.
* It actually uses labels file size to determine font size... which does
* not necessarily coincide with number of posts for a given label.
*
* smallest file is assigned 100% font-size. largest file - 200%
* everything else is proportional in between.
*/
function build_cloud()
{
$output = '';
$files = array();
$dir = opendir(SEARCH_DIR);
$low_end=PHP_INT_MAX;
$high_end=0;
while($file = readdir($dir))
if($file != '.' && $file != '..' && $file != THIS_FILE && $file != CACHE_FILE)
{
$files[$file] = filesize(SEARCH_DIR."/".$file);
$low_end = min($low_end, $files[$file]);
$high_end = max($high_end, $files[$file]);
}
closedir($dir);
ksort($files);
foreach($files as $name=>$size)
{
$output .= "
"href="".PREFIX.
htmlentities($name)."">".
htmlentities(str_replace('.php','',$name))." ";
}
echo $output;

$fp = fopen(SEARCH_DIR.'_cloud_include_cache.html','w');
fwrite($fp, $output);
fclose($fp);
}
function get_style($low_end, $high_end, $size)
{
$net = $high_end - $low_end;
$font_size = (($size - $low_end) * 100) / $net + 100;

if(!$interval) $interval++;

return "font-size: ".$font_size."%;";
}
?>