# Setting Up Standard ANS Block with Outbound Feeds

Source: https://dev.arcxp.com/arc-io/developer-docs/setting-up-standard-ans-block-with-outbound-feeds/

The standard Arc XP Native Specification (ANS) block is an out-of-the-box template that uses no custom fields to quickly and easily set up, configure and manage your feed.

## Feed Setup

The ANS Article feed returns a single JSON object using either the items `_id` or `website_url`. It shares the standard ANS feed template, but uses two new resolvers, one for `_id` and one for `website_url`.

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 standard ANS feed if one does not already exist.

## ANS Configuration

The ANS feed has no customFields to configure.

## Resolver Configuration

Each feed template needs to have a resolver applied, but can have multiple resolvers. To [create a resolver](https://dev.arcxp.com/arc-io/developer-docs/setting-up-resolvers-for-outbound-feeds/), you must configure the fields on this section. This section details the fields to create two resolvers, one for searching by `_id` and a second one to search by `website_url`. Where values differ between the two resolvers, they will be called out with 1 for `_id` and 2 for `website_url`.

### 1\. Resolver Name

1. Article by `_id`
2. Article by `website_url`

### 2\. Resolver Priority

1. Article by `_id`: 10
2. Article by `website_url`: 9

### 3\. Regex Pattern

1. `^/arc/outboundfeeds/article/$`
2. `^/arc/outboundfeeds/article(/.*/)$`

> **Note:**
> 
> If your `website_url`’s don’t end in a slash use `(/.)/$` instead.

### 4\. URL Parameters

1. Add a required `_id` parameter. Note `_id` is an approved parameter. Only use [approved URL parameters](https://dev.arcxp.com/arc-io/developer-docs/setting-up-resolvers-for-outbound-feeds/). ![URL Parameters](https://dev.arcxp.com/_astro/URLParametersnew.Br-naVtP_Z1R9HB1.webp)
2. For `website_url` do not add any parameters. If you try to pass the `website_url` in a parameter it will get URL encoded and not work correctly.

### 5\. Websites

all

### 6\. Content Source

single-content

### 7\. Patterns

1. For `_id` add the `_id` parameter. ![Patterns](https://dev.arcxp.com/_astro/Idparameter.B-gq61qq_Z1nhlns.webp)
2. For `website_url` add the first pattern to `website_url`. ![Website URL](https://dev.arcxp.com/_astro/website_url.DChdJs_L_Z4NAff.webp)

### 8\. Default Template

Select the ANS template you just created to use with this resolver.

### 9\. Default output type

Select `json`.

### 10\. Content Mapped Template

blank

## ANS URL

To preview your ANS json, modify the URL below with your client org and website name.

```
https://outboundfeeds.{CLIENTORG}.Arcpublishing.Com/Pf/Arc/Outboundfeeds/Artilce/?_website={CLIENTWEBSITE}&_id={CONTENT_ID}
```

```
https://outboundfeeds.{CLIENTORG}.Arcpublishing.Com/Pf/Arc/Outboundfeeds/Artilce/Url/?_website={CLIENTWEBSITE}
```

## Additional Information

- [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/)
- [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/)
