Re: Filter writing becomes even easier



Hi all,

D Bera wrote:
Writing beagle filters became even easier. Joe checked in FilterExternal with which the output of any program can be indexed. (As of now only text output can be indexed, metadata/properties can not be indexed).
...
this). Isnt it cool ?

It is really cool and I've just tried this, but still failed ...

1. I compiled a CVS snapshot this early morning. Filters.dll contains
"FilterExternal".

2. I added an external-filters.xml to /usr/local/etc/beagle:

---------------
<?xml version="1.0" encoding="utf-8"?>

<external-filters>
<filter>
  <mimetype>text/x-tex</mimetype>
  <extension>.tex</extension>
  <command>untex</command>
  <arguments>-giso %s</arguments>
</filter>
</external-filters>
--------------

3. I tested with beagle-extract-content:

[mahes]/home/steve/notes/Letters/ggg/letter.20060220: beagle-extract-content
--debug brief.tex
Filename: file:///home/steve/notes/Letters/ggg/letter.20060220/brief.tex
Debug: Loaded 39 filters from /usr/local/lib/beagle/Filters/Filters.dll
Debug: No filter for /home/steve/notes/Letters/ggg/letter.20060220/brief.tex
(text/x-tex)
No filter for text/x-tex

No success. Hmm, any idea how to track this down ?

Thanks & kind regards,
   Stephan.







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