Skip to content

Convert from the Searchspring format to the Nextopia format

Notifications You must be signed in to change notification settings

searchspring/searchspring-nextopia-converter

Repository files navigation

Searchspring -> Nextopia Converter

Takes a Searchspring response and turns it into Nextopia XML. Takes a Nextopia query and turns it into a searchspring query.

Usage

Convert a response

import com.searchspring.nextopia.Converter;
// ...
String siteId = "abcd12";
Converter converter = new Converter(siteId);
String nextopiaXml = converter.convertSearchspringResponse(searchspringJson);

Convert a query

import com.searchspring.nextopia.Converter;
// ...
String siteId = "abcd12";
Converter converter = new Converter(siteId);
String searchspringQueryUrl = converter.convertNextopiaQueryUrl(nextopiaQuery);

Notes and Caveats

OR queries

A salient difference between Searchspring and Nextopia is that OR queries are configured via the API in Nextopia but through the merchandising console in Searchspring.

About

Convert from the Searchspring format to the Nextopia format

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published