Skip to content

The Eclectic Light Company

Macs & painting – 🦉 No AI content
Main navigation
  • Downloads
  • Freeware
  • M-series Macs
  • Mac Problems
  • Mac articles
  • Macs
  • Art
hoakley August 3, 2019 General, Language, Macs, Technology

Should you use document metadata?

We’re often advised to make best use of document metadata, those document-specific settings for author, title, keywords and so on which all the best apps offer. This article looks at how well it performs when created by different apps, in the two main types of Rich Text documents, single-file RTF and RTFD packages.

I used four different apps in my quest: TextEdit 1.14, as bundled with macOS Mojave 10.14.6, Apple’s Pages version 8.1, Microsoft Word 16.27 from the current release of Microsoft Office 365, and my favourite word processor Nisus Writer Pro version 3.0.2.

The first important observation is that only three of those four apps support document metadata: and it isn’t TextEdit which omits them, but Pages. It’s been a while since I last used Pages for any serious work, but this omission came as something of a shock. Currently, Pages can neither edit nor display document metadata such as Keywords or Comments, unless you know of a hidden mechanism which isn’t mentioned in its Help book.

For what many consider to be such a lightweight app, TextEdit does remarkably well, apart from its irritating implementation of the document metadata editor in a floating window which vanishes the moment you switch to another app. It’s accessed through the Show Properties command in the File menu, which is fairly obvious.

TextEdit embeds document metadata within RTF and RTFD documents, using a standard \info section, such as
{\info {\title Maxillofacial} {\doccomm Anathematically} {\keywords Presdidigitation}}
to set, respectively, the title, comments and keywords.

When you’ve added metadata to these sections, they’re usually shown in the Finder’s Get Info dialog, and should be found by Spotlight search too (but see my article yesterday about the confounding problems in indexing files). The time and extra effort you invest in adding good document metadata is repaid.

Microsoft Word wasn’t such a great success story, though. As might be expected, Word’s document metadata editor is easy to access through the Properties… command in the File menu, and bigger than most users could ever need, with no less than five tabs, including one which allows you to create your own custom fields such as Disposition.

I saved my example document in both Word’s native .docx and RTF formats, Word not being capable of RTFD, as I reported previously. The Finder was only able to show one metadata field (Keywords) for the .docx version in its Get Info dialog, and none appeared at all for the RTF version. Spotlight search issues required re-indexing before it would find any of the metadata, although it worked fine with those in the .docx version.

Microsoft Word’s RTF is extensive and rambling compared to that generated by other apps. The metadata are still embedded in the RTF data within an \info section much as in TextEdit’s RTF, but that was buried in all sorts of overhead.

Nisus Writer Pro’s implementation is the best of all those tested: a drop-down pane with just two tabs, the first providing standard fields, and the second allowing you to define your own custom properties. This is opened using the Properties… command in the File menu. As Nisus Writer Pro is one of the surprisingly few apps which offers full use of both RTF and RTFD formats, I tested both. But what happened next was unexpected: the Finder’s Get Info dialog was unable to see these document metadata, and Spotlight search struggled to find them too, because of the problem which I described previously.

In the RTF source generated by Nisus Writer Pro, the metadata appeared to be correctly written, again in an \info section essentially identical to that used by TextEdit and Word. TextEdit happily opened these documents and accessed their metadata as expected, but the Finder and Spotlight were less cooperative.

Stranger still are the differences in QuickLook thumbnails between what should be almost identical RTF and RTFD documents. In Dark Mode, QuickLook showed each of the RTF and RTFD documents in white text on a dark grey background, except the RTF written by Pages, whose thumbnail was displayed in black text on white.

If document metadata written into the body of Rich Text isn’t as reliable as you might want, an alternative is to write the same metadata to extended attributes (xattrs). I have a couple of free utilities, SearchKey and SearchKeyLite, which do exactly that, using xattrs which are preserved in transit through iCloud Drive. You can’t read or edit those xattrs in your Rich Text editor, and the Finder’s Get Info only shows one of them (Keywords again), but document metadata saved to xattrs appears the most reliable for Spotlight search.

The usefulness of document metadata is largely determined by its accessibility by Spotlight search. If that regularly misses files altogether, the extra effort required to add the metadata is wasted. When it works, though, it’s valuable.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print
Like Loading...

Related

Posted in General, Language, Macs, Technology and tagged metadata, Microsoft Word, Nisus Writer Pro, Pages, RTF, RTFD, SearchKeyLite, TextEdit, Word, xattr. Bookmark the permalink.

10Comments

