Re: design question -- localized metadata?

From: Paul Rohr (paul@abisource.com)
Date: Tue May 14 2002 - 14:55:50 EDT

  • Next message: Paul Rohr: "Re: design question -- localized metadata?"

    At 02:17 PM 5/14/02 -0400, Dom Lachowicz wrote:
    >On Tue, 2002-05-14 at 14:11, Karl Ove Hufthammer wrote:
    >> No, it's actually not. 'Subject' == 'Keywords'!
    >> <URL: http://dublincore.org/documents/dces/ >:
    >
    >Actually, I was addressing the fact that I really *disliked* their
    >globbing of Subject+Keywords into the same tag.

    Yep. That's easily fixed, though.

      #define PD_META_KEY_KEYWORDS "DC.subject"
      #define PD_META_KEY_SUBJECT "subject"

    And then over in xap_String_ID.h:

      dcl(META_KEY_KEYWORDS, "Keywords")
      dcl(META_KEY_SUBJECT, "Subject")

    The UI matches the usual expectations, and under the hood we still play
    nicely with the DC purists.

    Voila! A trivial hack that Just Works for everyone! :-)

    >Title: "AbiWord's History - the Story of an Ant Named Abi"
    >Subject: "A Brief History Of AbiWord"
    >Keywords: "AbiWord Word Processor History Release SourceGear Ant Sink
    >Rohr Sevior Lachowicz Figuiere GPL"

    Great example, but Jeff's gonna give me some *very* well-deserved grief if I
    don't make sure everyone remembers to include "Hostetler" in examples like
    that.

    :-)

    Paul
    motto -- I love libraries, but I'll never be a librarian



    This archive was generated by hypermail 2.1.4 : Tue May 14 2002 - 14:58:02 EDT