Re: [Tracker] PATCH: adding manpage metadata extraction



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?

Should i be creating a bugzilla bug and attaching the patch as an
enhancement or is it appropriate to send patches to the list?  I don't
mean to press, just curious since I'm new to the list and I haven't
received any feedback.

-- 
                                      .~.
Michael Frank                         /v\
msfrank syntaxjockey com             // \\
                                    /(   )\
GPG Fingerprint:                     ^`-'^
2A44 DF32 91A5 ADA9 0E86 4F65 4051 870D 8B51 6EE0





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]