Two categories of WordPress
TZ
You need to write a parser for two identical categories in WordPress.
All fields are text. There will be only call-to-text fields for each category.
The parser must run forced or regularly through the task in the cron.
Working procedure of the parser:
1 . From the page of the State. The website file CSV. The names of the files are always different depending on the date, but they are always scattered with the "Hypercylus (URL) on a set" cell.
2nd Get the info from there and download it to the WordPress records. In the name and in the dop. The field (ACF )
Three Add a record to the category. There is no separate field “City”. It must be drawn out of the cell after the index, and depending on the city to add to the appropriate category/create it if there was no such city.
4 . If the information has changed, then update the existing record. If the records in CSV have been added, add new to the site. Without the creation of duples.
You need to write a parser for two identical categories in WordPress.
All fields are text. There will be only call-to-text fields for each category.
The parser must run forced or regularly through the task in the cron.
Working procedure of the parser:
1 . From the page of the State. The website file CSV. The names of the files are always different depending on the date, but they are always scattered with the "Hypercylus (URL) on a set" cell.
2nd Get the info from there and download it to the WordPress records. In the name and in the dop. The field (ACF )
Three Add a record to the category. There is no separate field “City”. It must be drawn out of the cell after the index, and depending on the city to add to the appropriate category/create it if there was no such city.
4 . If the information has changed, then update the existing record. If the records in CSV have been added, add new to the site. Without the creation of duples.