← Back to team overview

zeitgeist team mailing list archive

[Bug 899602] [NEW] Automatically determine interpretation from mime-type when it's empty

 

Public bug reported:

Several of our client APIs (python-zeitgeist and libzeitgeist) currently
support guessing the subject interpretation from the mime-type.

I think it'd make sense to move this directly into the engine. So, if a
subject is inserted with an empty interpretation (which seems to be
allowed currently), we'll try to determine it from the mime-type.

This will avoid duplicating the mime-type mappings in different
bindings. It'll be even more useful for clients using the D-Bus API
directly (such as GTK+).

** Affects: zeitgeist
     Importance: Undecided
     Assignee: Siegfried Gevatter (rainct)
         Status: New

** Changed in: zeitgeist
    Milestone: None => 0.9.1

** Changed in: zeitgeist
     Assignee: (unassigned) => Siegfried Gevatter (rainct)

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/899602

Title:
  Automatically determine interpretation from mime-type when it's empty

Status in Zeitgeist Framework:
  New

Bug description:
  Several of our client APIs (python-zeitgeist and libzeitgeist)
  currently support guessing the subject interpretation from the mime-
  type.

  I think it'd make sense to move this directly into the engine. So, if
  a subject is inserted with an empty interpretation (which seems to be
  allowed currently), we'll try to determine it from the mime-type.

  This will avoid duplicating the mime-type mappings in different
  bindings. It'll be even more useful for clients using the D-Bus API
  directly (such as GTK+).

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/899602/+subscriptions


Follow ups

References