added rcltext/python/purple
This commit is contained in:
parent
599100a208
commit
d531c8c361
@ -1,4 +1,4 @@
|
|||||||
# @(#$Id: fields,v 1.1 2008-09-08 16:49:10 dockes Exp $ (C) 2007 J.F.Dockes
|
# @(#$Id: fields,v 1.2 2008-09-15 08:03:37 dockes Exp $ (C) 2007 J.F.Dockes
|
||||||
# Field names configuration. This defines how one may search ie for
|
# Field names configuration. This defines how one may search ie for
|
||||||
# author:Hemingway
|
# author:Hemingway
|
||||||
# Important:
|
# Important:
|
||||||
@ -16,14 +16,16 @@
|
|||||||
[prefixes]
|
[prefixes]
|
||||||
|
|
||||||
# Native fields matching omega uses, which we index without an X first
|
# Native fields matching omega uses, which we index without an X first
|
||||||
# letter. Don't change these
|
# letter. Don't change these. Caption is used for 'title' to keep a last
|
||||||
title = S
|
# remnant of omega compatibility inside the data record
|
||||||
|
caption = S
|
||||||
author = A
|
author = A
|
||||||
keyword = K
|
keyword = K
|
||||||
|
|
||||||
# extension examples. This are actually used by default by Recoll:
|
# extension examples. This are actually used by default by Recoll:
|
||||||
ext = XE
|
ext = XE
|
||||||
filename = XSFN
|
filename = XSFN
|
||||||
|
recipient = XTO
|
||||||
|
|
||||||
############################
|
############################
|
||||||
# Some fields are stored in the document data record inside the index and
|
# Some fields are stored in the document data record inside the index and
|
||||||
@ -34,19 +36,30 @@ filename = XSFN
|
|||||||
# Some fields are stored by default, don't add them here, else they will be
|
# Some fields are stored by default, don't add them here, else they will be
|
||||||
# stored twice: title, keywords, abstract, filename, mimetype, url
|
# stored twice: title, keywords, abstract, filename, mimetype, url
|
||||||
# "author" used to be stored by default, now set here as optional
|
# "author" used to be stored by default, now set here as optional
|
||||||
|
# Only canonical names should be used here, not aliases.
|
||||||
[stored]
|
[stored]
|
||||||
stored = author
|
stored = author
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
# This section defines field names aliases or synonyms. Any right hand side
|
# This section defines field names aliases or synonyms. Any right hand side
|
||||||
# value will be turned into the lhs canonic name before further treatment
|
# value will be turned into the lhs canonic name before further treatment
|
||||||
|
# Left-hand values must match names in the prefixes section or
|
||||||
|
# data-record fields.
|
||||||
|
# Note to filter writers: only canonic names should be used when indexing.
|
||||||
[aliases]
|
[aliases]
|
||||||
title = caption subject
|
abstract = summary dc:summary description xesam:description
|
||||||
author = creator
|
author = creator dc:creator xesam:author xesam:creator
|
||||||
keyword = keywords tag tags
|
caption = title dc:title subject
|
||||||
dmtime = date contentmodified datemodified
|
# catg = dc:type contentCategory
|
||||||
mtype = type mimetype contenttype
|
dbytes = size xesam:size
|
||||||
ext = fileextension
|
dmtime = date dc:date dc:datemodified datemodified contentmodified \
|
||||||
|
xesam:contentmodified
|
||||||
|
ext = fileextension xesam:fileextension
|
||||||
|
# Don't add subject to keywords aliases, it's better to keep it for email
|
||||||
|
keywords = keyword xesam:keyword tag tags dc:subject xesam:subject
|
||||||
|
mtype = mime mimetype xesam:mimetype contenttype xesam:contenttype dc:format
|
||||||
|
recipient = to xesam:recipient
|
||||||
|
url = dc:identifier xesam:url
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# This section defines a hierarchy for field names. Searching for a lhs
|
# This section defines a hierarchy for field names. Searching for a lhs
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# @(#$Id: mimeconf,v 1.42 2008-09-12 11:35:48 dockes Exp $ (C) 2004 J.F.Dockes
|
# @(#$Id: mimeconf,v 1.43 2008-09-15 08:03:37 dockes Exp $ (C) 2004 J.F.Dockes
|
||||||
|
|
||||||
# Recoll : associations of mime types to processing filters.
|
# Recoll : associations of mime types to processing filters.
|
||||||
# There are different sections for decompression, 'interning' for indexing
|
# There are different sections for decompression, 'interning' for indexing
|
||||||
@ -78,6 +78,8 @@ text/x-gaim-log = exec rclgaim
|
|||||||
text/x-html-sidux-man = exec rclsiduxman
|
text/x-html-sidux-man = exec rclsiduxman
|
||||||
text/x-mail = internal
|
text/x-mail = internal
|
||||||
text/x-man = exec rclman
|
text/x-man = exec rclman
|
||||||
|
text/x-purple-log = exec rclpurple
|
||||||
|
text/x-python = exec rclpython
|
||||||
|
|
||||||
## #############################################
|
## #############################################
|
||||||
# Icons to be used in the result list if required by gui config
|
# Icons to be used in the result list if required by gui config
|
||||||
@ -132,6 +134,8 @@ text/x-c = source
|
|||||||
text/x-html-sidux-man = sidux-book
|
text/x-html-sidux-man = sidux-book
|
||||||
text/x-mail = message
|
text/x-mail = message
|
||||||
text/x-man = document
|
text/x-man = document
|
||||||
|
text/x-purple-log = pidgin
|
||||||
|
text/x-python = text-x-python
|
||||||
|
|
||||||
[categories]
|
[categories]
|
||||||
|
|
||||||
@ -156,7 +160,8 @@ text = \
|
|||||||
text/plain \
|
text/plain \
|
||||||
text/rtf \
|
text/rtf \
|
||||||
text/x-html-sidux-man \
|
text/x-html-sidux-man \
|
||||||
text/x-man
|
text/x-man \
|
||||||
|
text/x-python
|
||||||
|
|
||||||
spreadsheet = \
|
spreadsheet = \
|
||||||
application/vnd.ms-excel \
|
application/vnd.ms-excel \
|
||||||
@ -183,6 +188,7 @@ media = \
|
|||||||
message = message/rfc822 \
|
message = message/rfc822 \
|
||||||
text/x-gaim-log \
|
text/x-gaim-log \
|
||||||
text/x-mail \
|
text/x-mail \
|
||||||
|
text/x-purple-log \
|
||||||
|
|
||||||
other = application/vnd.sun.xml.draw \
|
other = application/vnd.sun.xml.draw \
|
||||||
application/vnd.sun.xml.draw.template \
|
application/vnd.sun.xml.draw.template \
|
||||||
|
|||||||
@ -1,16 +1,20 @@
|
|||||||
# @(#$Id: mimemap,v 1.31 2008-08-25 16:12:16 dockes Exp $ (C) 2004 J.F.Dockes
|
# @(#$Id: mimemap,v 1.32 2008-09-15 08:03:37 dockes Exp $ (C) 2004 J.F.Dockes
|
||||||
# Recoll: associations of file name extensions to mime types
|
# Recoll: associations of file name extensions to mime types
|
||||||
|
|
||||||
.txt = text/plain
|
.txt = text/plain
|
||||||
.text = text/plain
|
.text = text/plain
|
||||||
.d = text/plain
|
.d = text/plain
|
||||||
|
|
||||||
# Source files. Defining them as text/x-c will enable ext viewer. If
|
# Source files.
|
||||||
# text/plain they will be somewhat indexed
|
# Defining them with specific types allows using a specific ext viewer (in
|
||||||
|
# mimeview). You can in general use rcltext to wrap them in html for
|
||||||
|
# indexing the contents (and rough preview). You could also just set them
|
||||||
|
# as text/plain (index as text, use text viewer)
|
||||||
.cpp = text/x-c
|
.cpp = text/x-c
|
||||||
.h = text/x-c
|
.h = text/x-c
|
||||||
.c = text/x-c
|
.c = text/x-c
|
||||||
.cc = text/x-c
|
.cc = text/x-c
|
||||||
|
.py = text/x-python
|
||||||
|
|
||||||
.rtf = text/rtf
|
.rtf = text/rtf
|
||||||
|
|
||||||
@ -109,9 +113,11 @@ recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \
|
|||||||
.gif .bmp .xpm \
|
.gif .bmp .xpm \
|
||||||
,v ~ #
|
,v ~ #
|
||||||
|
|
||||||
# Special handling of .txt files inside ~/.gaim directory
|
# Special handling of .txt files inside ~/.gaim and ~/.purple directories
|
||||||
[~/.gaim]
|
[~/.gaim]
|
||||||
.txt = text/x-gaim-log
|
.txt = text/x-gaim-log
|
||||||
|
[~/.purple]
|
||||||
|
.txt = text/x-purple-log
|
||||||
|
|
||||||
# Special handling of sidux manual menu system
|
# Special handling of sidux manual menu system
|
||||||
[/usr/share/sidux-manual]
|
[/usr/share/sidux-manual]
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# @(#$Id: mimeview,v 1.15 2008-09-01 20:39:40 dockes Exp $ (C) 2004 J.F.Dockes
|
# @(#$Id: mimeview,v 1.16 2008-09-15 08:03:37 dockes Exp $ (C) 2004 J.F.Dockes
|
||||||
|
|
||||||
## ##########################################
|
## ##########################################
|
||||||
# External viewers, launched by the recoll GUI when you click on a result
|
# External viewers, launched by the recoll GUI when you click on a result
|
||||||
@ -59,3 +59,4 @@ text/plain = gnuclient -q %f
|
|||||||
text/x-c = gnuclient -q %f
|
text/x-c = gnuclient -q %f
|
||||||
text/x-html-sidux-man = konqueror %f
|
text/x-html-sidux-man = konqueror %f
|
||||||
#text/x-html-sidux-man = iceweasel %f
|
#text/x-html-sidux-man = iceweasel %f
|
||||||
|
text/x-python = idle %f
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user