Project

General

Profile

« Previous | Next » 

Revision 58175

Added result type column in CSV

View differences:

modules/uoa-search/trunk/src/main/java/eu/dnetlib/data/search/web/api/CSVResponseFormat.java
12 12
    public static final String datasource = "Name,Type,Compatibility,OAI-PMH,website\n";
13 13
    public static final String person = "Fullname\n";
14 14
    public static final String project = "Title,Funder,Start Date,End Date,Participants\n";
15
    public static final String result = "Title,Authors,Publication Year,DOI,Funder|Project Name (GA Number),Access\n";
15
    public static final String result = "Type,Title,Authors,Publication Year,DOI,Funder|Project Name (GA Number),Access\n";
16 16

  
17 17
    //TODO SPECIAL
18
    public static final String result_special = "Title,Authors,Publication Year,DOI,Download from,Type,Journal,Funder,Project Name (GA Number),Access\n";
18
    public static final String result_special = "Type,Title,Authors,Publication Year,DOI,Download from,Type,Journal,Funder,Project Name (GA Number),Access\n";
19 19

  
20 20
    private static Logger logger = Logger.getLogger(CSVResponseFormat.class);
21 21

  
modules/uoa-search/trunk/src/main/resources/csv_result_special.xsl
20 20
        <xsl:value-of select="replace(., '[&#x007F;-&#x009F;]', ' ')"/>
21 21
    </xsl:template>
22 22

  
23
    <!-- Title, Authors, Publication Year, DOI, Download from, Publication Type, Journal, Funder, Project Name (GA Number), Access -->
23
    <!-- Type, Title, Authors, Publication Year, DOI, Download from, Publication Type, Journal, Funder, Project Name (GA Number), Access -->
24 24

  
25 25
    <xsl:template match="oaf:result">
26 26
        <xsl:for-each select="rels/rel/to[@class='isProducedBy']">

Also available in: Unified diff