> For the complete documentation index, see [llms.txt](https://news-parser.gitbook.io/news-parser-plugin/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/parsing-template.md).

# Parsing Template

To create a parsing template for the [News Parser](https://www.news-parser.com/) plugin, follow these steps:

1. Open the Visual Constructor: Click on the icon at the bottom of the post box to open the Visual Constructor.
2. Select the Content: In the main window, mark the content you want to include in your parsing template. Click on the blocks or elements that contain the desired content. You can separate different types of content into separate blocks (e.g., text, images, videos).
3. Save the Parsing Template: Once you have marked the content, select the "Save parsing template" that you can use in automatic parsing from this source option. This option allows you to save the template for future use. Click on the "Save Template" button to save the parsing template.
4. Understand Variations in Content: It's important to note that individual posts, even from the same source, can vary significantly. As a result, the parsed pages may not always contain the exact content you need. Keep in mind that the parsing template provides a structure for extracting content, but there may be variations in the actual content within each post.

By following these steps, you can create a parsing template in the [News Parser](https://www.news-parser.com/) plugin to extract the desired content from the source. Remember to adjust the template as needed to accommodate any variations in the content of the source.

{% embed url="<https://youtu.be/0awSRLWsP-I>" %}


---

# 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/parsing-template.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.
