Supported by EU projects 12/12/2013 Athens, Greece Open Data in Agriculture Hands-on with data infrastructures that can power your agricultural data products.

Slides:



Advertisements
Similar presentations
Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
Advertisements

One acronym, one system: using the EMu API to connect your Collections Management System with your Content Management System 2009 European EMu Users Meeting,
EasySearch Technical Overview. Ever seen a website without a full text search? BUT – Search is expensive Financially Computationally – Search is complicated.
Customizing the SharePoint 2013 UI with JavaScript.
Help the users find what they need using the Search Speaker: Frédérique Harmsze 15 th November 2014 Host: Matthew Hughes.
JIRA – An Introduction -Arpit Jindal
Project Title: Deepin Search Member: Wenxu Li & Ziming Zhai CSCI 572 Project.
ExtJS 4.0 JavaScript MVC Framework. Who ExtJS is provided by Sencha ( o Sencha Touch o GWT o CSS Animator o IO (Cloud Data Management)
Microsoft ® Official Course Interacting with the Search Service Microsoft SharePoint 2013 SharePoint Practice.
1 Agenda Overview Review Roles Lists Libraries Columns.
Federated Searching Pre-Conference Workshop - The federated searching cookbook Qin Zhu HP Labs Research Library February 18, 2007.
Simple Web SQLite Manager/Form/Report
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
Web Development Methodologies Yuan Wang(yw2326). Basic Concepts Browser/Server (B/S) Structure Keywords: Browser, Server Examples: Websites Client/Server.
Presented by…. Group 2 1. Programming language 2Introduction.
Open Solutions for a Changing World™ Copyright 2005, Data Access WordwideElectos June 6-9, 2005 Key Biscayne, Florida Data Access Europe BV Eddy Kleinjan,
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Server-side Scripting Powering the webs favourite services.
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
Building Search Portals With SP2013 Search. 2 SharePoint 2013 Search  Introduction  Changes in the Architecture  Result Sources  Query Rules/Result.
DSpace UI Alexey Maslov. DSpace in general A digital library tool useful for storage, maintenance, and retrieval of digital documents Two types of interaction:
Mid Morning Discussion Introduction to the IBIS-Q Front-End System ("Module" Emphasis) What is the front end Where does the front end fit in What is a.
HTML CSS JAVASCRIPT. HTML - Stands for Hyper Text Markup Language HTML is a ‘language’ that describes web pages. This language is a collection of codes.
University of North Texas Libraries Building Search Systems for Digital Library Collections Mark E. Phillips Texas Conference on Digital Libraries May.
What is RSS? And how do I use it to make my life easier.
Enabling High-Quality Printing in Web Applications
HTML Internet Basics & Beyond. What The Heck Is HTML? HTML is the language of web pages. In order to truly understand HTML, you need to know a little.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Introduction to web development and HTML MGMT 230 LAB.
flickr Open API & Mashup HOWTO Yahoo! Korea, Jinho Jung
Review of last Session Learning Objectives 1. Create an on-line account with weebly.com along with a blank website 2. What a domain names are & how to.
AMD and RequireJS Splitting JavaScript Code into Dependent Modules Software University Technical Trainers SoftUni Team.
Introduction to Views Stanford Drupal Camp April 6, 2013.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 2.
Looking at various Rich Message options in KRAD Kuali University: Apply Now Lab : Rich Messages Lab Objectives Understand what Rich Messages are and how.
WStore Programmer Guide Offering management integration.
Miguel Lara, PhD. 1:10 – 1:15 Pre-test 1:15 – 1:30 Course overview 1:30 – 2:00 Setting up DW Site 2:00 – 2:05 > 2:05 – 2:55 Hands-on Lecture 2:55 – 3:00.
Looking at various Rich Message options in KRAD Kuali University: Apply Now Lab : Rich Messages Lab Objectives Understand what Rich Messages are and how.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Links in HTML What you need to know….. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another.
Welcome to the Minnesota SharePoint User Group February 13 th, 2013 SharePoint 2013 – Developers Track - Client Side Rendering.
Nikos Manolis Agro-Know Technologies Tutorial on data aggregation and accessing datasets.
 Packages:  Scrapy, Beautiful Soup  Scrapy  Website  
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
GBIF Governing Board 20 Module 6B: New GBIF Tools II 2013 Portal and NPT Startup Daniel Amariles IT Leader, National Biodiversity Information System of.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
HTML LAYOUTS. CONTENTS Layouts Example Layout Using Element Example Using Table Example Output Summary Exercise.
Making the Most of Search in SharePoint 2013 Christina Wheeler.
Web Basics: HTML/CSS/JavaScript What are they?
Web Technologies Computing Science Thompson Rivers University
Angular JS Training | Angular JS online Training at GoLogica
Building Search Systems for Digital Library Collections
The Re3gistry software and the INSPIRE Registry
Basic HTML and Embed Codes
Project Management in SharePoint
Project Management in SharePoint
Unit 4 Test CSS Test.
Getting Started With Solr
Building production-ready APIs with ASP.NET Core 2.2
Client-Server Model: Requesting a Web Page
Programmatic interaction with the Invenio-based NADRE Repository
Lab 2: Information Retrieval
Programmatic interaction with the Invenio-based NADRE Repository
Advanced hands-on on programmatic access to an Open Access Repository
Murach's JavaScript and jQuery (3rd Ed.)
Presentation transcript:

Supported by EU projects 12/12/2013 Athens, Greece Open Data in Agriculture Hands-on with data infrastructures that can power your agricultural data products

Mathioudakis Theodore Agro-Know Technologies How to use the search-API at the front-end

Contents ๏ The search-API ๏ Useful calls for search-API ๏ The response ๏ Tutorial on how to build finder over the search- API 3

Contents ๏ The search-API ๏ Useful calls for search-API ๏ The response ๏ Tutorial on how to build finder over the search- API 4

search-api

Requests The base URL of the API is: Resource Types When you formulate a REST query, you have to decide which resource type you want. AKIF or AGRIF 6

search-api akif The akif type is a data model to represent educational resources related to agriculture and biodiversity. The RESTful URL to request data from the akif resource begins: agrif The agrif type is a data model to represent bibliographic references on agricultural research and technology. The RESTful URL to request data from the agrif resource begins: 7

Contents ๏ The search-API ๏ Useful calls for search-API ๏ The response ๏ Tutorial : how to build finder over the search-API 8

1. Simple search /v1/akif ?q=fossil ( items with fossil anywhere in any field) /v1/akif ?q=* (all items) 2. Search within specific field /v1/akif?languageBlock.en.description=fossil (all items that has fossil in description ) 9 useful calls for search-api

2. Search within specific field (cont’) …/akif? languageBlock.en.description=fossil&language=en (all items that has element fossil in description and language = en) 3. Faceted Search (Facets tell you the most common values for certain fields in a collection of items) …/akif ?facets=set,language (We define “set” and “language” as facets) 10 useful calls for search-api

4. Other calls Pagination Page Size Sorting Results Limit facets Combine all the previous :) Fetching specific items Full documentation: 11 useful calls for search-api

