Category: Technology

Drupal module Feed Aggregator escapes HTML tags in feeds

Drupal’s Feed aggregator has a problem displaying some of the escaped tags in Google Alerts Feeds. For example, see the screenshot below:

Picture 31.jpeg

The fix is to alter the code in
modules/aggregator/aggregator.module

Search for

 function aggregator_save_item($edit)

In both the UPDATE statement and the INSERT statement:

replace $edit['title']

with

strip_tags($edit['title'])
Continue reading

Drupal: Take back control of a folder from Drupal and password protecting it

error.jpeg

By default, Drupal takes control of all subdirectories within its root folder. If Drupal resides within the web root of your site, you will not be able to get to any subdirectories that are non-Drupal related. Drupal will give a “Page Not Found” error on any page that doesn’t have Drupal content associated with it.

Continue reading

Enable commenting in Adobe Reader, then use a PDF as a whiteboard

Writing notes and sketching on PDF’s using a Tablet PC can be an excellent replacement for a blackboard or whiteboard in the classroom, meetings or lectures. Easier than using Powerpoint, especially when you want to improvise, it is particularly useful for annotating complex diagrams, music, mathematical problems, or anything requiring gridlines or graph paper.

On a Lenovo Tablet PC, you can use the clipping function to drop PDF’s into the Journal application and type or write on them with the pen. The pen has good enough resolution to write legibly, and draw lines and curves.

Continue reading

Troubleshooting Jeroen Wijering’s FLV player in your HTML

There are some errors that come up time and time again when working with Jeroen Wijering’s Flash Video Player. Here’s how to troubleshoot them. I’ll keep adding to the list as time permits. Click the images to see a larger view.

Continue reading

Batch resizing in Photoshop, step by step

One important element that is often left out of beginner Dreamweaver courses is how to make your photos web-ready. Today’s cameras turn out multi-megapixel images that are several feet wide when dropped into a web page at web resolution. Here’s how to take a folder of high-resolution images and turn them into smaller files that will display at about 5-6″ wide at 72dpi using Photoshop.

  1. Select Scripts > Image Processor from the File menu
Continue reading