Created
October 8, 2014 16:27
-
-
Save parkerproject/1116b2eb9bde029f5c20 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/kebek/1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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