title
Required Field
This field is required and must not be omitted
Description
Title is the most important attribute for Prisjakt to be able to index your product/offer correctly. It should contain manufacturer name along with product name and/or model. Additionally size, color and gender is recommended for product types that specifies this.
Validation Rules
- Length should be between
1-255
Best Practices
Do
- Use the same title as it is present on your product page
- Preferred syntax is
[brand] + [model name] + [additional product information]
- Use language of the specific market where the product is being sold (for better user experience)
- Embed in a CDATA tag if using xml in order to avoid any potential issues with special characters
Don't
- Avoid commas, tabs, extra spaces, newlines and other special characters (especially if you use CSV format)
- Do not use HTML tags or any other codes
- Do not include promotional text
- Do not write detailed information in title, this belongs in the description attribute
Example Values
Here are examples of how a valid title value should look like in XML and CSV (with header) respectively.
- XML
- CSV
Valid Value
<g:title><![CDATA[Samsung Galaxy S8 Black 128G]]></g:title>
Click to show more valid XML examples
<g:title><![CDATA[Samsung Galaxy S8 Black 128G]]></g:title>
Valid Value
title
Samsung Galaxy S8 Black 128G
Click to show more valid CSV examples
title
Samsung Galaxy S8 Black 128G
Error Codes
Below you will find possible error codes generated when validating this field alongside with an example in XML and CSV that would trigger the code. Please refer to the validation rules to understand the cause.
- XML
- CSV
<g:title><![CDATA[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 256 characters value)]]></g:title>
<g:title></g:title>
danger
validation_invalid_length
title
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 256 characters value)
danger
Properties
Property | Value | Description |
---|---|---|
Data Type | string | Closest data type in code |
Nested | False | Defines if this field consists of one or more sub-fields |
Case Sensitive | False | If small or large letters matter for this field |
Repeatable | False | If you can supply multiple items of this field (it´s a list) |
Repeatable limit | 0 | If a list, this specifices the max number of items |
Changelog
📅 2024-03-30
Added
Initial definition