Contents ๏ The search-API ๏ Useful calls for search-API ๏ The response ๏ Tutorial on how to build finder over the search- API 12

let’s say we make the following request../akif?q=dove&facets=set&set=oeorganiceprints &page_size=10&page=1 13 the response

14 the response Response : { "total" : 1, "time" : 5, "page" : 1, "pageSize" : 10, "sortOrder" : "asc", "facets" : { "set" : { "_type" : "terms", "missing" : 0, "total" : 1, "other" : 0, "terms" : [ { "term" : "oeorganiceprints", "count" : 1 } ] } }, "results" : [ { "creationDate" : " ", "lastUpdateDate" : "2

Contents ๏ The search-API ๏ Useful calls for search-API ๏ The response ๏ Tutorial : how to build a finder over the search-API 15

Choice 1: Use javascript(ajax) to call the API. Create a UI to show the json response. 16 tutorial : how to build a finder over search-api

Choice 2: Use our code to easily implement a simple finder on your server. Follows the tutorial 17 tutorial : how to build a finder over search-api

18 What are we going to create? tutorial : how to build a finder over search-api

19 Step 1 Download the source code from github tutorial : how to build a finder over search-api

20 tutorial : how to build a finder over search-api Step 2 Understand the structure MVC model using Angular JS /app/controllers : contains the controllers /assets : contains images e.t.c /config : contains configuration and mapping files /css : contains the css(.less) files /finder : contains the html files for search page and view item page

21 tutorial : how to build a finder over search-api Step 2 (cont) Understand the structure *advanced Magic happens in controllers files and conf.json file. …/controllers/search : controllers for search page …/controllers/view_item : controllers for view_item

22 tutorial : how to build a finder over search-api Step 2 (cont) Understand the structure *for the rest of us Magic happens in /config/conf.json file :)

23 tutorial : how to build a finder over search-api Step 3 The conf.json file "baseUrl": " "enableFacets": true, "enablePaginationBottom": false, "enablePaginationTop": false, "facets": ["set","language"], "limitPagination": 10, "limit_facets": { "set":["oeintute","aglrgfsp"] },

24 tutorial : how to build a finder over search-api Step 3(cont) The conf.json file "limit_facets_number": 4, "mappings_file": "../config/facets_mappings.json", "maxTextLength": 300, "pageSize": 20, "selectedLanguage": "en", "snippetElements": [“title", “description", "languageBlocks.en.keywords"]

25 tutorial : how to build a finder over search-api Step 4 Configure the finder : configuration + UI

26 tutorial : how to build a finder over search-api Step 4 Configure the finder : configuration + UI

27 tutorial : how to build a finder over search-api Step 5 Match it with your style :)

28 tutorial : how to build a finder over search-api Step 5 Match it with your style :) All you need to do is to change the colours in the css(.less) file and find the combination you like. Of course you are all free to create and change the code in any way you like.

Thank you! Mathioudakis Theodore Agro-Know Technologies