Blogging comes under fire

January 27, 2007

It’s been an eventful week in New Zealand with the publishing of an anonymous blog on Blogger about CYFS, our government agency for children and family social services. The blog is highly critical of social workers, naming specific cases and people and has some rather personal comments about some of them. The media has focussed on this side of the story, while the heart-wrenching stories on it, under the hurt and angry tone, are somewhat disturbing. Of course, it’s merely one side of the story and I have no dealings or personal knowledge of CYFS.

The story became big, however, when the head of CYFS said he was doing everything in his power and getting lawyers to work 24/7 to take down the blog. Instead of the blog getting a handful of hits, like many other “watchdog” or “name and shame” sites, it skyrocketed to headline news with the country debating whether or not it should be taken down. Incidentally, a non-scientific TVNZ poll had approximately 80% of respondents not wanting it gone.

In today’s Sunday papers, media personality Kerre Woodham (radio and TV host, newspaper columnist) says she wants all sites which allow anonymous comments or content to be shut down! Rather ironic, given that radio and TV do allow anonymous callers or protect the identity of interviewees when the need arises.

In addition to Kerre Woodham calling for all anonymous blogs to be shut down, today’s Herald on Sunday’s editorial hits out at bloggers:

Operated the right way, blogsites offer and generate intelligent debate and insight. The likes of kiwiblog and publicaddress are worthwhile reads, maintained by a dedicated group of talented writers and thinks. But most bloggers - and we’re talking 95 per cent - are fly-by-night, gutless wonders who prefer to spit inarticulate venom under inarticulate pseudonyms. These bloggers, operating under their own misguided belief of self-freedom rarely research any offerings…

Making up statistics (”95%”) and creating wild claims about bloggers, just because there has been a controversial case in the media this week, is hardly fair. There are plenty of insightful, articulate, intelligent, informative and successful blogs apart from those two which are listed and seem to get almost all the blog press coverage here in New Zealand.

It’s sad that traditional media needs to bash the bloggers when there’s a rich world of blogging out there.

Bizarre

January 25, 2007

I received a very bizarre email this morning notifying me that their old blog appeared to have been hacked and some of my blog’s template was appearing at the top of another person’s blog.

Check it out » (it still appears to be there as of writing this post). I’ve never seen the blog before and it seems the most bizarre type of hacking that someone has done.

I’ve had people stealing my site’s design before a couple of times, but never seen something like this. Have any of you come across a similar scenario? Any plausible reason for it?

I’ve asked the site owner to remove my content as soon as possible.

BuzzTracker Redesign

January 24, 2007

Late last year I had the pleasure of working with the Participate Media team on helping re-design BuzzTracker, a news site which aggregates news from the blogosphere on numerous topics. The relaunched beta site is now live!

For more info, Alan posts about the redesign on their blog.

Wordpress theme: Creating a theme (Some side comments)

January 21, 2007

In my previous post on creating a theme, I deliberately kept things very simple in terms of both the design and the Wordpress code (”the loop”).

One of the biggest strengths of Wordpress is that a default install does give a nice looking blog. However, everyone else has the exact same nice looking blog and because of Wordpress’ popularity, too many blogs all looking the same becomes not only boring but confusing for first-time visitors. Once people have been blogging for a little while, they quickly want to try new designs. There are some very nice freely available Wordpress themes from minimal, pretty, dark to more complex ones. If you’re brand new to blogging, Wordpress, web design and programming, starting off with someone else’s theme is probably the best way to learn.

However, changing the default (Kubrick) Wordpress theme into your own design can be more hassle than it’s worth. The default theme has many template files and CSS bits and pieces to sort through and most of the time you’ll find yourself un-doing things, rather than creating them.

So, for the next step of this theme, I’ll need to think some more about what I want the pages of the blog to do, then figure out how to use Wordpress code to get it to do this by either referring to the classic or default themes which come with Wordpress and/or the Wordpress documentation.

The things I’ll be doing are fairly common and copying and pasting across from the Wordpress default themes will be the fastest way. The main thing to try and understand is the loop. If you delete part of that code, things will most likely break.

