Xinha4WP Beta Available - v1.2b

I’ve been working on the next release of Xinha 4 WordPress over the past month and figured I’d release a beta version for folks to try out. I’ve been using this beta for the past few weeks on my sites and it has been working well. I still have a few things to add and fix before a final version is released.

You can download the beta version in zip and tar format. 

Installation is easy:

  1. Move your existing xinha4wp plugin directory to something like xinha4wp_old (just in case)
  2. Unzip/tar the new version into place (/wp-content/plugins/xinha4wp)
  3. Open the Xinha4WP options screen and look for a successful upgrade message.
  4. Clear your browser’s disk cache. 

Here are some important notes about this version:

  • It contains a much improved version of Xinha from the Oct 30th nightly build.
  • Works with both WordPress and WordPress-MU.
  • The HTML cleanup feature has a number of new filters you can use. I added options allowing you to set the defaults for each filter (on or off) in the prompt, but I haven’t been able to get them to work. So for now, all but one of the filters will be enabled when you cleanup by default (you can manually enable/disable them during each check)
  • The Image Manager plugin now allows the setting of a custom directory name. The directory MUST be a subdirectory of wp-content. It will default to the uploads directory, but this can be overridden in the Post or Comments settings screen at the bottom. If you used an old version of xinha4wp and had the images going into /wp-content/images you must set the directory field to ‘images’
  • IMPORTANT! After you install the beta, open the Xinha4WP options screen to upgrade the database schema. Once you do this, follow the instructions in the update message to clear your browsers disk cache. Firefox was caching the old Xinha javascript files, even on restarts, which cause a lot of trouble. One clear way to know if the ‘new’ Xinha is being loaded is the HTML Cleanup button. If you still see the old ‘W3C’ button, the old code is being loaded. If you see a yellow broom button, the new code is being loaded.
  • This version includes a new HTML generation engine which should be disabled by default. I find it generates very clean HTML, making HTML Cleanup rarely necessary. However it has a couple of quirks like including BR tags at the end of paragraphs.
  • Xinha4WP no longer checks for Text Control plugin. If your post has linefeeds in it, WordPress will convert them to hard line breaks. The HTML Cleanup button will remove all these extra line feeds, so if you cut and paste often, one HTML Cleanup per post is suggested.
  • The new form spellcheck feature in Firefox 2.0 WILL highlight misspelled words. However, Xinha has a context menu plugin and if it is enabled, you won’t be able to correct spelling with Firefox since Xinha intercepts the right mouse click for its own menu. Use Xinha’s spell check feature instead.
  • It doesn’t break EventCalendar3 like it used to.

This version will work with WordPress v1.5.x and v2.0.3 or higher as well as WordPress-MU 1.0.x. If you use this with WordPress v2 or WordPress-MU, you MUST disable the Rich Text Edit option in your global options AND the Admin profile. Otherwise you will see both WYSIWYG editors.

Please post any problems with the beta you have here instead of the main Xinha4WP page.

NOTE Poor coders like myself always appreciate donations to keep the tumbler full!

[Originally posted at baptiste.us - See the original article for comments]



3 Responses to “Xinha4WP Beta Available - v1.2b”

  1. Japhy.at - Usability, Web 2.0 und das Leben in Wien » Archiv » del.icio.us Bookmarks vom 25.2.2007 Says:

    [...] Xinha4WP Beta – Xinha is a powerful WYSIWYG HTML editor component that works in Mozilla based browsers as well as in MS Internet Explorer. [...]

  2. Dot Point Solutions » Blog Archive » Website Update for Team Members Says:

    [...] other noticeble change is the installation of a new editor called Xiang. This has all these really groovy features and should solve the problems we were having with [...]

  3. 5 Lesser Known but Still Powerful Wordpress Plugins Says:

    [...] 4. Xinha4WP A Wordpress adaptation of a previously existing HTML editor, Xinha4WP greatly increases the options and the amount of detail in text editing. It broadens the list of fonts available, makes it simpler to change colors, styles and to insert special characters, and includes a spell checker. Overall, a plugin designed to make one’s writing itself much more potent when skillful control over it is exercised. Some blogs are focused on images, some on short and simple news, others on sound or video clips, but to those true writers among Wordpress users whose primary form of attention-getting is their dexterous use of words, this plugin adds that extra bit of dexterity to the toolbox. [...]