> For the complete documentation index, see [llms.txt](https://news-parser.gitbook.io/news-parser-plugin-v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://news-parser.gitbook.io/news-parser-plugin-v2/parsing-template/extra-options.md).

# Extra Options

Extra options define additional options for your parsing process. Here's an explanation of each option:

1. "addSrcSetAndSizes": This option, when set to `true`, indicates that you want to include the "srcset" and "sizes" attributes when parsing images. The "srcset" attribute allows you to specify multiple image sources for different screen resolutions, while the "sizes" attribute specifies the sizes of the images for different viewport widths.
2. "groupImagesRow": When set to `true`, this option suggests grouping multiple images in a row. It implies that the images should be displayed side by side rather than stacked vertically.
3. "addFeaturedMedia": If set to `true`, this option indicates that you want to include the featured media (such as an image or video) in your parsed post. This could be useful if you're importing content from an external source that includes a featured image or media.
4. "addSource": When set to `true`, this option suggests including a source link or attribution for the parsed content. It allows you to specify the source of the content and provide a link to the original source. This can be helpful for giving credit or providing additional context.
5. "sourceLinkCaption": This option specifies the caption or text that will be displayed for the source link. In your example, it is set to "Link To Source". You can customize this text to match your requirements.
6. "sourceLinkIsNoFollow": When set to `true`, this option indicates that the source link should have the "nofollow" attribute applied. The "nofollow" attribute tells search engines not to follow the link, which can be useful if you don't want to pass authority or endorsement to the linked source.

Example:

```
{
 "extraOptions": {
    "addSrcSetAndSizes": true,
    "groupImagesRow": true,
    "addFeaturedMedia": true,
    "addSource": true,
    "sourceLinkCaption": "Link To Source",
    "sourceLinkIsNoFollow": true
    }
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://news-parser.gitbook.io/news-parser-plugin-v2/parsing-template/extra-options.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