Things to initially get the theme to do:

  • Main page has:
    • a list of all the blog entries, titles of the posts go to their individual post pages (permalink)
    • display the number of comments on each post with a link to the comments section of the permalink page
    • At the bottom of the main page, display the number of pages of posts something like this: Page [1] 2 3 4
  • Permalink page has the post, then the comments, then the trackbacks, then the comment form.
  • Sidebar has information about me and a list of my favourite posts from my blog.
  • Footer has a contact form, a list of blogs I like to read, a list of my latest bookmarks.

Got any other suggestions for what the theme should do? Then the coding begins!

Wordpress theme: Creating a theme (Step 2)

January 8, 2007

This is part of a series of posts on how to create a Wordpress theme. See also: Step 1 and Useful Resources.

Now we have the basic layout (we could have spent a lot of time at this point working on the design), let’s turn it into a very simple Worpdress theme: an index.php file and a stylesheet, style.css.

What to put in each file:

style.css contains all the stylesheet information, I have cut and pasted this over from my original layout (see the code in the heaader). There’s also a few lines put up at the top which are used to describe your theme:

/*
Theme Name: Summer 2007
Theme URI: http://www.cre8d-design.com
Description: A simple two-column theme.
Version: 1
Author: Rachel Cunliffe
*/
body { text-align: center; font: normal 76% Verdana, Helvetica, sans-serif;}
#container { width: 890px; text-align: left; margin: 0 auto; }
#header { }
#menu { margin-bottom: 20px; }
#content { width: 490px; float: left; margin-bottom: 20px;}
#sidebar { width: 370px; float: right; }
#footer { clear: both; }
#header, #menu, #content, #sidebar, #footer { padding: 5px; border: 1px solid #000; }

index.php is very similar to my original layout but with some minimal Wordpress code.

Use the Wordpress manual tag reference list, add tags to the HTML. I have used the following:

  • <?php bloginfo('name');?> in the title of the page, pulled in from your Wordpress » Options » General settings.
    Why use code when you can just write the title in there? Later on, you may want different pages to have different titles and code can do this for you. Also, if you want to change your blog’s name later on, you can change it via the options page and not muck around in templates. Also, if you want to share your theme with others, you don’t want your blog name turning up everywhere!
  • <?php bloginfo('stylesheet_url'); ?> is used for the stylesheet, instead of hard-coding in the location of it. If you share your theme with others, or move your blog, this will change automatically for you.
  • <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h2><?php the_title(); ?></h2>
    <?php the_content(); ?>
    <?php endwhile; else : endif; ?>

    This code tells Wordpress to display the title and content of the posts. It’s a very simple “Wordpress loop”. Wordpress will figure out what to show on different pages of the site as long as you have one of these loops in there. Basically, you can ignore understanding code in the first part of the loop and the last part - just know it needs to be there. The bit in the middle is where you get Wordpress to display your content. For my simple loop it is:

    <h2><?php the_title(); ?></h2>
    <?php the_content(); ?>

    In other words I use two Wordpress tags, the title and the content. There are plenty of other tags on the tag reference list that you can use in here.

Here’s the index.php template:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>

<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<title><?php bloginfo(’name’); ?></title>
<link rel=”stylesheet” href=”<?php bloginfo(’stylesheet_url’); ?>” type=”text/css” media=”screen” />
</head>

<body>

<div id=”container”>
<div id=”header”>

header
</div>
<div id=”menu”>
menu
</div>
<div id=”content”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_content(); ?>
<?php endwhile; else : endif; ?>
</div>
<div id=”sidebar”>
sidebar
</div>
<div id=”footer”>
footer
</div>
</div>
</body>
</html>

Download the zipped theme: summer-2007.zip

Install the theme (preferably on a test site since it’s a teaching template): unzip and drop the folder into your wp-content/themes/ folder.

Next step: Expanding out the template to have more functionality (e.g. linking to each post and having comments).

Screensavers Dating Services Match Hotels online boeken Cell Phone Unlock Codes - USA
Website Templates Ink Cartridges Casino Affiliate Program Web Development Contract beaver creek lodging