Re: [Tracker] PATCH: adding manpage metadata extraction
- From: jamie <jamiemcc blueyonder co uk>
- To: Michael Frank <msfrank syntaxjockey com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] PATCH: adding manpage metadata extraction
- Date: Sat, 30 Jun 2007 14:53:49 +0100
On Wed, 2007-03-14 at 15:09 -0700, Michael Frank wrote:
hi all-
I came up with this first pass at metadata-extraction for manpages.
Currently it adds the following keys:
Doc:Title - the manpage name, i.e. ls, cat
Doc:Subject - based on the formal descriptions of each section from the
man(1) page, i.e. "Executable Programs", "Library Calls". This part
needs i18n love.
Man:Section - this a custom key referring to the manpage section number
(1-9, plus wierd ones like 3ssl and 3pm). Is it legal/kosher to add my
own key like that?
Doc:Description - taken from the 'NAME' section of the manpage,
specifically the text after the '-'.
Running tracker-extract manually over various manpages seems to work.
However, trackerd doesn't seem to be picking up the files. Is there
something i need to do in trackerd for it to index files of type
text/troff?
this needs a bit more work
1) New metadata types need to be added as desktop files
2) text/troff needs to be registered as a document though I think having
a separate Help service might be better
I can look into doing this but its likely to be post 0.6
If you would like to work some mor eon this then let me know
thanks and sorry for the long delay in replying - just been so busy last
few months
jamie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]