Changeset 4802 for FederatedSearch


Ignore:
Timestamp:
03/21/14 10:07:32 (10 years ago)
Author:
Oliver Schonefeld
Message:
  • add another custom extension example
File:
1 edited

Legend:

Unmodified
Added
Removed
  • FederatedSearch/examples/Example-Resource-with-Custom-Extension.xml

    r4677 r4802  
    2828   
    2929    <!--
    30         NOTE: this is purly fictional and only serves to demonstrate how
     30        NOTE: this is purely fictional and only serves to demonstrate how
    3131              to add custom extensions to the result representation
    3232              within CLARIN-FCS.
     33    -->
    3334
    34         A hypothetical Endpoint extension for navigation in a result set:
    35         it basically provdes a set of hrefs, that a GUI can convert into
     35    <!--
     36        Example 1: a hypothetical Endpoint extension for navigation in a result
     37        set: it basically provides a set of hrefs, that a GUI can convert into
    3638        navigation buttions.   
    3739    -->
     
    4143        <nav:next href="http://repos.example.org/resultset/4711/4612" />
    4244    </nav:navigation>
     45   
     46    <!--
     47       Example 2: a hypothetical Endpoint extension for directly referencing parent
     48       resources: it basically provides a link to the parent resource, that can be
     49       exploited by an GUI (e.g. build on XSLT/XQuery).
     50    -->
     51    <parent:Parent xmlns:parent="http://repos.example.org/parent"
     52                   ref="http://repos.example.org/path/to/parent/1235.cmdi" />
    4353</Resource>
Note: See TracChangeset for help on using the changeset viewer.