Archive

Archive for the ‘Geek Speak’ Category

First Post Using N95

June 18th, 2008

This turned out to be much easier than i thought. I tried the Nokia Lifeblog client earlier, which I managed to configure after some effort, but it’s limitations instantly turned me off. I’ll post a review on the available methods for mobile blogging in a couple of days. For now, I hope this post goes through to appear on my blog :)

Share/Save/Bookmark

Geek Speak ,

Pedestrians to Generate Electricity

June 12th, 2008

This is really an interesting piece of article which shows the lines on which the developed world is thinking to generate electricity. While they are looking out for novel methods for this purpose, we are still unable to utilize and implement methods that have even become obsolete in some countries. We’re way back when it comes to technology. It hurts!

THE power of the wind and the tide have been harnessed – now the footfall of trudging shoppers is to become the latest source of emission-free energy.

Underfloor generators, powered by “heel strike” and designed by British engineers, may soon be installed in supermarkets and railway stations.

The technology could use the footsteps of pedestrians to power thousands of lightbulbs at shopping centres. It works by using the pressure of feet on the floor to compress pads underneath, driving fluid through mini-turbines that then generate electricity, which is stored in a battery.

Engineers who have modeled the effects of the technology at Victoria Underground station in central London have calculated that the 34,000 travelers passing through every hour could power 6,500 lightbulbs.

David Webb, a structural engineer at the consultant Scott Wilson, which is in discussions with Network Rail and with retail firms to install the devices, said: “It’s just picking up on the fact that all structures move a bit. This technology says, okay, we can do something useful with that energy.”

In addition to floors, the technology could also be installed beneath railway lines and on road bridges to exploit the energy of passing trains and vehicles.

Read more…

Share/Save/Bookmark

Geek Speak , ,

How To Make Trackback Links Visible in Wordpress

May 13th, 2008

The usefulness of trackbacks in Wordpress is widely knows and so I’m not going to ramble about it. The objective here is to share the php function that can add “Trackback URL” anywhere in your post. Some themes are not pre-installed with it. Adding this function will result in trackback links appearing in all of your posts so that your readers can use them easily. The position of the text (of the link) is, of course, at your discretion.

In your wordpress go to the theme editor section and select the single-post file, which is to be appended with a small chunk of code. Please make sure that you have a back-up of your file before making any changes.

In the single-post(.php) file, add the following line of code at the place where you wish the link to the trackback URL to appear on your posts.

<a href=”<?php trackback_url() ?>” rel=”trackback” title=”Trackback URL<?php trackback_url(); ?>”>Trackback URL</a>

Save the file and you’re done!

Share/Save/Bookmark

Geek Speak ,

Wordpress Permalinks On Sub-domain

May 6th, 2008

I always looked at those “pretty permalinks” with envy because I wasn’t able to configure my blog to use them. When my blog was located in the root directory (public_html) I had no problems with them. But, since moving on to the subdomain (blog.anasimtiaz.com) I used to get those 404 errors and so I thought probably it wasn’t easy to set them up for a novice like me.

But, I tried that again today. On the Permalinks Options page, a very small note, You should update your .htaccess now, appeared. I never noticed that before. How the heck would I update my .htacess?

By chance, I scrolled to the bottom of the page. Bewildered and stupefied. The mystery was solved.

Share/Save/Bookmark

Geek Speak ,

Windows Live Writer and WordPress - XMLRPC (406) Problem Solved

May 4th, 2008

After a sleepless night and hours of searching (and researching), I found out that my host has blocked access to xmlrpc.php. And this blockage is such that editing the .htaccess file which is the most common remedy of this 406 error didn’t solve my problem but rather gave a 500 Internal Server Error. If you have already tried disabling all your plugins, changing back to the classic theme, editing .htaccess and looking for trailing spaces without any access then you probably need to check this out:

Make a copy of your xmlrpc.php and save it as something else (e.g. myrpc.php) in your root wordpress directory. When asked by Windows Live Writer for the URL of the file, fill it in - http://www.example.com/wordpress/myrpc.php

And your WLW should now be configured easily!

Whether it solves your problem or not, do let me know.

Note: This post is composed and published using WLW.

Share/Save/Bookmark

Geek Speak

Blogging by e-mail in WordPress - Tutorial

January 23rd, 2008

Blogging by e-mail is a convenient feature in WordPress that allows you (and others, if you wish) to post on your blog just like sending an e-mail to any address. When set up, you can simply send an e-mail to a predefined address from where WordPress picks up the mail and posts it in the assigned category. This means you can even use your handhelds or cell phones to post on the WordPress weblogs without having to browse through the web pages.

Setting up the feature is fairly easy. The gist of the procedure is that you create an e-mail account specifically to be used for this purpose (so that your personal e-mails don’t end up as your blog posts), provide that address, password and mail server in the Admin panel. The next step is to run the wp-mail.php in your WP folder which picks up the e-mail and posts it on the blog. This last step took some time for me to comprehend. There can be numerous ways to do this:

The following graphical tutorial (each step is followed by a screenshot) guides you through the complete process of setting up and activating the blog by e-mail feature in WordPress:

Read more…

Share/Save/Bookmark

Geek Speak ,

Running WordPress offline

December 28th, 2007

I stumbled upon this nifty tutorial that explains in detail (with screenshots) about installing and running the WordPress package offline on local computer. A package called XAMPP is required which runs Apache, MySQL and PHP on the machine without the need to install them. Here goes the link.

To use permalinks in offline mode change
AllowOverride         None
to
AllowOverride         All
in /apache/conf/httpd.conf file in addition to what the tutorial asks you to do.

And if you wish to synchronise the two databases (web and pc) check this out (under the section “Synchronizing WordPress Data”).

Note: You can also carry your WP blog on your USB stick. Follow this link for more.

Share/Save/Bookmark

Geek Speak