The htmlSpecs field in exports or API retrieving includes the technical specifications. These can come from different contentproviders depending on the contract, eg CNET, Icecat, manufacturer or ITscope. Depending on the contentproviders there the content is also available in different languages

 

Format of the field htmlSpecs

The format of the htmlSpecs is available in this form for all contentproviders.


<Div id = "HTML_SPEC" class = "ITSs">
<Div class = "ITSg"> General </ div>
<Div class = "ITSr0">
<Div class = "ITSn"> Printer Type </ div>
<Div class = "ITSv"> Workgroup Printer - LED Color </ div>
</ Div>
<Div class = "ITSg"> Printer </ div>
<Div class = "ITSr0">
<Div class = "ITSn"> Print Speed ​​</ div>
<Div class = "ITSv"> Up to 24 ppm. - b / w - Up to 22 ppm. - color </ div>
</ Div>
<Div class = "ITSr1">
<Div class = "ITSn"> Connection technology </ div>
<Div class = "ITSv"> Wired </ div>
</ Div>
<Div class = "ITSr0">
<Div class = "ITSn"> Interface </ div>
<Div class = "ITSv"> USB, LAN </ div>
</ Div>
</ Div>
</ Div>

Using css-styles, the respective CSS classes can be adapted to their own requirements.

Here is an overview of the IDs and their meaning:

CSS classes description
ITSs Section / section of the technical features, eg main features, detailed details
ITSg Group of technical characteristics
ITSr0 Straight line for a technical feature
ITSr1 Odd line for a technical feature
ITSn Name of a technical feature
ITSv Value of a technical feature

 

Sample CSS definition: 

<style>
.ITSs {
display: table;
border: 0px solid #000;
width: 100%;
}

.ITSr1 {
display: table-row;
padding: 4px 20px;
}

.ITSr0 {
display: table-row;
padding: 4px 20px;
}

.ITSg {
font-weight: bold;
font-size: small;
padding: 10px 20px;
display: block;
}

.ITSn {
display: table-cell;
color: #555;
vertical-align: top;
border-top: 1px solid #eee;
padding: 4px 20px;
white-space: nowrap;
overflow: hidden;
width: 50%;
}

.ITSv {
display: table-cell;
color: #555;
vertical-align: top;
border-top: 1px solid #eee;
padding: 4px 20px;
}
</style>

Downloads

These 2 downloads contain a demo datasheet which uses css styles from above.

The other file is a sample for different textcategories (know as structured features text contentCategoryRefId=3) in the textContent file from the Developer Format for the Provider IceCat (contentProviderRefId=2) and CNet (contentProviderRefId=3) in different languages.

Note: This page has been translated with the Google Translation Service.

Have more questions? Submit a request