Importing a collection via a Twise XML Feed

You can import a collection via a Twise XML feed. To add such a feed to your twise, go to Edit Twise -> Content -> Collections -> Settings -> Import feed and add the URL that points to the feed. The feed contents are going to be synced every 24 hours.

The XML feed should be of the formats shown in the examples below. In each feed, the <document> tag differs depending on the collection type. All fields unless specified otherwise are strings.

Product XML feed

Product document requirements:

Field
Required
Description

id

no

Product ID

title

yes

Product Title

url

yes

URL to product page

description

no

Product Description

category

no

Product Category

product_type

no

General product type

updated_at

no

ISO-formatted date

vendor

no

Vendor name

tags

no

List of product tags.

media

no

List of image URLs.

available_for_sale

no

Boolean if product variant is available for sale

price

no

Decimal amount

currency

no

ISO 3-letter currency code

Example Products XML feed

Events XML Feed

Event document requirements:

Field
Required
Description

id

no

Event ID

title

yes

Event Title

description

yes

Event Description

url

no

URL to event page

venue

no

Event venue

phone_number

no

Contact phone number

contact_email

no

Contact email

address

no

Event address

city

no

Event city name

category

no

Event category

date_start

no

Event start time (ISO date string). Can specify date_startwithout date_endif it is not a date range.

date_end

no

Event end time (ISO date string)

price

no

Decimal amount for event ticket price

currency

no

ISO 3-letter currency code

media

no

List of image URLs

Example Events XML feed

Villas XML feed

Villadocument requirements:

Field
Required
Description

id

no

Villa ID

title

yes

Villa Title

url

yes

URL to villa page

description

yes

Villa Description

address

no

Address

city

no

City

region

no

Region

country

no

Country

latitude

no

Latitude ('float' type)

longitude

no

Longitude ('float' type)

neighborhood

no

Neighborhood

view_type

no

Villa view type (e.g. 'oceanfront', 'beachview', etc.)

guests

no

Number of guests

rooms

no

Number of bedrooms

bathrooms

no

Number of bathrooms

price

no

Decimal amount for villa nightly rate

currency

no

ISO 3-letter currency code

features

no

List of villa features

media

no

List of image URLs

Example Villas XML feed

Page or post feed example

Twise can also create a collection of pages and/or posts (from WordPress or any website).

Last updated