Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
API
(view source)
Revision as of 11:56, 10 May 2016
141 bytes added
,
11:56, 10 May 2016
→Add nutrition facts values, units and base
Line 299:
Line 299:
<pre>no_nutriments : indicates if the nutrition facts are indicated on the food label</pre>
<pre>no_nutriments : indicates if the nutrition facts are indicated on the food label</pre>
===== Add nutrition facts values, units and base =====
===== Add nutrition facts values, units and base =====
+
====== Define the basis for the values ======
+
<pre>nutrition_data_per=100g</pre>
+
<br>'''OR'''<br>
+
<pre>nutrition_data_per=serving</pre>
+
<pre>serving_size=38g</pre>
+
+
====== Input values and units ======
<pre>nutriment_energy=450</pre>
<pre>nutriment_energy=450</pre>
<pre>nutriment_energy_unit=kJ</pre>
<pre>nutriment_energy_unit=kJ</pre>
−
<pre>nutrition_data_per=serving</pre>
+
−
<pre>serving_size</pre>
====== Values ======
====== Values ======
<pre>
<pre>
Teolemon
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
6,700
edits
Navigation menu
Personal tools
English
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
📍Where am I?
🍊Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
🧴 Open Beauty Facts wiki
Main page
Deep dive per topic
All topics
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages