A search interface for data from the Politics of Patents case study (part of Copim WP6): this parses data from the archive of RTF files and provides additional data from the European Patent Office API. https://patents.copim.ac.uk
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

facets.vm 817B

123456789101112131415161718192021222324
  1. #if($response.facetFields.size() > 0)
  2. #foreach($field in $response.facetFields)
  3. #if($field.values.size() > 0)
  4. #if($engine.resourceExists("facet_${field.name}.vm"))
  5. #parse("facet_${field.name}.vm")
  6. #else
  7. <div id="facet_$field.name" class="facet_field">
  8. <span class="facet-field">#label("facet.${field.name}",$field.name)</span><br/>
  9. <ul>
  10. #foreach($facet in $field.values)
  11. <li><a href="#url_for_facet_filter($field.name, $facet.name)">#if($facet.name!=$null)#label("${field.name}.${facet.name}","${field.name}.${facet.name}")#else<em>missing</em>#end</a> ($facet.count)</li>
  12. #end
  13. </ul>
  14. </div>
  15. #end
  16. #end
  17. #end ## end if field.values > 0
  18. #end ## end if facetFields > 0