Archive for July 2006

Microsummary Generator plugin for Wordpress

Firefox 2.0 Beta 1 supports a new feature called microsummaries . It is a kind of smart bookmark feature added to firefox.
However because firefox 2 is beta,  I think they don’t support dynamic files. What it looks for an xml file is the extension xml. As a result it can’t use for the dynamic results as php for our case. I hope that this will be solved on the final product, I just mailed mozilla support team for this issue. Maybe this is by design, but it should support dynamic xml files.

Issues

It’s funny I know, but this plugin is not working :) This is because  firefox want static xml file. I made this plugin without knowing that, as a result waiting for them to support it.

Installation

To install it. Extract the generator file (microsummary-generator.php) to your plugin folder. And the xml file (microsummary.php) to your blog’s root folder. Then add MicroSummaryBookmark() function to your theme file. Actually this provides the link to be put on your page. So you can put this file wherever you want to see in your page.

Screenshots

Link to Microsummary Add to Microsummaries  Generated Error

Download

.

Wordpress Binary Blue Localization Problem Solved

I have the same localization problem with other guys that run binary blue theme. For details, you can read the post about Binary Blue Localization
I try and test from my home computer and the localization works perfect. However my server somehow doesn’t let me to do it. I tried every combination of the naming for the WPLANG and for the PO filename. My site was still displaying in german. So I decided to write a simple utility to convert the main files to the localized files. After 2 hours of hard coding I successed with localization using the PO text file.
Here is the tool to localize binary blue to your language using the PO file.

.

To use the program you need to have .Net Framework 2.0 installed. Also you need to download the desired PO file and the theme itself. After that you can run the program to rewrite the files for you.
I don’t know if anybody is interested with the source code, if you do please let me know.

How to use it

  • Run the program
  • Initial Screen of PO Integrator

  • Select folders desired, destination folder should be empty!
  • PO Integrator selected files and folders

  • Click Start, and you are done. Copy the files to the default themes location in the web server
  • PO Integrator Operation Complete

Meta Tag - Wordpress Plugin

Meta tags are the hidden info of your page. Most of the search engines use this info to crawl your page. You can view these fields from your page source between head tags. Wordpress does not have a configuration tool for meta tags. I wanted my meta tags to be configurable,so I made this plug in. You don’t have to edit each themes header.php file anymore. This plug in also sets the meta data details dynamically based on your post.

Installation

Just upload the file to wp-content/plugins directory, than configure it on the options page using Meta Tags tab. Enter your desired information and meta tags are inserted on every page.

Screenshots


Wordpress meta tag manager plugin

Download

.

Change Log

Version 0.1 : It allows you to customize two fields of the meta-tag, probably the most popular one. These fields are Description and Keywords. These are mostly used by search engines.

Not enough time for everything

I can’t find time for doing my todo list. I am trying to do as much as I can, however I still have unread books, unwatched movies, unread mails etc. Maybe I am not planning very good, however while reading my rss feeds, I saw that some other people are complaining about that. Actually this is an endless work to complete. Everyday some new ideas, new products appears. While working on a project, I can’t find a time for every field of this ocean. Here are the hot topics to learn for the next year as stated in Howard’s blog.
Future Technologies

I have a list of rss feeds. So I try to read them. I just make a quick review of the content, and print interesting, potentially useful articles. Than read it whenever I am away from my computer, on the road especially. Hard copy reading is a lot faster than screen reading.

Nowadays beside the warehouse project that I am currently involved, I am trying to catch the wave of windows vista, actually .Net Framework 3. But I also want to do some atlas, javascript stuff, xp, read more books, watch more movies, have more time with my family, friends and more and more…

Blogs about continous education:
Rob Caron: Continous Education

Howard van Rooijen : Continous education

Console2: Tabbed Command Prompt

Another open source tool appears on the web.
DownloadSquadLink Console: Tabbed command prompt for Windows.

This one is really useful to me. We are using console when we can’t do everything with mouse clicks. For example, we might want to compile a cs from the visual studio command prompt, we can’t do from the normal command prompt because the assemblies are not referenced(of course you can do, but it is not out of the box)

Console is an application that allows you to use the command prompt. Not only the command or cmd but also anything we would like. Here is the settings windows that we do the configurations.

settings.png

Using the settings window we can add new consoles. Actually we can directly edit the exml file. Here is my xml file configured for visual studio 2003 and 2005 command prompt, and windowspower shell

 
<tabs>
		<tab title="Console">
			<console shell="" init_dir=""/>
			<cursor style="0" r="255" g="255" b="255"/>
			<background type="0" r="0" g="0" b="0">
				<image file="" relative="0" extend="0" position="0">
					<tint opacity="0" r="0" g="0" b="0"/>
				</image>
			</background>
		</tab>
		<tab title="cmd">
			<console shell="cmd.exe" init_dir=""/>
			<cursor style="0" r="255" g="255" b="255"/>
			<background type="2" r="0" g="0" b="0">
				<image file="" relative="0" extend="0" position="0">
					<tint opacity="65" r="0" g="0" b="0"/>
				</image>
			</background>
		</tab>
		<tab title="Windows Power Shell" icon="C:\Program Files\Windows PowerShell\v1.0\powershell.exe">
			<console shell="powershell.exe" init_dir=""/>
			<cursor style="8" r="255" g="255" b="255"/>
			<background type="0" r="0" g="0" b="0">
				<image file="" relative="0" extend="0" position="0">
					<tint opacity="0" r="0" g="0" b="0"/>
				</image>
			</background>
		</tab>
		<tab title="Visual Studio 2005 Command Prompt">
			<console shell="cmd.exe /k ""C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"" init_dir=""/>
			<cursor style="11" r="255" g="255" b="255"/>
			<background type="0" r="0" g="0" b="0">
				<image file="" relative="0" extend="0" position="0">
					<tint opacity="0" r="0" g="0" b="0"/>
				</image>
			</background>
		</tab>
		<tab title="Visual Studio .NET 2003 Command Prompt">
			<console shell="cmd.exe /k "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat" init_dir=""/>
			<cursor style="4" r="255" g="255" b="255"/>
			<background type="0" r="0" g="0" b="0">
				<image file="" relative="0" extend="0" position="0">
					<tint opacity="0" r="0" g="0" b="0"/>
				</image>
			</background>
		</tab>
	</tabs>


Here is the result what we get for it.

powershell.pngaction1.png

Very useful and we have got the power of console…