Metadata-view

From WebLab Wiki
(Redirected from WebLab Metaview)
Jump to: navigation, search
WebLab Metaview

metaview.png

Details
Exchange model: WebLab 1.2.2
Versions: 1.1-SNAPSHOT
Licence LGPL 2.1
Binary weblab-metaview-1.1-SNAPSHOT.war
Sources weblab-metaview-1.1-SNAPSHOT-sources.jar
Javadoc weblab-metaview-1.1-SNAPSHOT-javadoc.jar
SVN metadata-portlet
Maven Artifact

<groupId>org.ow2.weblab.portlets</groupId>

<artifactId>weblab-metaview</artifactId>

<version>1.1-SNAPSHOT</version>
Feature and bug fix requests


WebLab Metaview is a portlet that displays WebLab resources metadata.

Configuration

Metadata to display are defined in conf_meta.xml, it defines two map:

  1. each property to display is associated with an id. For example hasNativeContent is the id for the property: http://weblab.ow2.org/core/1.2/ontology/processing#hasNativeContent
  2. each id can be enabled or disabled in the other map.

To adapt display for a given language, you must create a meta_portlet_XX.properties (where XX is the ISO code of the given language) file that contains a translation of terms from meta_portlet_en.properties.

Needed Services

This portlet needs to access a repository (ResourceContainer) to access metadata.


Screenshots

Main graphical interface with 3 properties (Dublin Core source, Dublin Core format and Dublin Core language):

metaview.png


Events

Processed Events

The following portlet events can be processed by this portlet:

			<qname xmlns:result="http://weblab.ow2.org/events/result">result:selectDocument</qname>
			<qname xmlns:result="http://weblab.ow2.org/events/result">result:selectNotLoadedDocument</qname>
			<qname xmlns:result="http://weblab.ow2.org/events/result">result:selectNotLoadedImage</qname>
			<qname xmlns:time="http://weblab.ow2.org/events/time">time:selectDocument</qname>
			<qname xmlns:time="http://weblab.ow2.org/events/time">time:selectNotLoadedDocument</qname>
			<qname xmlns:geo="http://weblab.ow2.org/events/geo">geo:selectDocument</qname>
			<qname xmlns:geo="http://weblab.ow2.org/events/geo">geo:selectNotLoadedDocument</qname>
			<qname xmlns:basket="http://weblab.ow2.org/events/basket">basket:selectDocument</qname>
			<qname xmlns:basket="http://weblab.ow2.org/events/basket">basket:selectNotLoadedDocument</qname>
			<qname xmlns:basket="http://weblab.ow2.org/events/basket">basket:selectImage</qname>
			<qname xmlns:basket="http://weblab.ow2.org/events/basket">basket:selectNotLoadedImage</qname>

Published Events

The following portlet events can be send by this portlet: none.

Dependencies

org.ow2.weblab.portlets:weblab-metaview:war:1.1-SNAPSHOT
+- org.ow2.weblab.core.helpers:rdf-helper-jena:jar:1.3.2:compile
|  +- org.ow2.weblab.core:annotator:jar:1.2.4:compile
|  \- com.hp.hpl.jena:jena:jar:2.6.4:compile
|     +- com.hp.hpl.jena:iri:jar:0.8:compile
|     +- com.ibm.icu:icu4j:jar:3.4.4:compile
|     +- xerces:xercesImpl:jar:2.7.1:compile
|     +- org.slf4j:slf4j-api:jar:1.5.8:compile
|     +- org.slf4j:slf4j-log4j12:jar:1.5.8:runtime
|     \- log4j:log4j:jar:1.2.13:runtime
+- org.ow2.weblab.core.helpers:rdf-helper-jena-selection:jar:1.5.3:compile
|  \- joda-time:joda-time:jar:1.6.2:compile
+- xalan:xalan:jar:2.7.1:compile
|  \- xalan:serializer:jar:2.7.1:compile
|     \- xml-apis:xml-apis:jar:1.3.04:compile
+- org.ow2.weblab.core.helpers:bean-helper-spring:jar:1.3.2:compile
|  +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
|  \- org.springframework:spring-core:jar:3.0.5.RELEASE:compile
|     \- org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
+- commons-logging:commons-logging:jar:1.1.1:provided (scope not updated to compile)
+- org.ow2.weblab.portlets:weblab-portlet:jar:1.2.2:provided
+- org.ow2.weblab.core:model:jar:1.2.2:provided (scope not updated to compile)
+- org.ow2.weblab.core:extended:jar:1.2.2:provided (scope not updated to compile)
+- javax.portlet:portlet-api:jar:2.0:provided
+- javax.servlet:servlet-api:jar:2.4:provided
+- javax.servlet:jstl:jar:1.1.2:provided
+- taglibs:standard:jar:1.1.2:provided
\- junit:junit:jar:4.8.2:test