# Setting Up Sitemap Section Front Index Feed with Outbound Feeds

Source: https://dev.arcxp.com/arc-io/developer-docs/setting-up-sitemap-section-front-index-feed-with-outbound-feeds/

The Sitemap Section Front Index block is an out-of-the-box template that uses custom fields to quickly and easily set up, configure and manage your feed. This Sitemap Section Front Index block is a sitemap index feed which means it returns a list of links to sitemap feeds that contain stories from the sections. For a sitemap feed containing links to your website’s sections, use the [Sitemap section feed](https://dev.arcxp.com/arc-io/developer-docs/setting-up-sitemap-section-feed-with-outbound-feeds/).

## Feed Setup

The Sitemap Section Front Index feed is a platform level Arc feed block with configurable and customizable parameters. This block will only work with the site-service-hierarchy content source. It must be linked to one of your site service hierarchies to generate a sitemap link to each section in that hierarchy. You can customize which sitemap format is used and exclude sections that should not be displayed.

See [How to set up and configure an Outbound Feed](https://dev.arcxp.com/arc-io/developer-docs/how-to-set-up-and-configure-an-outbound-feed/) to configure the Sitemap Section Front Index feed.

## Sitemap Section Front Index Configuration

### 1\. Path

This path will be used in each link generated. By default it generates links to your sitemap filtering on each section. It starts with `/arc/outboundfeeds` to match the URL to your sitemap or sitemap-news.

default: `/arc/outboundfeeds/sitemap/category`

### 2\. Sitemap at root (Available with Web Delivery 1.7)

Optional checkbox to convert sections from slashes to dashes for sitemap links at root. For example it will convert `/sports/football` to `-sports-football`. You must also change the Path to use dashes.

default: `unchecked`

### 3\. URL Extension

Optional, add a file extension to the end of the generated URL, for example `.xml`. If you add an extension you will need to change your sitemap resolver to match.

default: `blank`

### 4\. Additional URL Parameters

Optional parameters to append to URL, join multiple parameters with `&`. For example, `outputType=xml&ref_src=sitemap`.

default: `blank`

### 5\. Section IDs to exclude

Comma separated list of section IDs to exclude from the feed, for example, `/subscribe,/test`.

default: `blank`

### 6\. Exclude Links

Checkbox used to exclude navigation links from the feed.

default: `checked`

## Resolver Configuration

Each feed template needs to have a resolver applied. To [create a resolver](https://dev.arcxp.com/arc-io/developer-docs/setting-up-resolvers-for-outbound-feeds/), you must configure the following fields:

### 1\. Resolver Name

Unique, easily recognized name given to the resolver, such as `sitemap-section-index`.

> **Note:**
> 
> If your feed was setup before release 1.12 which introduced the Sitemap Section block, your resolver may be named `sitemap-section`.

### 2\. Resolver Priority

Number to indicate priority order (1 to 100). Lower numbers are evaluated first.

### 3\. Regex Pattern

```regex
^/arc/outboundfeeds/sitemap-section-index/?$`
```

> **Note:**
>
> If your feed was setup before release 1.12, which introduced the Sitemap Section block, your regex pattern may be setup as `^/arc/outboundfeeds/sitemap-section/?$`.

### 4\. URL Parameters

No parameters are needed.

### 5\. Websites

all

### 6\. Content Source

You must choose `site-service-hierarchy`.

![Content and Template Mapping](https://dev.arcxp.com/_astro/Siteservice.8ZcFK_cF_1C0fm5.webp)

### 7\. Hierarchy

Enter name of the Site Service hierarchy. Typically `default` but you can select any available hierarchy.

### 8\. Section ID

blank

### 9\. Default Template

Select the template you just created `sitemap-section-index` to use with this resolver.

> **Note:**
>
> If your feed was setup before release 1.12 which introduced the Sitemap Section block, your resolver may be named `sitemap-section`

### 10\. Default output type

Select `xml`.

### 11\. Content Mapped Template

blank

## Sitemap Section Front Index URL

To preview your Sitemap Section Front Index XML, modify the URL below with your client org and website name.

```
https://Outboundfeeds.{CLIENTORG}.Arcpublishing.Com/Pf/Arc/Outboundfeeds/Sitemap-Section-Index/?\_website={CLIENTWEBSITE}
```

![Sitemap Front Index](https://dev.arcxp.com/_astro/Sitemapfrontindex.DkZscEWn_vlqPJ.webp)

## Additional Information

All sitemaps adhere to the [Standard Sitemap Protocol](http://www.sitemaps.org/) and implement Google’s extensions for both [Images](https://support.google.com/webmasters/answer/178636) and [Videos](https://support.google.com/webmasters/answer/80471).

- [How to set up and configure an Outbound Feed](https://dev.arcxp.com/arc-io/developer-docs/how-to-set-up-and-configure-an-outbound-feed/)
- [Content sources with Outbound Feeds](https://dev.arcxp.com/arc-io/developer-docs/content-sources-with-outbound-feeds/)
- [How to use Jmespath to map to custom fields ANS values in Outbound Feeds](https://dev.arcxp.com/arc-io/developer-docs/how-to-use-jmespath-to-map-to-customfields-ans-values-in-outbound-feeds/)
- [Setting up resolvers for Outbound Feeds](https://dev.arcxp.com/arc-io/developer-docs/setting-up-resolvers-for-outbound-feeds/)
- [Regex Debugger](https://regex101.com/)
