Monthly Archives: July 2009

Converting VB and VB script apps to php

I recently tried a conversion of an old asp website to php. The process went pretty well using the asp2php converter located at http://asp2php.naken.cc/

The problems cropped up in the custom ADODB connection. That really doesn’t work. But no biggie I was able to complete the conversion with not too much effort.

Now here is where it got fun. I started thinking about if I could convert a VB application to php. I’ve written hundreds of VB applications all the way from vb 2.0 to 6.0 (yeah I’m that old) and I know php well enough to convert the application. The process would be much the same. I have an old vb 6 application I am going to convert into a php web app. This should be fun. I will let you know the results soon!

Russ

Evolution and Google Calendar

Evolution now has a Google calendar provider.  This means that I can see my google calendar and add/edit/delete events through Evolution.  This is a great feature and really easy to set up.

Go to File->New->Calendar and the New Calendar dialog will open.

Screenshot-New_Calendar

Select Google from the Type dropdown.  Enter your google username and password.  The default refresh is 30 minutes.  I changed it to 15 minutes becuse I use my calendar for many events.  Using SSL if you travel and are often on unsecured wireless systems.

A little tip* enter your username and password before you attempt to pick which Google calendar you are going to use, especially if you are not going using your default calendar.

The color option is for the color of the items as they appear on your calendar.  This is handy if you have multiple calendars and want to distinguish the items.  I clicked the “Mark as default calendar” option so that any new appointments are by default added to the google calendar.

Using HTML tidy with gedit

My tool of choice for editing many kinds of files including HTML is gedit.  It is a clean and easy to use tool.  I often have to work with old html websites.  The HTML is often quite a mess with missing closing tags or just plain poorly written.  I’ve also used this to fix code I was attempting to insert into site editors using the XHTML standard.

 

Gedit has many plug-ins.  One of my favorites is HTML-Tidy.  This is a link to the author’s site.  Take a look and see if it helps your coding.