Author: ellen

Drupal OpenWYSIWYG text editor

openwysiwyg_0.thumbnail.gif

One of the biggest drawbacks of Drupal for several years has been the lack of a single rich-text editor that is totally compatible with all browsers. Two years ago, I tested all of the WYSIWYG modules available at the time, found they were all riddled with bugs and incompatibilities, and finally settled on the YUI editor for a large Drupal site I run.

Unfortunately, it never really worked that well: the site’s members upload lots of photos, and it did a poor job of sizing them – users had no idea how to ensure they were not displayed at full resolution – and with 10 megapixel cameras, full resolution is enormous!

Continue reading

Audio, but no video on GoToMeeting WMV videos (G2M3 format)

The other day I came across a Windows Media file that would not play correctly on any player on Mac or PC. The audio track played fine, but there was no video – it was black. Nor would any encoding software convert the file to Flash Video, which is what was really needed. 

Looking in Quicktime’s Movie Inspector I could at least tell that the video was in “G2M3” format. G2M3 is a proprietary codec, used in GoToMeeting by default when you save a recorded session.

GoToMeeting allows users to record meetings in either G2M3 or in standard Windows Media format. The latter choice is likely to be overlooked by most users, so chances are their recordings will be un-viewable and un-convertable on non-GoToMeeting software. However, even if a GoToMeeting session has been recorded in the proprietary format  you can still convert the file after the fact using a little application called g2mtranscoder that is installed in the GoToMeeting folder.

Continue reading

Drupal YUI Rich Text Editor: Set maximum image dimensions on uploaded images

The search for the perfect WYSIWYG text editor in Drupal goes on. The best I’ve seen yet is YUI Rich Text Editor, but it still has some serious browser incompatibilities and usability problems. One significant is that there is nothing stopping users from upload a huge image, and not resizing it down using the provided resizing tools.

Now that just most cameras produce images of enormous resolution, users in my Drupal sites’ users often upload gigantic photos, which remain splashed across the entire layout until I get around to fixing them. I finally got tired of correcting users’ posts for them and fixed the CSS so it will never happen again.

Continue reading

Troubleshooting iPhone “No-Service” messages, part 3

I’ve written in the past about some of the solutions people have come up with to deal with the dreaded “No-Service” message on an iPhone. But yesterday I realized I’d forgotten one of the easiest to try: make sure your hand is not covering the antenna. Covering the antenna accidentally may not cause you to see “No Service” but the effect will be the same – no bars at all.

Continue reading

The Canon point-and-shoot space telescope.

Last night’s harvest moon was so big I couldn’t resist trying to get a shot of it with my little camera, a Canon powershot SX210IS.

It’s easier to take pictures of the moon with a point-and-shoot camera in the afternoon, because there is very little contrast between the sky and the moon itself. Here’s an afternoon shot taken a few months ago. This was hand-held, at maximum zoom, using the automatic settings. Exposure was .02 sec (1/50), ISO 80. The craters are clearly visible.

The Canon Point-and-Shoot Space Telescope shoots the Moon

Continue reading

The Processing Instruction Target Matching “[xX][mM][lL]” is Not Allowed

When running Java or other types of applications which use an XML file as part of the input, you may see this error: The Processing Instruction Target Matching “[xX][mM][lL]” is Not Allowed.

Often the cause is a malformed XML file, with a common problem being a blank line accidentally inserted before the required first line of the xml:

[ A blank line here will cause the error ]
<?xml version-"1.0"?>
Continue reading

FTP a file from one server to another, automatically

We are using an ASP script to create iCal files from a database, so another department can display the events on their web-based calendar.

Their calendar page is outside the corporate firewall. The ASP script needs to reside on and IIS server within the firewall. I needed a fool-proof way to transfer the ical file nightly out to an external web server so it could be accessed by any calendar applications that need to use it. The best way I’ve found so far is to create a batch file with command-line FTP instructions, and add it to a Windows scheduled task.

  1. To do this with your own files, create a directory that will hold the batch file somewhere on the server. Since the batch file will contain your destination server’s ftp password in plaintext, you will want to secure the directory. Create a Windows or domain account whose password will never change. I happened to have a “utility” domain-based account that already had access to some parts of the server, so I gave that account rights to the new directory.

Continue reading