Skip to content

Instantly share code, notes, and snippets.

@parkerproject
Created October 8, 2014 16:27
Show Gist options
  • Save parkerproject/1116b2eb9bde029f5c20 to your computer and use it in GitHub Desktop.
Save parkerproject/1116b2eb9bde029f5c20 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
/* Below is the structure of the JSON data that will be stored in MongoDB */
{
"title" : "" // item name
"image_url" : "" // item image link from single page
"description" : "" // item detail
"url" : "" // final url to buy the item
"price" : "" // price of item
"value" : "" // savings value in any
"savings" : "" //saving in percentage if any
"provider_name" : "" // deals provide, e.g groupon, etc.
"category_name" : "" // category name, e.g spas, etc
"number_sold" : "" // amount of deal sold
"merchant_name" : "" // name of merchant
"merchant_address" : "" // address of merchant
"merchant_locality" : "" // city of merchant
"merchant_region" : "" // state of merchant
"expires_at" : "" // expiration date of deal
"small_image_url" : "" //small image grab from list page
}
</script>
<script id="jsbin-source-javascript" type="text/javascript">/* Below is the structure of the JSON data that will be stored in MongoDB */
{
"title" : "" // item name
"image_url" : "" // item image link from single page
"description" : "" // item detail
"url" : "" // final url to buy the item
"price" : "" // price of item
"value" : "" // savings value in any
"savings" : "" //saving in percentage if any
"provider_name" : "" // deals provide, e.g groupon, etc.
"category_name" : "" // category name, e.g spas, etc
"number_sold" : "" // amount of deal sold
"merchant_name" : "" // name of merchant
"merchant_address" : "" // address of merchant
"merchant_locality" : "" // city of merchant
"merchant_region" : "" // state of merchant
"expires_at" : "" // expiration date of deal
"small_image_url" : "" //small image grab from list page
}
</script></body>
</html>
/* Below is the structure of the JSON data that will be stored in MongoDB */
{
"title" : "" // item name
"image_url" : "" // item image link from single page
"description" : "" // item detail
"url" : "" // final url to buy the item
"price" : "" // price of item
"value" : "" // savings value in any
"savings" : "" //saving in percentage if any
"provider_name" : "" // deals provide, e.g groupon, etc.
"category_name" : "" // category name, e.g spas, etc
"number_sold" : "" // amount of deal sold
"merchant_name" : "" // name of merchant
"merchant_address" : "" // address of merchant
"merchant_locality" : "" // city of merchant
"merchant_region" : "" // state of merchant
"expires_at" : "" // expiration date of deal
"small_image_url" : "" //small image grab from list page
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment