Archive | Tech RSS feed for this section

WordPress Google XML Sitemaps Plugin Fix

One of the more popular blogging  platforms is WordPress, and you probably already know that there are plugins which can greatly enhance the functionality of your blog.  If you care anything about letting others know about the information you are sharing on your blog, then you probably already know about Sitemaps and how they help search engines index your site.  Google XML Sitemaps is a great plugin that will get your sitemap out there for the search engines to see. Don’t let the fact that Google is in the name fool you, as it’s also effective for Yahoo and Bing.  I’ve been using this plugin for sometime, but at some point it stopped updating the sitemap when a new post was made. The only way around it was to do a manual update. The latest stable release of the plugin is 3.2.4 at the time of this writing, but that doesn’t seem to play well with WordPress 3.0.4 and a few releases below that as well. I had been searching for a  fix for some time and I finally found one that worked. A little further down the page from the latest stable release, you’ll find the following comment:

“This release is not compatible with the new multisite feature of WordPress 3.0 yet. The plugin will remain inactive as long as this feature is enabled. If you are using this feature, try out the new Beta version which fully supports multisite mode as well as network activation!”

Credit to tylercruz for the fix.

If you currently have 3.2.4 installed, you can’t install the beta without deleting your current plugin. I made a screenshot of the settings beforehand, but it looks like all the settings stayed in there so that was nice.  Hopefully someone will find this bit of info useful.

Comments { 0 } Posted on January 27, 2011 in Blogging, Education, Tech, WordPress

Setting up Technorati for a New Blog

My claim token came back as HGUMK49EHZRU, and this post will satisfy their requirement of having a blog post with that token included. Since I’m going through the process of cleaning up things so they’ll work like they should, I’m going to document things here so that I can refer back to them in the future.

There’s also the added benefit that you get to look at them as well so they can help the community.  Hopefully, this process won’t be too drawn out and I can get caught up rather quickly.

One of the first recommendations I’ve found is that you should set your blog up with technorati, so that’s what we’ll do here. As you’ll see in my first paragraph, I had to make a post with the token that was emailed to me. So now that I’ve got that part out of the way let’s go ahead and go through the process of submitting our blog to technorati so that it can be included in their directory.

From what I’ve gathered, technorati isn’t what it once was but it still warrants registering your blog there in order to cover all of your bases. You’ll need to follow the steps below in order to get going:

1. Register for an account at http://technorati.com/account/signup/.
2. You should get an email with a token for you to put into a new post on your blog so they can identify you.
3. Update your profile on technorati and make sure your feed is setup and working correctly whether you use Feedburner or another method.
4. Submit your blog post with the token and check to see if things complete successfully (not sure on the time frame, but I’ll update)
5. Look at related blog listings and see what they are doing that you can implement as well.

I will update my findings after my listing gets added and make sure that I didn’t leave anything valuable out.

Update #1 : Technorati is having the toughest time picking up the feed. I have a couple theories and I’ll update this post when I figure out what’s going on.

Comments { 0 } Posted on January 3, 2011 in Blogging, General, Tech

Get your bookmarks into shape

This isn’t a SQL related post, but it’s helpful so I’m going to post it.

This post assumes that you are using Firefox and your bookmarks have gotten out of control. It’s time that we do a little cleanup.

The first thing you need to do is download an add-on called Xmarks. That piece of advice along with using Firefox is worth the price of admission alone. Xmarks allows you to sync your bookmarks between multiple computers and is very helpful when you have ever have to rebuild your computer as you can just get them back once you reinstall Xmarks and sync with the server. This doesn’t replace normal backups but it’s a nice safety net and useful feature. It also syncs passwords if you use that feature, but I haven’t seen it fully catch every password in my experience. I guess it’s possible that using Xmarks in the first place might have created more duplicates, but I’ll hold off on saying that until I see what it does after I clean it up.

So at this point we have Firefox with the Xmarks add-on is installed, registered and our bookmarks are synced up with the server.

I have always needed to get my bookmarks in order, and I finally saw a post on Lifehacker that got me going. The sad thing is that it adds a toolbar, but you can always use it for it’s purpose and then get rid of it. The add-on can be downloaded directly from Firefox or by going here or here.

Once you’ve gotten it installed then it’s time to get down to cleaning out your closet. My main purpose was removing duplicates, but it also has a feature to check for bookmarks that return ‘File not Found’, ‘Server Not Found’, and ‘Timeout’. That could probably be a bit more tasking on your network to go hit all those sites but if you are at home that’s not a big deal.

Removing Duplicates

I’ll start off with a couple of negatives that aren’t deal breakers but do add to the time it takes to clean things up. When you click the IB icon and select ‘Check Duplicates in This Toolbar’ the window that it returns is way larger than the screen. You have to drag it to fit the screen size you want to work in. This may not be happening for everyone but it did happen for me.

DropDown Image

Once you’re past that point, you’ll find the biggest negative I have found. Let’s say it returns something that looks like this:

Well, you could just click each little check box besides the last one but surely there’s a better way. I’m used to using tab or the down arrow and hitting the space bar (or enter) when I want to do something repetitive like this. Maybe there’s a way that I haven’t found but please add a comment if you do because you could help others with the same problem. Of course, you wouldn’t get to use this brief intro to AutoHotKey that I’m giving. I’m sure there are better intros but you’ll have to suffer through mine for now. AutoHotKey is going to give us the ability to go through this a little faster than clicking every check box, so if you can get around the front-end time of writing the script you’ll save time on clicks in the end. I’ll provide the scripts that I have used as well.

Go ahead and download AutoHotKey. The Installer will work just fine for our purposes. Install the program and accept all the defaults. Feel free to hit the Readme if you want to learn a little more about it.

I think it’s a good idea to go ahead and create a specific folder on your computer for these scripts, because you’ll always know where to find them if you choose to use this program for something else.  Call it AHKey or whatever, just remember where you put it. Now fire up notepad or notepad++ (even better) and copy the text below into the document.

;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         A.N.Other <myemail@nowhere.com>
;
; Script Function:
;    Template script (you can customize this template
;      by editing “ShellNew\Template.ahk” in your
;        Windows folder)

#NoEnv
; Recommended for performance and compatibility
; with future AutoHotkey releases.

SendMode Input
; Recommended for new scripts due to its superior
;speed and reliability.

SetWorkingDir %A_ScriptDir%
; Ensures a consistent starting directory.

This is how it is suggested that you begin each script so I just went with that.  Basically, we want to use this program to simulate a mouse click, mouse move, mouse click, etc. Go ahead and add the following code directly after the SetWorkingDir line.

+2::
MouseClick, left
MouseMove, 0, 24, 0, R
MouseClick, left
return

In English, that means that when I hit shift and the 2 key perform the following actions: Click the left mouse button, move the mouse 24 pixels down and click the left mouse button again.  So in my right hand I’m holding the mouse arrow over the first check box. With my left hand I hit Shift-2 and the magic happens. This isn’t that big of a deal until you get to where you have thousands of bookmarks with 2-4 duplicates each, and that was the case for my bookmarks.
You could modify it to do four check boxes like this:

+4::
MouseClick, left
MouseMove, 0, 24, 0, R
MouseClick, left
MouseMove, 0, 24, 0, R
MouseClick, left
MouseMove, 0, 24, 0, R
MouseClick, left
return

So once you’ve saved your files (with the .ahk extension), double click the file to active the script. It will minimize into your system tray so you can go there when you need to close it. You can find ways to change the hot keys and do other things by reading through the documentation and website for AutoHotKey.

Hope that helps someone else out.

Comments { 0 } Posted on April 16, 2010 in Tech