Skip to content

Commit

Permalink
add a real landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Nov 22, 2023
1 parent 2044e6b commit c5656db
Showing 1 changed file with 240 additions and 5 deletions.
245 changes: 240 additions & 5 deletions app/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,242 @@
<!DOCTYPE html>
<html>
<body>
<p>Hello open-prices World!</p>
<p>Tip: open /docs for documentation</p>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Open Prices</title>
<link rel="stylesheet"
href="https://static.openfoodfacts.org/css/dist/app-ltr.css?v=1699366348"
data-base-layout="true">
<link rel="stylesheet"
href="https://static.openfoodfacts.org/css/dist/jqueryui/themes/base/jquery-ui.css"
data-base-layout="true">
<link rel="stylesheet"
href="https://static.openfoodfacts.org/css/dist/select2.min.css">
</head>
<body style="background-color: #f9f9f7;">
<style>
.faq-row {
margin-bottom: 2rem !important;
}
</style>
<div class="row">
<div class="medium-centered small-12 medium-8 columns">
<div class="row">
<div class="small-12 columns">
<h1 class="emphasized-title" id="open-prices-title">Open Prices</h1>
<p><em>The open crowdsourced database of food products</em></p>
<h2 class="emphasized-title" id="why-open-prices">Why Open
Prices?</h2>
<p>Open Prices is a project to collect and share prices of food
products around the world. It’s a publicly available dataset
that can be used for research, analysis, and more. Open
Prices is developed and maintained by <a href="https://world.openfoodfacts.org">Open Food Facts</a>.</p>
<p>At present, historical prices of food products are owned by a
few companies that sell them to private companies,
researchers or other organizations and are not freely
accessible. This project aims to change that, by mobilizing
people everywhere to share the prices they see in their
local shops.</p>
<h2 class="emphasized-title" id="how-does-open-prices-work">How
does Open Prices work?</h2>
<p>We’re crowdsourcing an open-source dataset of food prices.
Prices can be added by retailers or hackers through <a
href="https://prices.openfoodfacts.org/docs">our API</a>.
A web and mobile app is in the works to make it easier for
people to add prices.</p>
<p>Open Prices is not only meant to store individual prices, but
consumption baskets, i.e. the list of products that people
buy in a single shopping trip. This data is extremely
interesting for researchers to analyze food consumption
habits.</p>
<p>When possible, we ask contributors to always provide a proof
of the price, in the form of a photo of the price tag or
receipt. This is to ensure the quality of the data and to
make it easier to ensure data quality.</p>
<p>If you’re providing a receipt as the proof image, it means
you agree to submit your consumption basket to Open Prices.
We will anonymize the receipt and make it publicly
available, so that it can be used for research purpose. If
you don’t want to publicly share your receipt, you can still
contribute by taking a picture of the price tag.</p>
<p>The price dataset is licensed under the <a
href="https://opendatacommons.org/licenses/odbl/1.0/">Open
Database License</a>, which means that it can be used
for any purpose, as long as you credit Open Prices and share
any modifications you make to the dataset.</p>
<p>Images submitted as proof are licensed under the <a
href="https://creativecommons.org/licenses/by-sa/4.0/">Creative
Commons Attribution-ShareAlike 4.0 International License</a>.</p>
<h2 class="emphasized-title" id="faq">FAQ</h2>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 .large-offset-1 columns">
<h4 class="emphasized-title" id="what-is-open-food-facts">What
is Open Food Facts?</h4>
</div>
<div class="small-12 medium-8 columns">
<p><a href="https://world.openfoodfacts.org">Open Food Facts</a> is a non-profit organisation that collects
and shares information on food products from around the
world. It’s a collaborative project that relies on
volunteers to collect data. Open Food Facts is the
largest open food products database in the world, with over
3.0 million products in 200 countries.</p>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 .large-offset-1 columns">
<h4 class="emphasized-title"
id="why-is-open-food-facts-doing-this">Why is Open Food
Facts doing this?</h4>
</div>
<div class="small-12 medium-8 columns">
<p>Price information is of paramount importance to
understand
the food system. It’s a key factor in understanding the
cost
of food, of following a healthy diet, and of food waste.
Opening price data is a way to make it easier for
researchers, journalists, and citizens to have a better
understanding of the food system.</p>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 columns">
<h4 class="emphasized-title" id="how-can-i-contribute">How
can I
contribute?</h4>
</div>
<div class="small-12 medium-6 columns end">
<p>You can contribute by adding prices to the dataset. You
can
do so by using <a
href="https://prices.openfoodfacts.org/docs">our API</a>
or by using our web or mobile app (coming soon). You
need an
Open Food Facts account to contribute. If you don’t have
one
yet, you can <a href="https://world.openfoodfacts.org/">create
one here</a>.</p>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 .large-offset-1 columns">
<h4 class="emphasized-title" id="how-can-i-use-the-data">How
can
I use the data?</h4>
</div>
<div class="small-12 medium-8 columns">
<p>The data is available under the <a
href="https://opendatacommons.org/licenses/odbl/1.0/">Open
Database License</a>, which means that it can be
used
for any purpose, as long as you credit Open Prices and
share
any modifications you make to the dataset.</p>
<p>The REST API provides a way to easily access the data. A
data
dump will also be made available soon.</p>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 .large-offset-1 columns">
<h4 class="emphasized-title" id="how-can-i-get-in-touch">How
can
I get in touch?</h4>
</div>
<div class="small-12 medium-8 columns">
<p>You can get in touch with us by sending an email to <a
href="mailto:[email protected]">[email protected]</a>.</p>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 .large-offset-1 columns">
<h4 class="emphasized-title"
id="how-can-i-support-open-prices">How
can I support Open Prices?</h4>
</div>
<div class="small-12 medium-8 columns">
<p>You can support Open Prices by contributing to the
project,
by sharing it with your friends and family, and by <a
href="https://world.openfoodfacts.org/donate-to-open-food-facts">donating
to Open Food Facts</a>.</p>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 .large-offset-1 columns">
<h4 class="emphasized-title"
id="why-cant-i-have-access-to-image-proofs-contributed-by-other-users">Why
can’t I have access to image proofs contributed by other
users?</h4>
</div>
<div class="small-12 medium-8 columns">
<p>We ask contributors to provide a proof of the price, in
the
form of a photo of the price tag or receipt, to ensure
data
quality. We don’t have yet a system to anonymize these
images automatically, so we don’t want to make them
publicly
available, as they may contain personal information.</p>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 .large-offset-1 columns">
<h4 class="emphasized-title"
id="why-do-you-ask-for-an-open-street-map-id-when-i-add-a-price">Why
do you ask for an Open Street Map ID when I add a price?</h4>
</div>
<div class="small-12 medium-8 columns">
<p>We ask for an Open Street Map ID to be able to link the
price
to a specific shop. This is useful to be able to display
the
price on a map, and to be able to analyze regional or
retailer price differences.</p>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 .large-offset-1 columns">
<h4 class="emphasized-title"
id="im-a-retailer-and-i-want-to-contribute-prices.-how-can-i-do-that">I’m
a retailer and I want to contribute prices. How can I do
that?</h4>
</div>
<div class="small-12 medium-8 columns">
<p>You can contribute prices by using <a
href="https://prices.openfoodfacts.org/docs">our API</a>.
If you want to contribute prices at scale, please get in
touch with us at <a
href="mailto:[email protected]">[email protected]</a>.</p>
</div>
</div>
<div class="row faq-row">
<div class="small-12 medium-4 columns">
<h4 class="emphasized-title"
id="do-you-consider-scraping-prices-from-retailers-websites">Do
you consider scraping prices from retailers’ websites?</h4>
</div>
<div class="small-12 medium-8 columns">
<p>For legal and technical reasons, we don’t consider
scraping
prices from retailers’ websites as a valid way to
contribute
to Open Prices. We want to make sure that the prices we
collect are accurate and up-to-date, and receiving
scraped
prices from contributors doesn’t allow us to do that.</p>
<p>Price scraping is a considered option in a future version
of
Open Prices, but it would be done by Open Prices itself
so
that we can have a proof of the price based on the
HTML
page.</p>
</div>
</div>
</div>
</div>
</body>
</html>
</html>

0 comments on commit c5656db

Please sign in to comment.