|Product Name||Year One|
|Category||Electronics / Photography: A/V Media: Movie|
|Short Description||Weight:1.2 pounds|
|Amazon.com||Buy on Amazon ~ B002KLAL8S|
|Price New||6.98 US Dollars (curriencies)|
|Price Used||0.90 US Dollars (curriencies)|
|Rating||PG-13 - Parents Strongly Cautioned|
|Trailer||Watch The Trailer|
|Run Time||97 minutes|
|Cast||Jack Black , Michael Cera , Olivia Wilde|
|Run Time||100 minutes|
|Width||5.25 inches (convert)|
|Height||0.5 inches (convert)|
|Length||6.75 inches (convert)|
|Weight||20 hundredths pounds (convert)|
|Format||AC-3, Blu-ray, Dolby, Dubbed, NTSC, Subtitled, Widescreen|
|Run Time||100 minutes|
|Long Description||After being banished from their tribe, two hunter-gatherers encounter Biblical characters and eventually wind up in the city of Sodom.|
|Similar Items||5051368204239: Love Guru [Blu-ray]|
5050582713350: Land of The Lost [Blu-ray] [Import anglais]
0883929301003: Nacho Libre [Blu-Ray]
0191329075173: A Million Ways to Die in the West
0043396476677: Talladega Nights The Ballad of Ricky Bobby
0043396417625: This is the End
0043396264175: Pineapple Express
0025195051248: Land of the Lost
0025192193347: Land of the Lost / MacGruber Double Feature
0025192044243: Your Highness
|Search Google||by EAN or by Title|
The extra items are numerically indexed and provide extra text to go along with numeric values such as weights or distances or even currencies. The attributes that use these extra indexes are all numeric and take two fields. You can send the data in a single field as long as you use the same short or long text that we keep in our database.
Although the data feed API can deliver information as JSON or XML, we are using XML here because it is easier to read.
<attribute> <extra_group>Distance</extra_group> <field_name>depth</field_name> <extra> <id>501</id> <extra_short>in</extra_short> <extra_long>inches</extra_long> <seq>10</seq> </extra> <extra> <id>503</id> <extra_short>ft</extra_short> <extra_long>feet</extra_long> <seq>20</seq> </extra> <extra> <id>505</id> <extra_short>yrd</extra_short> <extra_long>yards</extra_long> <seq>30</seq> </extra> </attribute>
Looking at this example, you can see that the EXTRA portion is an array of values each with their own properties. Here is what each section means:
- extra_group - The text name representing the type of information the extra value represents. The extra elements are associated with this group.
- field_name - The field that this extra information is attached to. Multiple fields can be attached to the same extra_group.
- id - This is the unique id that identifies the specific extra element. It is unique across all extra groups.
- extra_short - The short text used to enhance the main data item.
- extra_long - The long text used to enhance the main data item.
- seq - The sequence that we use to display this element in a list. When two sequence numbers are the same we sort by the extra_long value.
This extra information is normally used in a drop down box next to the numeric data field that we want to enhance. Some examples might be:
- 12 pounds
- 15.25 US Dollars
- 354 grams
- 12.4 ounces
- 12 lbs
- 15.25 USD
- 354 g
- 12.4 oz
You see we can display the long or short version of the extra code by using the ID index.
Fields that make use of this extra information require it when pushing data back to us in the feed. You can either send the data in two fields (value and extra_id) or in a single field (value) as long as the text following the numeric portion matches the long or short version of the extra data we store for the field.
For example, if you wanted to update a field that represented distance with the value "100 yards", you could either send that data just like that in the value field value=100+yards or in two seperate fields value=100&extra_id=505 and you would get the same results. If you send an invalid extra_id or text after the number that doesn't match our accepted list, your update would be rejected.