Integrate with a Content Management System
Pages 202
- Home
- 2009 Esri Federal UC
- 2009 Esri International UC
- 2010 Esri Federal UC
- 2010 Esri International UC
- 2011 Esri Federal UC
- 2012 Esri Federal UC
- 2013 Esri Federal GIS Conference
- 2013 Esri International User Conference
- 2015 SDI Special Interest Group
- Add a Custom Profile
- Add an OpenSearch endpoint for Federated Search
- Add Another Tab to the Geoportal Interface
- Add Custom Link to a Search Result
- Add Custom Search Criteria
- Add the Geoportal Search to a List of Search Providers
- Add v1.1.1 FGDC editor to a previous Geoportal release
- AGP TO AGP Harvesting with the Geoportal
- AGS TO AGP Harvesting with the Geoportal
- All gpt.xml file settings
- An Introduction to vi
- Apache Tomcat geoportal logging
- Being a Good Robot
- Best Practice for Edits to JSP files
- Biological or Remote Sensing FGDC xsds
- Browse Tree
- Cart Processor
- Catalog Service
- Clear the Tomcat Work Folder
- Collections
- Common problems and solutions
- Communities and live examples
- Components
- Configure a Directory Server for the Geoportal
- Configure geoportal User and Schema in the PostgreSQL Database
- Configure Previewable Filetypes
- Configure Searching of YouTube
- Configure the gpt.xml File
- Configure Widgets
- Connecting to a User Directory
- Create a user account
- Create Relationships between Resources
- Customizations
- Customize DCAT output
- Customize Metadata Validation
- Database problems
- Database Tables
- DataDownload Tab
- Deploy and Configure the Geoportal Web Application in Tomcat
- Deploy and Configure the Servlet Web Application
- Deploy the Geoportal Web Application
- Details of Lucene Indexing in the Geoportal
- Development topics
- Discovering Resources
- Eclipse Project from Compiled WAR
- Eclipse Project from Source Code
- Enable Search Using an Ontology Service
- Error Messages in the Geoportal Web Application
- Esri Geoportal Server LiveDVD
- Extending the Web Harvester
- Federated Search in Portal for ArcGIS
- Feedback
- FGDC Biological Profile and Remote Sensing Extension
- FGDC Service Checker Integration
- Geoportal Clients for ArcGIS
- Geoportal CSW Clients
- Geoportal Facets using Apache Solr
- Geoportal genie
- Geoportal Project from Compiled WAR
- Geoportal Publish Client
- Geoportal Server 1.2.5 What's New
- Geoportal Server 1.2.6 What's New
- Geoportal Server 1.2.7 What's New
- Geoportal server as a broker
- Geoportal Server Downloads
- Geoportal Server v 1.0 What's New
- Geoportal Server v 1.1 What's New
- Geoportal Server v 1.1.1 What's New
- Geoportal Server v 1.2 What's New
- Geoportal Server v 1.2.2 What's New
- Geoportal Server v 1.2.4 What's New
- Geoportal SPARQL Sample
- Geoportal User Interface Components
- Geoportal Web Application File Organization
- Geoportal XML Editor
- Get Assistance with an Implementation
- GXE Concepts
- GXE Crash Course
- GXE Structure
- GXE Workflow
- High Availability and Large Number of Records
- How to Browse for Resources
- How to Create and Manage My Profile
- How to find all documents of a particular metadata standard
- How to Leave a Resource Review
- How to Login and Manage my Password
- How to Manage and Edit Resources
- How to Publish Resources
- How to Restrict Access to Resources
- How to Search for Resources
- How to Search with an Ontology Service
- How to Set Up an Esri Geoportal Server on Linux
- How to Use Search Page Results
- How to Use the Data Download Feature
- How to View Resource Relationships
- IDE Topics
- Identity Components LDAP and Single Sign On
- Index All Metadata Content
- Indexing and Searching the Time Period of the Content
- Install Apache Tomcat 6
- Install Desktop Tools
- Install Esri Geoportal Server
- Install PostgreSQL 9.1.2
- Install the JDBC .jar Files
- Installation
- Installation Version 1.0
- Installation Version 1.1
- Installation Version 1.2
- Installation Version 1.2.2
- Installation Version 1.2.4
- Installation Version 1.2.5
- Installation Version 1.2.6
- Installation Version 1.2.7
- Installation Version 1.2.8
- Integrate with a Content Management System
- Integrate with the con terra Security Solution
- Localization
- Log In to the Geoportal
- Logging
- Look and Feel of the User Interface
- Main Page
- Map LDAP Attributes on the Registration Page
- Map Viewer
- Online form editing for all publication methods
- Open source acknowledgements
- Oracle WebLogic geoportal logging
- Orientation to the Create Metadata Page
- Perform Preinstallation Computer Setup
- Portal for ArcGIS Integration
- Post Deployment Actions
- Preinstallation
- Preinstallation 0.9
- Preinstallation 1.0 and 1.1.x
- Preinstallation 1.2
- Preinstallation 1.2.2
- Preinstallation 1.2.4
- Preinstallation 1.2.5
- Preinstallation 1.2.6
- Preinstallation 1.2.7
- Preinstallation 1.2.8
- Preview Function
- Publication Components
- Ratings and Comments for Search Results
- Register ArcGIS for Server with the Geoportal
- Release notes
- REST API Syntax
- Sample FGDC metadata.xml
- Scheduled tasks
- Search Components
- Search Map
- Search Widget for Flex
- Search Widget for HTML
- Search Widget for Silverlight
- Security Concepts
- Set Up Systemwide Environment Variables
- Set up the Geoportal Database
- Share Link
- Single Sign On
- Smoketest the Geoportal
- Standards Support
- Supported CSW Profiles for Synchronization
- Theme Library
- Troubleshooting
- Troubleshooting Tips
- Two geoportals on the same server
- Upgrade 1.x to 1.2 database
- Upgrading file system approach
- Upgrading Read This Overview
- Upgrading SVN approach
- Url filter customization
- Use an XSLT to Render the Details Page
- Use Ant to build Geoportal
- User Functions and Roles
- User Management Interface
- Using a geoportal
- Using Lucene Search Text Queries
- Version 0.9
- Version 1.0
- Version 1.1
- Version 1.1.1
- Version 1.2
- Version 1.2.2
- Version 1.2.4
- Version 1.2.5
- Version 1.2.6
- Version 1.2.7
- Version 1.2.8
- What is a geoportal and the geoportal server
- What is the esri geoportal server
- What's New
- wiki template
- WMC Client
- Show 187 more pages…
Clone this wiki locally
A Content Management System (CMS) is software that allows users to enter and change content on a website. There are a number of CMS available, and the geoportal can be integrated within a CMS, or a CMS can be integrated within the geoportal as a new tab (see Add Another Tab to the Geoportal Interface). A CMS is not a requirement of the geoportal, but integrating one can give a more directed view of the content of the geographic metadata catalog. CMS pages can highlight sets of geographic data and services that are applicable to certain user groups or topics. Several options are available for CMS integration, as illustrated in the figure below:
- Option 1 - A browser can embed CMS web pages within geoportal web pages through an HTML <iframe></iframe> tag. A typical approach would involve adding a tab to the geoportal user interface that references a CMS starting page.
- Option 2 - Conversely, a browser can embed geoportal web pages within CMS web pages through an HTML <iframe></iframe> tag. A typical approach would involve adding a tab to the CMS user interface that references a geoportal starting page.
- Option 3 - Geoportal web pages could simply launch the CMS in a separate window by adding an HTML tag to the geoportal user interface.
- Option 4 - CMS web pages could simply launch the geoportal in a separate window by adding an HTML tag to the CMS user interface.
- Option 5 - The CMS could also ingest targeted content through the geoportal's Rest API. The Rest API allows for the submission of catalog query requests through a simple URL, and can return the results of the query in HTML, HTML fragment (no <html></html> header tag), GeoRSS, KML, JSON, or CSV format. As an example:
http://host:port/[GeoportalApplicationName]?searchText=maps&f=georss&max=100
This example search would be executed against the term maps and a GeoRSS response would be returned with a maximum of 100 records. The CMS would then render the response.
The methodology for rendering the response within a CMS page can vary. Some systems have inherent capability to render one or more of the response formats provided by the geoportal. Another approach involves transforming a response using XSL technology; this gives full control over the look and feel of the rendered response content. Implementing this approach will depend upon the capabilities of the CMS. Many content management systems also provide the ability to plug-in customized rendering adapters. This approach would involve developing a custom component. This topic provides an example for integrating the geoportal with a freely available CMS called JSP Wiki. There are two parts to this topic: #Using JSPWiki with Geoportal GeoRSS feeds and #Using JSPWiki with the Geoportal REST API.
After you have configured your JSPWiki page, integrate it into a new tab in your geoportal by following instructions at Add Another Tab to the Geoportal Interface.
Using JSPWiki with Geoportal GeoRSS feeds
In this example, you will install JSP Wiki from the JSP Wiki site. After installing JSP Wiki, you will need to install an RSS plugin, located at http://www.jspwiki.org/wiki/RssViewerPlugin. Remember to restart your geoportal web application after installing the plugin jar files. Steps to create JSP Wiki page to fetch geoportal RSS feeds are below:
- Install JSP Wiki.
- Create a new page in JSP Wiki into which you will insert GeoRSS feeds.
- Go to the edit mode of the page, and paste the string below into it. This change will insert GeoRSS feeds from your geoportal. In the string, the url attribute should reference the REST result string for the search you want to display on the wiki page. For example, if you want the wiki page to display wildfire-related resources, the url parameter would look like the one in the example below. The parameters such as detail, ttl, date, and maxitems are parameters defined by the plugin, and can be adjusted according to the syntax documentation on the RssViewerPlugin page:
[{fr.univ.reunion.iremia.rss.RssViewer
url='http://yourGeoportalserver/geoportal/rest/find/document?searchText=wildfire' detail='1'
ttl='120' date='1' maxitems='20'}]
- You can define more complex search results by using the REST API Syntax to specify extent, topic categories, dates, and more.
- Save the wiki page, exit the edit mode, and you will see a page displaying results corresponding to the search criteria you specified with the RssViewer URL.
Using JSPWiki with the geoportal REST API
It is also possible to display your REST results using the geoportal REST API. In this example, you will need to install an xslt&amp;amp&#59;amp&amp;&#35;59&#59;&amp;amp&#59;&amp;&#35;35&#59;35&amp;&#35;59&#59;45&amp;amp&#59;&amp;&#35;35&#59;59&amp;&#35;59&#59;plugin.jar, and publish an xsl called IdentityTransform.xsl so that JSPWiki may have access to the xsl file. Steps are below:
- Install JSP Wiki.
- Install the xslt_plugin.jar, available at http://www.jspwiki.org/wiki/XSLTPlugin:
- Go to the Attach tab on the website, and copy the xslt_plugin.jar file into your \\JSPwiki\WEB&amp;amp&#59;amp&amp;&#35;59&#59;&amp;amp&#59;&amp;&#35;35&#59;35&amp;&#35;59&#59;45&amp;amp&#59;&amp;&#35;35&#59;59&amp;&#35;59&#59;INF\lib folder.
- Add the following entry to your jspwiki.properties file in the Plugin search paths section:
#############################################################################
#
# Plugin search paths.
#
# Define here the packages you want to use for searching plugins,
# separated with commas.
# For example, use the following command to add "org.myorganisation.jspwiki.myplugins"
# and "com.foobar.myplugins" to the search path.
#
# The default path is "com.ecyrd.jspwiki.plugins", and it will be always
# the last item on the path. This allows you to override JSPWiki default
# plugins. Note that you are only adding to the path, not replacing it (ie.
# the default path is never removed.)
#
# jspwiki.plugin.searchPath = org.myorganisation.jspwiki.myplugins,com.foobar.myplugins
#
jspwiki.plugin.searchPath =net.panonet.XSLTPlugin
- Create the IdentityTransform.xsl file, and save it to your JSPWiki folder. You can name the file whatever you want, as long as you reference it in your JSPWiki. The text for the file is:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="text"/>
<xsl:template match="/">
<xsl:for-each select="//item">
<div>
<xsl:text>&lt;a </xsl:text>
href="<xsl:value-of select="link/@href"/>" target="_blank"
<xsl:text>&gt;</xsl:text>
<xsl:text>&lt;h4&gt;</xsl:text>
<xsl:value-of select="title"/>
<xsl:text>&lt;/h4&gt;</xsl:text>
<xsl:text>&lt;/a&gt;</xsl:text>
<p>
<xsl:value-of select="description"/>
</p>
<xsl:text>&lt;br&gt;</xsl:text>
</div>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
- Now you will create a new JSP wiki page, and integrate the geoportal REST API results within it.
- Create the JSP wiki page.
- Go to the edit mode of the page.
- Paste the string below into it. The xml= parameter will need to have the URL of your search result page for the geoportal REST API results, and the xsl= parameter will need to reference the URL to your published IdentityTransform.xsl.
[{INSERT net.panonet.XSLTPlugin WHERE xml='{url to document (or search result page) of Geoportal
REST API}', xsl='{url to IdentityTransform.xsl}'}]
For example: Wildfire Metadata
[{INSERT net.panonet.XSLTPlugin WHERE
xml='http:// yourGeoportalServer/geoportal/rest/find/document?searchText=wildfire*',
xsl='C:/Tomcat/webapps/JSPWiki/channelPage.xsl'}]
- Save the page, exit the edit mode, and you will see search results in the page that correspond to the REST URL you input to the XSLTPlugin.