You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
posttype: post # Used to name the output file and added as a column in the final CSV for convenience.
inputfile: csv/post-sitemap.csv # Path should be relative to gather.js, not this file.
preview: 0 # This value lets you import a test subset of your data. Set to 0 for all rows.
content: "#maincol" # Your main content wrapper; all other selectors are found within this context.
item:
title: "h1"
body: ".blog-body" # Leave this blank to use your 'content' value as the body; the script will remove all other title/byline/tax1/etc values from the content before writing it to the CSV.
fields:
byline: ".author"
images:
featured: "img.featured" # This one needs to point to an actual image tag.
taxonomies:
tax1: ".field.topics a" # Imports content as a comma-delimited list of items.
tax2: ".field.countries a" # Imports contents as a comma-delimited list of items.