Brewsterware

May 26, 2007

SEO for Joomla

Filed under: Marketing — Joe Brewer @ 3:33 pm

A while ago I spent some money on an ebook (something I rarely do). I was expecting alot for the eighty dollars I had spent. On this occasion I was rewarded with loads of excellent quality information. The ebook was written by Aaron Wall, and for those of you not in the know, he is an expert at SEO.

The ebook is absolutely brilliant – not only does it tell you what to do to get high rankings in the search engines, but it teaches you how to think like an SEO expert. The material is worth at least double what he is selling it for.

I’ve been applying some of the ideas to a Joomla site that I working on and have seen much improvement. The first thing that I did was to find a componant that could rewrite the URLs as the default SEO URLs weren’t really worth switching on, although I beleive that this has been addressed in 1.5. At the time of writing the SEO URLs look like this:

www.domain.com/content/view/12/28/
www.domain.com/component/option,com_glossary/Itemid,32/

Meandering though the Joomla forums, I came across this blog which had several reviews of SEO URL componants. The best of which seems to be Artio’s SEO URL componant. It’s been through quite a few changes recently, most notably is the reduction of database queries which seems to have been the main complaint. I have been using it for a few weeks and it has been performing very well. The only thing that has been annoying me is that everytime you save the main configuration, all of the custom URLs, title tags, keyword and description meta tags get deleted.

As well as rewriting any URL, this componant will let you specify different keywords and descriptions for the meta tags for each page, even if you have used {mospagebreak} to break a document into several pages. However, after losing my custom keywords and descriptions several times (mainly because of development of a custom componant for a hypnosis glossary), I have come up with a patch. It requires a little hacking of core code, but I think its much better than the current way of adding keyword and description meta tags to a document. Here is what to do:

Add this code to the top of mospaging.php which can be found in the mambots/content folder:

function AddKeywords( &$content )
{
global $mainframe;
$mainframe->appendMetaTag( ‘keywords’, $content[1] );
}

function AddDescription( &$content )
{
global $mainframe;
$mainframe->appendMetaTag( ‘description’, $content[1] );
}

Scroll down to this code (roughly line 130)

// page counter
$row->text .= ‘<div class=”pagenavcounter”>’;
$row->text .= $pageNav->writeLeafsCounter();
$row->text .= ‘</div>’;

// page text
$row->text .= $text[$page];

Add the following code after it:

// add keywords to the header
$regex = ‘#{keywords}*(.*?){/keywords}#s’;
$row->text = preg_replace_callback( $regex, ‘AddKeywords’, $row->text );

// add description to the header
$regex = ‘#{description}*(.*?){/description}#s’;
$row->text = preg_replace_callback( $regex, ‘AddDescription’, $row->text );

To use it put the keywords and description in the relevent tags in your content pane like this:

{keywords}here, are, some, keywords{/keywords}

{description}here is the description{/description}

Happy SEOing 🙂

May 24, 2007

Doctor Who fan

Filed under: General — Joe Brewer @ 12:56 pm

Tardis

I am quite a big fan of Dr Who, and having grown up watching the fifth doctor I naturally think he was the best, although the current one seems to be doing a pretty good job. One of the great things about the old Dr Who episodes is that the stories would be split across different episodes, with each one either leaving the doctor in mortal danger or some other cliff hanger which would leave you pining for the next episode.

Some of these stories are currently available on youtube, although I don’t know for how long considering how everyone and their dog now wants to sue google for copyright infringement. Anyway, I have put them into chronological order for your entertainment pleasure, so you can relive the bad acting and incidental music:

Season nineteen

Castrovalva – The doctor recovers from his regeneration
Four To Doomsday
Kinda
The Visitation – The doctor starts the great fire of London
Black Orchid
Earthshock – Adric dies
Time-Flight – The doctor goes supersonic

The Five Doctors – The doctor celebrates his birthday by having some friends round

Season twenty

Arc of Infinity
Snakedance

The Guardian Trilogy:
Mawdryn Undead – The doctor aquires a new assistant
Terminus – Nyssa leaves (I was gutted as I used to have a crush on her!)
Enlightenment – The doctor goes sailing

The King’s Demons – I couldn’t find this story

Season twenty-one

Warriors of the Deep
The Awakening
Frontios – The doctor loses his Tardis
Resurrection of the Daleks – Tegan decides to leave the doctor and stay on Earth
Planet of Fire – Turlough leaves and Peri joins the doctor as the new assistant
The Caves of Androzani – Time for another regeneration

Enjoy!

May 23, 2007

Sick leave

Filed under: Funny Stuff — Joe Brewer @ 1:00 pm

I urgently needed a few days off work, but I knew the Boss would not allow me to take a leave. I
thought that maybe if I acted “CRAZY” then he would tell me to take a few days off.

So I hung upside down on the ceiling and made funny noises. My co-worker (who’s blonde) asked me what I was doing. I told her that I was pretending to be a light bulb so that the Boss would think I was “CRAZY” and give me a few days off.

A few minutes later the Boss came into the office and asked “What are you doing?” I told him I was a light bulb.

He said, “You are clearly stressed out. Go home and recuperate for a couple of days.” I jumped down and walked out of the office.

When my co-worker (the blonde) followed me, the Boss asked her “… And where do you think you’re going?”

(You’re gonna love this…..)

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

She said, “I’m going home too, I can’t work in the dark.”

April 21, 2007

Dual monitor heaven

Filed under: General — Joe Brewer @ 6:20 am

Well I have managed to reinstall Windows XP and most of the programmes that I use.

I’ve also managed to sort out my dual monitor issue. The problem was that windows thought that I was trying to extend my desktop onto the TV output on my video card. I got round this by installing the catalyst software that came with the card, and this showed me all three video outputs, and allowed me to choose the second monitor to extend the desktop desktop onto.

I’ve really been missing the dual monitor setup while it hasnt been working. I’ve read one or two reports that it increases productivity and can vouch for that.

April 10, 2007

Operating System reinstall

Filed under: General — Joe Brewer @ 1:55 pm

Well, it seems like I spoke too soon. I had to reboot my system (It usually goes without a reboot for about 5 days), and the display driver refused to load, even after being unistalled and reinstalled 2 times. I’m currently running in VGA mode which is pretty unusable 🙁

I guess I am kind of lucky as I have managed to go without a complete windows reinstall for a couple of years, so I know I am well overdue. There are a ton of programs that are installed that I never use, and I have swapped out various bits of hardware so I’m sure there are a load of drivers that need to be cleaned out.

« Newer PostsOlder Posts »

Powered by WordPress