Source Configuration (Magento)

This documentation describes how to configure the Source channels for LivewordsFlow extention for Magento. The LivewordsFlow Magento extention is based on four different Source channels: Blocks, Categories, Pages and Products. 

Blocks

Name: Blocks

Location: block

Settings:

{
"type" : "XmlFeed",
"cdataLocations" : [ ],
"clientType" : "default",
"excludeLocations" : [ ],
"imageExpression" : { },
"includeLocations" : [ "/cms/block/**" ],
"itemLocations" : [ "/cms/block" ],
"labelExpression" : { },
"locationExpression" : {
"cms/block" : "feedItemElement.getAttributeValue('location')"
},
"namespaces" : { },
"publishComputerTranslations" : false,
"splittingInlineHtmlTags" : false,
"textLocationTypes" : {
"/cms/block/content" : "text/html"
},
"titleExpression" : {
"/cms/block" : "feedItemElement.getAttributeValue('title')"
},
"useComputerTranslations" : false,
"writeEmptyItems" : false,
"writeIncompleteItems" : false,
"writeUntranslatedElements" : false
}

API publish URL: **/livewords/livewords_callback/

Categories

Name: Categories

Location: category

Settings:

{
"type" : "XmlFeed",
"cdataLocations" : [ ],
"clientType" : "default",
"excludeLocations" : [ ],
"imageExpression" : { },
"includeLocations" : [ "/catalog/category/**" ],
"itemLocations" : [ "/catalog/category" ],
"labelExpression" : { },
"locationExpression" : {
"/catalog/category" : "feedItemElement.getAttributeValue('id')"
},
"namespaces" : { },
"publishComputerTranslations" : false,
"splittingInlineHtmlTags" : false,
"textLocationTypes" : { },
"titleExpression" : {
"/catalog/category" : "feedItemElement.getAttributeValue('title')"
},
"useComputerTranslations" : false,
"writeEmptyItems" : false,
"writeIncompleteItems" : false,
"writeUntranslatedElements" : false
}

API publish URL: **/livewords/livewords_callback/

Pages

Name: Pages

Location: page

Settings:

{
"type" : "XmlFeed",
"cdataLocations" : [ ],
"clientType" : "default",
"excludeLocations" : [ ],
"imageExpression" : { },
"includeLocations" : [ "/cms/page/**" ],
"itemLocations" : [ "/cms/page" ],
"labelExpression" : { },
"locationExpression" : {
"/cms/page" : "feedItemElement.getAttributeValue('location')"
},
"namespaces" : { },
"publishComputerTranslations" : false,
"splittingInlineHtmlTags" : false,
"textLocationTypes" : {
"/cms/page/content" : "text/html"
},
"titleExpression" : {
"/cms/page" : "feedItemElement.getAttributeValue('title')"
},
"useComputerTranslations" : false,
"writeEmptyItems" : false,
"writeIncompleteItems" : false,
"writeUntranslatedElements" : false
}

API publish URL: **/livewords/livewords_callback/

Products

Name: Products

Location: product

Settings:
{
"type" : "XmlFeed",
"cdataLocations" : [ ],
"clientType" : "default",
"excludeLocations" : [ ],
"imageExpression" : { },
"includeLocations" : [ "/catalog/product/**" ],
"itemLocations" : [ "/catalog/product" ],
"labelExpression" : { },
"locationExpression" : {
"/catalog/product" : "feedItemElement.getAttributeValue('location')"
},
"namespaces" : { },
"publishComputerTranslations" : false,
"splittingInlineHtmlTags" : false,
"textLocationTypes" : { },
"titleExpression" : {
"/catalog/product" : "feedItemElement.getAttributeValue('title')"
},
"useComputerTranslations" : false,
"writeEmptyItems" : false,
"writeIncompleteItems" : false,
"writeUntranslatedElements" : false
}

API publish URL: **/livewords/livewords_callback/

Have more questions? Submit a request

Comments