Add yours
  1. 1
    Artiste212's avatar
    Artiste212 on August 3, 2019 at 3:05 pm

    What is the hidden mechanistm to enter or edit metadata in Pages?

    LikeLiked by 1 person

    • 2
      hoakley's avatar
      hoakley on August 3, 2019 at 3:18 pm

      I don’t know of any, apart from using extended attributes, which aren’t shown the app.
      Howard

      LikeLiked by 1 person

    • 3
      Markus's avatar
      Markus on August 7, 2019 at 11:36 am

      The trick is to use the right version of Pages.app! Use the one living in iWorks ’09 folder.
      Oh my, one more feature lost….

      LikeLiked by 2 people

      • 4
        hoakley's avatar
        hoakley on August 7, 2019 at 9:51 pm

        Thank you – I’d forgotten that it was there once. How strange to remove such an important feature.
        Howard.

        LikeLike

        • 5
          Markus's avatar
          Markus on August 10, 2019 at 2:15 pm

          Well, Howard, you write

          “I’d forgotten that it was there once. How strange to remove such an important feature.”

          Actually it was not removed but not implemented at all! After iWorks ’09 Apple in its infinite wisdom decided to completely create a new suite of programms that work across macOS, iOS and in the browser (not too bad an idea actually). The programms “happen” to inherit the existing names Pages.app, Keynote.app and Numbers.app. But, alas, besides the name (and their document’s file name extensions, which adds to the confusion) they share nothing with iWork ’09 versions. Still today after many years the new applications are not even close to the same level as their iWork ’09 counterparts. Pages alone still has about 100 (!) features missing, amongst them disjoint text selection (which is part of the macOS text system, mind you) and mail merge.

          And with the upcoming Catalina iWork ’09 will stop working as they are still 32 bit only – and Catalina will not support anything 32 bit anymore.

          So sad…*
          —markus—

          *quote borrowed without permission

          LikeLiked by 1 person

        • 6
          hoakley's avatar
          hoakley on August 10, 2019 at 2:38 pm

          Thanks for reminding me. I was never a heavy user of iWork, although more recently I have come to use Numbers rather than Excel. I also think that I removed iWork 09 quite a few years ago now.
          Howard.

          LikeLike

  2. 7
    rogparish's avatar
    rogparish on August 3, 2019 at 6:59 pm

    Pages allows you to create metadata when you EXPORT into an EPUB. Of limited use, I think.

    LikeLiked by 1 person

    • 8
      hoakley's avatar
      hoakley on August 3, 2019 at 7:01 pm

      Thanks. Yes, that’s useless for RTF/RTFD, and pales by comparison with humble TextEdit. It seems a curious oversight for an otherwise capable app.
      Howard.

      LikeLike

  3. 9
    Martin Wierschin's avatar
    Martin Wierschin on August 5, 2019 at 8:00 pm

    I just tested a few document properties like author and title in Nisus Writer Pro and they were displayed correctly in the Finder. Spotlight was also able to match these document properties during search.

    If there’s a problem with Nisus Writer here I’d like to get it fixed. Can you please verify the unexpected behavior, and if there’s still a problem perhaps send me your document? The menu Help > Send Feedback is a good method, but feel free to email me directly if you prefer. Thanks!

    LikeLiked by 1 person

    • 10
      hoakley's avatar
      hoakley on August 5, 2019 at 8:14 pm

      Thanks, Martin – Feedback sent just now.
      I have feeling that this is macOS not Nisus Writer Pro.
      Howard.

      LikeLike

·Comments are closed.

Quick Links

  • Free Software Menu
  • System Updates
  • M-series Macs
  • Mac Troubleshooting Summary
  • Mac problem-solving
  • Painting topics
  • Painting
  • Long Reads

Search

