- Go to the Company Drive and find the HTML files that are generated through the CORA Local Maps reports. The file name should be something similar to the filename below
- Copy all the code and paste it in a notepad file
- Inside the file, each “<div class=”attractionCard”>” to “</div>” contains the HTML code for one attraction.
- We will divide the attractions into 10 per page so there will be at least 10 variations. We will use spintax so that there will be randomization per page.
- To start, create 10 new notepad (.txt) files in a folder named CompanyName_LandmarkVariations_MonthYear. Each .txt file should be named CompanyName_LandmarkVariation1_MonthYear, CompanyName_LandmarkVariation2_MonthYear, etc. until you reach the 10th file.
- At the end, create one last notepad file and name it CompanyName_LandmarkFINAL_MonthYear. This will come in handy at the end.
- Copy the first paragraph of code and then paste it to the start of each of the 10 new notepad files
- Do the same for the final two lines of code as well, as per the screenshot below. Paste it into the end of each of the 10 new notepad files.
- Your new notepad will look like this. Cut and Paste the code for 10 landmarks / attractions on the space in between. Repeat this step until each of the 10 notepad files will have approximately 10 landmarks each.
- Combine the content of all 10 note pads into one big notepad (#11)
- Find the line “|” character and remove it in bulk by using the CTRL + H (search and find) feature in the large notepad because it will affect the spintax format if it is left behind
- Apply spintax format. Curly bracket “{“ at the start, Bar line “|” in the middle of each variation, and Closing curly bracket “}” in the end
- Save this final notepad for future reference.