6.5. Lifecycle of Events
This section contains the lifecycle of events such as URL collection, crawling, and recrawling events. The lifecycle term refers to the order of application of, e.g., settings defined by you. The lifecycle of the events are given so that you can feel more comfortable while using the settings. If you know which setting is applied when, you have a deeper understanding of the settings and how to use them.
6.5.1. URL Collection Event
The list below shows the order of application of the settings when collecting post URLs from category pages.
- Make a request to the target URL by adding Cookies and get the source code
- Find and replace in raw HTML
- Find and replace in all post pages (in General Settings Page)
- Find and replace in HTML at first load
- Find and replace in element attributes
- Exchange element attributes
- Remove element attributes
- Find and replace in element HTML
- Unnecessary Element Selectors
- Resolve relative URLs existing in the source code
- Category Post URL Selectors
- Prepare featured images
- Collect URLs in reverse order?
- Category Next Page URL Selectors
- CSS selectors for empty value notification
6.5.2. Post Crawl and Recrawl Event
The list below shows the order of application of the settings when crawling and recrawling a post.
Note
Certain details are not saved when recrawling. For more information, please refer to Recrawling Section.
- Make a request to the target URL by adding Cookies and get the source code
- Find and replace in raw HTML
- Find and replace in all post pages (in General Settings Page)
- Find and replace in HTML at first load
- Find and replace in element attributes
- Exchange element attributes
- Remove element attributes
- Find and replace in element HTML
- Resolve relative URLs existing in the source code
- Prepare pagination information by using the settings defined in Pagination Section
- Remove unnecessary elements by using the selectors defined in Unnecessary Element Selectors
- Prepare post title
- Post Slug (Permalink) Selectors
- Prepare post excerpt
- Post Content Selectors
- Prepare categories
- Prepare publish date
- Prepare custom short codes
- Prepare list-type post information by using the settings under List Type Posts Section
- Prepare post tag and meta information
- Prepare custom post meta
- Prepare taxonomies
- Prepare and save media files
- Save WooCommerce product details by using the settings defined under WooCommerce Section
- Prepare the templates
- Post Title Template
- Post Excerpt Template
- List Item Template
- Remove links from short codes?
- Convert iframe elements to short code
- Convert script elements to short code
- Gallery Item Template
- Main Post Template
- Template Unnecessary Element Selectors
- Find and replace in post’s content
- Replace short codes that are defined by the plugin in all templates
- Prepare the post data
- Translate the selected contents (Translatable Fields) by using the selected translation service (Translate with)
- Spin the selected contents (Spinnable Fields) by using the selected spinning service (Spin with)
- CSS selectors for empty value notification