Blog of Leonid Mamchenkov

You just stepped in a pile of posts.

Entries Tagged as 'WordPress'

Theme fixes, improvements, and polish

Posted in All, Site News on February 14th, 2008 · No Comments

If you have a lot of attention for details, you probably noticed a few things moving around and changing on this blog in the last few days. You weren’t dreaming - I indeed moved changed a few things. Here is a round-up for those of you who enjoy these sort of things:

  • List of categories moved up. Since I am interested in and blog about many different things, I don’t blame you if you would like to skip some of them and read only things that you care about. I moved the list of categories higher up in the sidebar, so that you could jump directly to the topic of your choice.
  • Full posts in categories, tags, and archives. This should also make reading posts about specific things easier. You won’t need to jump to the full post page all that often now. Less clicks and all.
  • Category header images. Some categories (see Photography, Movies, and Technology for examples) will greet you with different header images (once again, thanks to Igor Gorbulinsky for his talent and time). This feature should help you out a bit while navigating the site - instant indicator of where you are.
  • Highlight of category name, tag, and search query. When you navigate to posts of a specific tag or category, you should see the term at the top of the page. Sometimes the term is highlighted, like, for example, in case of search query. Also, sometimes, you have a link to RSS feed which provides easier access to similar posts.
  • Improved RSS feed auto-discovery. Depending on where you are on the site, your browser will suggest a different set of RSS feeds to subscribe to. I’m trying to make these things as intuitive as possible.
  • Improved browser compatibility and standard compliance. A few small glitches here and there were fixed. All RSS feeds are valid now, except for those rare cases when content of specific posts causes problems. CSS is now valid and many warnings are fixed. HTML is now almost valid. There are a few issues which which are caused by WordPress bugs, but fixes for these seem to be available in the upcoming version of WordPress. In any case, it seems all theme and plugin specific issues were fixed.
  • Upgraded WordPress to version 2.3.3 .  This is the latest version with all the security fixes and such.

As you can see from the list above, all of these changes are rather cosmetic and can be classified as web site polish. None of them should cause any issues to you or your browser, and much of the misbehaving functionality should be fixed now.

If you have any ideas on suggestions on further improvements, or if you notice any misbehavior at all, please let me know.

→ No CommentsTags: , , , , , , ,

Online identity, relationships, Google, and Social Graph API

Posted in All, Technology, Web work on February 6th, 2008 · No Comments

Web Worker Daily covers the release of Google Social Graph API. These are pretty exciting news.

With so many websites to join, users must decide where to invest significant time in adding their same connections over and over. For developers, this means it is difficult to build successful web applications that hinge upon a critical mass of users for content and interaction. With the Social Graph API, developers can now utilize public connections their users have already created in other web services. It makes information about public connections between people easily available and useful.

Even better news are that one of the systems supported by Google is XFN - XHTML Friends Network. This is exactly the same XFN that you see mentioned in your WordPress administration. When you manage blogroll (links) of your site, you can attach different XFN attributes to each link. The screen looks something like this:

WordPress XFN editor

If your web site also uses one of the properly built WordPress themes, which has profile=”http://gmpg.org/xfn/11″ attribute set in the HEAD tag (see XFN join page for more information), then you are all set to go. Google will index XFN information from your site and will make it available via its Social Graph API.

It’s good to see Google stepping into this area. It brings a lot of public attention to a very useful area of our online lives. Soon, we’ll see more social tools and services like rubhub and Plaxo Pulse.

→ No CommentsTags: , , , ,

Portability and flexibility win over performance

Posted in All, Programming on February 6th, 2008 · No Comments

I noticed this ticket in WordPress Trac - Change enum to varchar and went in to see if there is any heated discussion.  The issue is around field types used in SQL scheme for WordPress tables.  Certain fields, such post status employed ENUM type with a set of allowed values.  The proposed change in the ticket is to convert them to VARCHAR type.

Why the change?  Well, VARCHAR is just a text field.  Anyone can put pretty much any string into it.  It has more flexibility for plugin developers and future changes - no need to tweak the SQL scheme.  ENUM on the other hand works a little bit faster.

Side note: I also thought that ENUM provides some extra data validation, assuming the ENUM field is set to NOT NULL, but it turns out this is not the case.  If you insert a record with a value which is not in the list, the NULL is used. 

The change has been approved, the patch was attached, and the world will see it in the next WordPress release.  Once again, it has been proven that human time is much more valuable than machine time.  Making it easier for plugin developers to extend and change the system has more value than that of a few extra CPU cycles to lookup in strings instead of numbers.

→ No CommentsTags: , , , , , ,

WordPress.com gives out more disk space. A lot more disk space!

Posted in All on January 21st, 2008 · 3 Comments

Now, here is another reason to love WordPress.com folks:

 Today, one of those developments comes to fruition — everyone’s free upload space has been increased 60x from 50mb to 3,000mb. To get half that much space (1GB) at our nearest competitor, Typepad, you’d pay at least $300 a year. We’re doing the same thing for free.
Our hope is that much in the same way Gmail transformed the way people think about email, we’ll give people the freedom to blog rich media without having to worry about how many kilobytes are left in their upload space.

→ 3 CommentsTags: , , ,

WordPress comment-related plugins

Posted in All on January 16th, 2008 · No Comments

I went through a few comment-related plugins in the WordPress plugin directory.  It’s amazing how much cool stuff is written and uploaded over there.  Here are just a few to give you an idea of what you can find and install on your blog:

  • WP AJAX Edit Comments - this plugin can be used to allow people, who comment on your blog to edit their comments.  They don’t even have to be logged in, and they will still be able to edit their own comments for a period of time.  Also, this plugin provides some nice functionality for blog administrators and moderators, who can approve, delete, or mark comments as SPAM from the post at the blog, rather than from the email message or blog administration interface.  I have installed this plugin, and you, my dear visitors, should be able to fix your own typos now.  Let me know if it doesn’t work for you.
  •  CommentLuv - this plugins helps blog owners to give back some love to those who comment on their blogs. When a person leaves a comment on your blog, CommentLuv plugin navigates to this person’s web site (the one that was mentioned in the comment form), looks for an RSS feed of that site, and, if it finds the feed, gets the latest post from it.  It then appends a link to that latest post to the person’s comment. I tried this plugin and it works very well.  However, I decided to not use it here just yet - not because of the plugin quality, but because of the general way I see discussions here.  I’ll probably use this plugin on one of my other blogs.
  • Ajax Comment Posting - this plugin makes comment posting a little bit faster.  It avoids the page reload for when the comment is posted.  I’ve installed this plugin on this blog, but somehow I still don’t see it working.  If you notice that it works or, on the contrary, it breaks something for me, please let me know.
  • Delink Comment Author - this plugin helps in those cases, when someone posts a nice comment to your blog, that you want to approve, but don’t for the link that author of the comment used as their web site. With this plugin, you can remove the link to the comment author’s web site via comment administration of your blog.  I have installed this plugin too, and it seems to work exactly as advertised.

And now is a really good time to see if the comments on this blog still work for you.  I’ve tried to test things out and make sure that everything is OK, but to be on the safe side - you should too.  Please, leave a comment to this post and let me know if it works or if something is broken.  If comments don’t work at all for some reason, please drop me a line using any other way.

→ No CommentsTags: , , ,

Advertisement

  • Linux Weekly News
  • WordPress publishing platform
  • Advertise at mamchenkov.net