SyntaxHighlighter Evolved: @Formula Brush

Submitted another plugin to the WordPress plugin directory.

The plugin adds a new brush to the SyntaxHighlighter Evolved plugin to colorize @formula code.

Example:

_exclude:= 
"$FILE":"$Fonts":"Form":"$UpdatedBy":"$Revisions":
"ID":"ModifiedBy":"AddressInvoiceAppartment";
_fld:=@Trim(@ReplaceSubstring(@DocFields; _exclude; @Nothing));
 
"{\"@unid\":\""
+@Text(@DocumentUniqueID)+"\","
+ @Implode ( @Transform (
_fld; "_fn" ; "\"" + _fn + "\":\"" + 
@Text ( @GetField ( _fn) ) + "\"" ) ; "," ) +
"},"

“Installation failed” when upgrading WordPress

After a few hours of trying to find a solution to the “Installation failed” error message, when using the automatic upgrade feature in WordPress, I finally found the/my solution.

The problem:

I’v tried to perform a WordPress 2.8 to WordPress 2.8.6 upgrade with WordPress installed in the website’s root folder.
Another installation of the same version located in a subfolder and used as a sandbox before updating the production installation, automatically updated without any error.

The solution:

The FTP account, used for the automatic upgrades, did in this case have the WordPress installation folder as it’s root folder.

Moving the wordpress installation to a subfolder and reconfiguring the domain settings solved the problem.


WordPress Plugin For LotusScript And Formula Syntax Highlighting

I’m using wordpress for blogging and have wp-syntax installed for quite a while as a syntax colour code/highlighter. wp-syntax supports many languages. But it does not support Lotus Script or @Formula language out of the box.

You can easily add support for these languages by adding a file to GeSHi, the Generic Syntax Highlighter, which is used in wp-syntax and some other plugins for wordpress.

I had done this a year ago for Notes 7. Now Richard Civil posted a new version for Notes 8. If your blog is based on wordpress and you are looking for an easy to implement, easy to use syntax colour code/highlighter to prettify your Lotus Script or formula code, jump over to RichardCivil.net.