Project

General

Profile

« Previous | Next » 

Revision 2924

Added by Matt Jones about 18 years ago

Initial support for displaying FGDC metadata documents in metacat.
Added new returndoctype and returnfields to all query forms in the knp
skin to allow FGDC documents to display in the resultsets. Need to add
these to the other skins as well, and to clean up the FGDC stylesheet to
be more stylistically consistent with the EML stylesheets.

View differences:

DocumentIdQuery.java
85 85
        operator[0] = "UNION";
86 86
        params.put("operator", operator);
87 87
        
88
        String[] doctypes = new String[4];
88
        String[] doctypes = new String[5];
89 89
        doctypes[0] = "eml://ecoinformatics.org/eml-2.0.1";
90 90
        doctypes[1] = "eml://ecoinformatics.org/eml-2.0.0";
91 91
        doctypes[2] = "-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN";
92 92
        doctypes[3] = "-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN";
93
        doctypes[4] = "metadata";
93 94
        params.put("returndoctype", doctypes);
94 95
        
95
        String[] fields = new String[8];
96
        String[] fields = new String[11];
96 97
        fields[0]="originator/individualName/surName";
97 98
        fields[1]="originator/individualName/givenName";
98 99
        fields[2]="creator/individualName/surName";
......
101 102
        fields[5]="creator/organizationName";
102 103
        fields[6]="dataset/title";
103 104
        fields[7]="keyword";
105
        fields[8]="idinfo/citation/citeinfo/title";
106
        fields[9]="idinfo/citation/citeinfo/origin";
107
        fields[10]="idinfo/keywords/theme/themekey";
104 108
        params.put("returnfield", fields);
105 109
        
106 110
        return params;

Also available in: Unified diff