Content Management Solutions
Content libraries drift out of date: product names change, URLs move, legal wording is revised, and nobody has time to open every file. DataMystic tools change content in bulk, without opening each file, so a library stays consistent as it grows.
Where content management goes wrong
Most content problems come from scale. A website may hold tens of thousands of HTML pages, a documentation set may mix XML, HTML and Word files, and a shared drive may hold years of contracts, manuals and reports. A single edit, such as a new company name or a changed support address, has to be made in every one of them. Doing this by hand is slow and error-prone, and a missed file leaves an old name or a dead link in front of customers.
Built-in find and replace in editors works one file at a time. Scripts help, but they tend to break on unusual encodings, large files, or text that must change only in one part of a document, such as an attribute value but not the visible text. Content teams need a repeatable, reviewable way to make the same change everywhere and to prove afterwards what changed.
Which DataMystic tool to use
- TextPipe Pro handles web and documentation sources: HTML, XML, CSV, plain text and source files. It runs hundreds of search and replace operations in one pass, with no limit on file count or file size.
- WordPipe edits Microsoft Word DOC, DOCX and RTF files directly, including headers, footers, fields, hyperlinks and document properties, and preserves formatting. It can also work on files inside ZIP archives.
- ExcelPipe applies the same kind of bulk change to Excel workbooks, such as product lists, price sheets and content inventories that sit beside your documents.
Example: rebranding a 6,000-file library
Consider a publisher that acquires a competitor and must replace an old brand name across its content. The library has about 4,000 HTML help pages, 1,500 Word manuals and 500 Excel catalogues. The old name appears in body text, page titles, headers and footers, and in links that point at a retired domain.
- The team copies the library to a working folder, so the originals stay untouched.
- In TextPipe, a filter list replaces the old name in the HTML and XML, and rewrites the old domain in href values only. A restriction limits the second change to attributes, so visible text is not altered.
- In WordPipe, the same name change runs over the manuals, including headers and footers. A second step rewrites the hyperlink targets.
- ExcelPipe applies the name change to the catalogue workbooks.
- Each run writes a log of changed files. The team reviews the log, spot-checks a sample, and then publishes.
A job that would take several people weeks of manual editing becomes a set of saved filters that run in hours. The same filters can be run again for the next change.
Related WordPipe guides
- Replace old branding in all Word documents
- Update hyperlinks in thousands of Word documents
- Automate document migration for Microsoft Word
Case studies
See how other organisations manage large content sets: publishing, consulting and newspaper. For related problems, see data conversion, data mining and systems integration, or return to the solutions overview.
Restrictions
Using TextPipe's unique Restrictions, you can control precisely which piece of text gets affected by a change, such as an UPPERCASE filter or a search/replace filter. Restrictions can be as simple as a line range or column range, a CSV field or other delimited field, or an XML element, attribute, or any combination of these.
EasyPattern Pattern Language
In addition to offering a standard Perl regex pattern matcher, TextPipe also provides the EasyPattern language - an English-like text pattern matching language that us mere mortals can understand without brain surgery!
e.g. to match phone numbers, use [3 digits, punctuation, 3 digits, punctuation, 4 digits].