Ignore:
Timestamp:
2004-01-28T14:37:50+13:00 (20 years ago)
Author:
jmt12
Message:

File associations are now stored in the user specific config. Also, to make everyones life a little easier, the config has a version number which if no match is found, causes the current config to be backed-up, and a new default config created.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/classes/xml/config.xml

    r6622 r6630  
    11<?xml version="1.0" encoding="UTF-8" ?>
    22<!DOCTYPE Configuration [
    3   <!ELEMENT Configuration  (GathererConfig, Other, DirectoryMappings)>
     3  <!ELEMENT Configuration  (GathererConfig, Other, DirectoryMappings, Associations)>
    44  <!ELEMENT GathererConfig (Argument*)>
    55  <!ELEMENT Argument       (#PCDATA)>
     
    2222            name              CDATA #REQUIRED
    2323        file              CDATA #REQUIRED>
     24  <!ELEMENT Associations (Entry*)>
     25  <!ELEMENT Entry (#PCDATA)>
     26  <!ATTLIST Entry
     27            extension CDATA #REQUIRED>
    2428]>
    2529
    26 <Configuration>
     30<Configuration version="2.4">
    2731  <GathererConfig>
    2832    <!-- ***** General Options: apply globally to the Gatherers execution. ***** -->
     
    131135  <Other/>
    132136  <DirectoryMappings/>
     137  <Associations>
     138    <Entry extension="doc"/>
     139    <Entry extension="gif"/>
     140    <Entry extension="htm"/>
     141    <Entry extension="html"/>
     142    <Entry extension="jpg"/>
     143    <Entry extension="jpeg"/>
     144    <Entry extension="pdf"/>
     145    <Entry extension="png"/>
     146    <Entry extension="ps"/>
     147    <Entry extension="rtf"/>
     148    <Entry extension="txt"/>
     149    <Entry extension="text"/>
     150  </Associations>
    133151</Configuration>
Note: See TracChangeset for help on using the changeset viewer.