Extract Domain (Aspire 2)

From wiki.searchtechnologies.com
Jump to: navigation, search

For Information on Aspire 3.1 Click Here

Extract Domain (Aspire 2)
Factory Name  com.searchtechnologies.aspire:aspire-extract-domain
subType  default
Inputs  <url> or <fetchUrl> from the AspireObject
Outputs  a configurable tags in the AspireObject

The Extract Domain stage extracts the domain from the URL and places it in the AspireObject.

Configuration

Element Type Default Description
outputElement String domainName The output element for the domain name in the AspireObject.

Example Configuration

Simple

<component name="ExtractDomain" factoryName="aspire-extract-domain"  subType="default"/>

Complex

<component name="ExtractDomain" factoryName="aspire-extract-domain" subType="default">
  <outputElement>topDomain</outputElement>
</component>