Monthly archives

  • December 2025 (46)
  • November 2025 (74)
  • October 2025 (75)
  • September 2025 (78)
  • August 2025 (76)
  • July 2025 (77)
  • June 2025 (74)
  • May 2025 (76)
  • April 2025 (73)
  • March 2025 (78)
  • February 2025 (67)
  • January 2025 (75)
  • December 2024 (74)
  • November 2024 (73)
  • October 2024 (78)
  • September 2024 (77)
  • August 2024 (75)
  • July 2024 (77)
  • June 2024 (71)
  • May 2024 (79)
  • April 2024 (75)
  • March 2024 (81)
  • February 2024 (72)
  • January 2024 (78)
  • December 2023 (79)
  • November 2023 (74)
  • October 2023 (77)
  • September 2023 (77)
  • August 2023 (72)
  • July 2023 (79)
  • June 2023 (73)
  • May 2023 (79)
  • April 2023 (73)
  • March 2023 (76)
  • February 2023 (68)
  • January 2023 (74)
  • December 2022 (74)
  • November 2022 (72)
  • October 2022 (76)
  • September 2022 (72)
  • August 2022 (75)
  • July 2022 (76)
  • June 2022 (73)
  • May 2022 (76)
  • April 2022 (71)
  • March 2022 (77)
  • February 2022 (68)
  • January 2022 (77)
  • December 2021 (75)
  • November 2021 (72)
  • October 2021 (75)
  • September 2021 (76)
  • August 2021 (75)
  • July 2021 (75)
  • June 2021 (71)
  • May 2021 (80)
  • April 2021 (79)
  • March 2021 (77)
  • February 2021 (75)
  • January 2021 (75)
  • December 2020 (77)
  • November 2020 (84)
  • October 2020 (81)
  • September 2020 (79)
  • August 2020 (103)
  • July 2020 (81)
  • June 2020 (78)
  • May 2020 (78)
  • April 2020 (81)
  • March 2020 (86)
  • February 2020 (77)
  • January 2020 (86)
  • December 2019 (82)
  • November 2019 (74)
  • October 2019 (89)
  • September 2019 (80)
  • August 2019 (91)
  • July 2019 (95)
  • June 2019 (88)
  • May 2019 (91)
  • April 2019 (79)
  • March 2019 (78)
  • February 2019 (71)
  • January 2019 (69)
  • December 2018 (79)
  • November 2018 (71)
  • October 2018 (78)
  • September 2018 (76)
  • August 2018 (78)
  • July 2018 (76)
  • June 2018 (77)
  • May 2018 (71)
  • April 2018 (67)
  • March 2018 (73)
  • February 2018 (67)
  • January 2018 (83)
  • December 2017 (94)
  • November 2017 (73)
  • October 2017 (86)
  • September 2017 (92)
  • August 2017 (69)
  • July 2017 (81)
  • June 2017 (76)
  • May 2017 (90)
  • April 2017 (76)
  • March 2017 (79)
  • February 2017 (65)
  • January 2017 (76)
  • December 2016 (75)
  • November 2016 (68)
  • October 2016 (76)
  • September 2016 (78)
  • August 2016 (70)
  • July 2016 (74)
  • June 2016 (66)
  • May 2016 (71)
  • April 2016 (67)
  • March 2016 (71)
  • February 2016 (68)
  • January 2016 (90)
  • December 2015 (96)
  • November 2015 (103)
  • October 2015 (119)
  • September 2015 (115)
  • August 2015 (117)
  • July 2015 (117)
  • June 2015 (105)
  • May 2015 (111)
  • April 2015 (119)
  • March 2015 (69)
  • February 2015 (54)
  • January 2015 (39)

Tags

APFS Apple Apple silicon backup Big Sur Blake Bonnard bug Catalina Consolation Console Corinth Delacroix Disk Utility Doré El Capitan extended attributes Finder firmware Gatekeeper Gérôme High Sierra history of painting iCloud Impressionism landscape LockRattler log M1 Mac Mac history macOS macOS 10.12 macOS 10.13 macOS 10.14 macOS 10.15 macOS 11 macOS 12 macOS 13 macOS 14 macOS 15 malware Metamorphoses Mojave Monet Monterey Moreau myth narrative OS X Ovid painting performance Pissarro Poussin privacy Renoir riddle Rubens Sargent security Sierra SilentKnight Sonoma SSD Swift Time Machine Tintoretto Turner update upgrade Ventura xattr Xcode XProtect

Statistics

  • 20,878,924 hits
Blog at WordPress.com.
Footer navigation
  • Free Software Menu
  • About & Contact
  • Macs
  • Painting
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • SilentKnight, Skint, SystHist, silnite, LockRattler & Scrub
  • DelightEd & Podofyllin
  • xattred, SpotTest, Spotcord, Metamer & xattr tools
  • 32-bitCheck & ArchiChect
  • XProCheck, T2M2, LogUI, Ulbow, blowhole and log utilities
  • Cirrus & Bailiff
  • Precize, Alifix, UTIutility, Sparsity, alisma, Taccy, Signet
  • Versatility & Revisionist
  • Text Utilities: Textovert, Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • Updates
  • Spundle, Cormorant, Stibium, DropSum, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • M-series Macs
  • Mints: a multifunction utility
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • System Updates
  • Saturday Mac Riddles
  • Last Week on My Mac
  • sysctl information
Secondary navigation
  • Search

Post navigation

Mojave 10.14.6 Supplemental Update does bring some EFI updates
Saturday Mac riddles 6

Begin typing your search above and press return to search. Press Esc to cancel.

  • Reblog
  • Subscribe Subscribed
    • The Eclectic Light Company
    • Join 8,876 other subscribers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d