Parsing Template

In this section, you will learn about the process of creating templates to optimize content parsing for your website.

To create a parsing template for the News Parser 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 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.

Last updated