Category: Technology

Use BBEdit to replace the entire contents of multiple files

A few months ago, I needed to revise an HTML file that is used many times across a large website. Most of the key code associated with this file is contained in centrally-located includes, but as luck would have it, this time the entire file needed to be revised – even the user-customized bits. That meant that almost a thousand files would have to be replaced. Worse, they were not entirely the same, since they were customized by the users to some extent.

After checking a few of them, I found there were enough commonalities to serve as the basis of a regular expression search. They always started with a comment, like this:

<!--/ *v

Continue reading
Adobe Captivate

Adobe Presenter and Captivate: Hyperlinks don’t work after importing Powerpoint

Symptom: hyperlinks that worked in a Powerpoint file no longer work in the published Presenter or Powerpoint presentation based on that Powerpoint.

This is because Flash Security treats local content differently than the content on the internet.

The solution is to put the published files onto a web server and access it using the URL (like: http://yoursite.com/yourpresentation.htm).

Continue reading

Update on exporting highlights from your Kindle

There have been a few interface updates to Amazon’s Kindle page since I last wrote about it, but there remains a strange lack of comprehension on the part of Amazon, that people might actually want to use their highlights. There is still no obvious way to export the data.

For those with Macs, I’ve come up with a workaround, and perhaps there is something similar on the PC side.

Continue reading

Drupal error message: “call_user_func_array() expects parameter 1 to be a valid callback”

After doing a series of updates to a Drupal installation, the following error appeared on all admin pages and edit pages:

“call_user_func_array() expects parameter 1 to be a valid callback, function ‘clients_access_callback “

Other symptoms included that the database could not be updated to complete some of the following updates, and search no longer worked.

Continue reading

A few rough spots in iCloud

iCloud looks great on paper, but the effects of choices you must make to enable it are not obvious, so, as a busy person with more than enough troubleshooting to do, I am shutting it off for now.

No replacement for iDisk yet.

I’m probably one of the few people that use iDisk, but I do use it. I store my Papers library on it, and a variety of assets I use at work and at home. It was a great little server, without any hassle. According to this technote, I have to save my files and get ready for it to disappear.

I never used the iWeb or MobileMe Gallery features, but it looks like all of that is disappearing also. iCloud is neither a hosting service, nor an unstructured file-server. Documents can be stored by apps, but probably not dragged there by you, as far as I can tell.

Continue reading

Thread: Changing maxAllowedContentLength

In a .NET application used to deliver quizzes, attempting to import a large quiz from another server resulted in this error:

“The request filtering module is configured to deny a request that exceeds the request content length.” A second message stated:
“Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value.”

Continue reading
Adobe Captivate

Captivate: Change background images on imported Powerpoint slides to repositionable Captivate images

Captivate allows you to import a Powerpoint file to use as the starting point for your learning activity. It’s often easier for people to “think” in Powerpoint, so many users prefer to rough out a project in Powerpoint, then import it and continue working in Captivate.

When a Powerpoint file is imported this way, its images become part of the Background element of the slide in Captivate. Backgrounds are not easily repositionable, or croppable, but it’s not hard to bring the background image up onto the slide as a regular image element that can be moved around, edited, and included in actions.

Continue reading