Regular Expressions for Strings

Today we switched over the site’s “Write Us” function to a much simpler WordPress solution. We posted an article on this in our HOME page.

The old solution linked to a cgi page. In WordPress installations, and we have a lot of them, the changeover was simple: change the coding on a button and a couple of include files, and you’re done. All pages, all buttons, in under five minutes per department.

We didn’t appreciate how many unconverted legacy HTML pages we still have, many going back to the 1990’s. DreamWeaver found 1,292 links needing change. Typically two links per page, that’s between 500 and 600 HTML pages. Except for the uploads, the powerful find/replace feature can make short work of that too.

There was a BIG problem.
Continue reading

158 total views, 1 views today

Perl Lib for WordPress Deployment

I’m super-pleased to have developed a master Perl script for deploying the new WordPress builds that get released every few weeks. It’s an enormous time-saver. It relieves me of the one time-trap chore I absolutely hated, which was FTP’ing the builds to each of my WordPress departments. Since some of this article is of general interest, and some is probably only interesting to Perl geeks, I’ll divide the article into General and Technical parts.
Continue reading

216 total views, no views today