Page tree
Skip to end of metadata
Go to start of metadata



The Publish to GSA application performs content feeds to a GSA of metadata and content of files extracted by Aspire connectors. The feed to the GSA can be customized by editing the XSL transformation file provided by the user.

Publish to GSA Application Bundle
Factory Namecom.searchtechnologies.aspire:app-publish-to-gsa
InputsAspireObject from a connector's subjob with metadata and content extracted from a specific file/folder.
OutputsAn XML transformation of the AspireObject sent to the GSA's xmlfeed URL.


This section lists all configuration parameters available to configure the Publish to GSA Application Bundle component.


GSANoUrlbooleantrueIndicates if the publisher must use a Url or build one from the host and port entered.
GSAPortinterger19900GSA port where to send the feeds
GSAHoststringnoneGSA hostname or IP adress. e.g.
GSAUrlstringnoneComplete Url where the feeds are going to be send. e.g.http://localhost:19900/xmlfeed
makePublicbooleanfalseMakes public all content published to the GSA.
aspireToGSAXslstring${appbundle.home}/config/xsl/aspireToGSA.xslLocation of the XSL to transform the job data to a GSA feed. See Edit Xsl.
maxResults int1000000(Index dump) How many documents can be fetched by the search engine for the same query
dumpSlices int10000(Index dump) How many documents to fetch per page
urlFieldstringdisplayUrl(Index dump) Field used to store the url in the search engine
idFieldstringid(Index dump) Field used to store the id in the search engine.

Example Configuration


   <application config="com.searchtechnologies.aspire:app-publish-to-gsa">
      <property name="GSANoUrl">true</property>
      <property name="GSAPort">19900</property>
      <property name="GSAHost">localhost</property>
      <property name="makePublic">true</property>
      <property name="debug">true</property>
      <property name="aspireToGSAXsl">${appbundle.home}/config/xsl/aspireToGSA.xsl</property>

Any optional properties can be removed from the configuration to use the default value described on the table above.

Edit Xsl

The default XSL transformation file can be found in AspireToGSA.xsl.

The default transformation XSL file provided by the publisher expects metadata as described in Connector AspireObject Metadata.

Add metadata field

To add a new metadata field extracted by an Aspire Connector add an xsl element under the <metadata> tag.

<meta name="metafieldNameInGSA">
  <xsl:attribute name="content">
    <xsl:value-of select="metafieldNameFromAspireObject" />

Change the id URL

The id URL is the URL the GSA uses to uniquely identify a file in the index. To change the Aspire metadata field being used as the id, change the value of the record's attribute: url to the desired field.

<xsl:attribute name="url">

Change the display URL

The display URL is the URL the GSA uses as the result's file location display in the results page. Change the google:displayurl meta field content attribute to change this value.

<meta name="google:displayurl">
  <xsl:attribute name="content">
    <xsl:value-of select="displayUrlFromAspireObject" />

Advanced Edit

More advanced changes can be accomplished following the Feeds Protocol Developer's Guide instructions.



The output of the component will be a GSA Feed formatted XML that will be sent through the /xmlfeed URL of the GSA. The output XML of the XSL transformation needs to follow the definition established by the gsafeed_dtd.