Skip to main content

AskAlana.com Website Clean-up: Case Study

Websites rarely stay the size or shape their authors planned. This case study describes how a small company used TextPipe to bring more than a thousand pages into line, after the editor they built the site with could not make the changes.

Client

HeartCore Corporation, Kauai, Hawaii. Contact: Kirk VandenBerghe. Website: https://askAlana.com.

The challenge

When HeartCore began its website, it expected the site would never exceed twenty or thirty pages. New to HTML, the team chose FrontPage for development. After three years and three different versions of FrontPage, they were administering a site of more than 1,000 pages.

Their skills had grown, and there were aspects of the pages they wanted to update. In particular, they had a number of non-standard page designs and wanted to bring them in line with a single standard design. FrontPage's search and replace functions were not up to the task.

The solution

HeartCore discovered TextPipe and used it to make multiple passes through the site's code. Each pass applied one group of changes to every page, and with support from DataMystic's Simon Carter they were able to clean the entire site. A typical multi-pass clean-up of this kind includes:

  1. Normalizing old tags and attributes left behind by earlier editor versions.
  2. Replacing the non-standard page layouts with the standard layout, using pattern matching with EasyPattern expressions to find the old structure.
  3. Applying search and replace rules to links, headers and footers across all files in one run.
  4. Reviewing the output, then running the next pass over the cleaned files.

Because the filter list is saved, each pass can be repeated if a mistake is found, and the same list works again on new pages.

The results

  • Whole-site consistency: all pages of the 1,000+ page site were brought to the same standard design.
  • A job that was not otherwise practical: the changes would have required opening and editing every page by hand.
  • Reusable process: the multi-pass filters stay available for future clean-ups.

The client did not report time figures, so none are given here.

Lessons for site owners

Sites grow by accretion, and the tools used to build them are often weakest at changing many pages at once. Teams in HeartCore's position can follow a few simple rules. Work on a copy of the site, so a bad pass can be discarded. Make one kind of change per pass and check a few pages after each, which keeps mistakes easy to trace. Save each filter list, because the same rules will often be needed again when the next redesign arrives. Finally, ask for help early: HeartCore credits DataMystic support with getting the clean-up done.

Related reading

The consulting and systems integrators and publishing case studies describe other content-heavy customers, and the content management solution page explains how to keep large collections of files consistent. Organizations that keep their content in Word documents instead of web pages can use WordPipe, for example to batch update hyperlinks and bookmarks or replace old branding in all Word documents.