livingsocial 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/.rspec +1 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/lib/livingsocial.rb +5 -0
- data/lib/livingsocial/daily_deal.rb +17 -0
- data/lib/livingsocial/daily_deal_builder.rb +55 -0
- data/lib/livingsocial/national_deal.rb +17 -0
- data/lib/livingsocial/national_deal_builder.rb +58 -0
- data/lib/livingsocial/version.rb +3 -0
- data/livingsocial.gemspec +20 -0
- data/spec/fixtures/city_deal_page.html +1794 -0
- data/spec/fixtures/national_deal_page.html +762 -0
- data/spec/lib/daily_deal_builder_spec.rb +66 -0
- data/spec/lib/national_deal_builder_spec.rb +66 -0
- data/spec/spec_helper.rb +1 -0
- metadata +90 -0
@@ -0,0 +1,762 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--[if lt IE 7 ]> <html class="ie ie6 oldie" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
|
3
|
+
<!--[if IE 7 ]> <html class="ie ie7 oldie" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
|
4
|
+
<!--[if IE 8 ]> <html class="ie ie8 oldie" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
|
5
|
+
<!--[if IE 9 ]> <html class="ie9" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
|
6
|
+
<!--[if (gt IE 9)|!(IE)]><!--><html lang="en" xmlns:fb="http://www.facebook.com/2008/fbml"><!--<![endif]-->
|
7
|
+
<head prefix="og: http://ogp.me/ns# livingsocial: http://ogp.me/ns/apps/livingsocial#">
|
8
|
+
<script type="text/javascript">var NREUMQ=NREUMQ||[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);</script>
|
9
|
+
<meta charset="utf-8">
|
10
|
+
|
11
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
12
|
+
<title>Nationwide Deals - LivingSocial</title>
|
13
|
+
<base target="_top">
|
14
|
+
|
15
|
+
<meta content="noodp,noydir" name="robots" />
|
16
|
+
<meta content="LivingSocial Deals has a deal per day in multiple cities of up to 90% off at restaurants, bars, spas, comedy clubs, sporting events, theaters, classes, retailers, hotels, salons and more." name="description" />
|
17
|
+
<meta name="keywords" content="LivingSocial, daily deal">
|
18
|
+
<meta content="Nationwide Deals - LivingSocial" name="title" />
|
19
|
+
<link href="http://www.livingsocial.com/nationwide" rel="canonical" />
|
20
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-type" />
|
21
|
+
<link href="/deals/images/mobile/apple-touch-icon.png" rel="apple-touch-icon" />
|
22
|
+
|
23
|
+
<link href="http://livingsocial.com/cities/1-washington-d-c.atom" rel="alternate" title="LivingSocial - Washington, D.C." type="application/atom+xml" />
|
24
|
+
|
25
|
+
<link href="http://a1.lscdn.net/deals/system/stylesheets/bingy-85fb0754c5565eab8bdc0a2f55908f3b.css" media="screen" rel="stylesheet" type="text/css" />
|
26
|
+
<link href="http://a1.lscdn.net/deals/system/stylesheets/pages-077d0464ff4b1de41e50caed127ae93b.css" media="screen" rel="stylesheet" type="text/css" />
|
27
|
+
|
28
|
+
<!--[if IE]><link href="http://a1.lscdn.net/deals/system/stylesheets/bingy_ie-14723c79fa57f4cb99db756b87885695.css" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
|
29
|
+
<!--[if lt IE 7 ]><link href="http://a1.lscdn.net/deals/system/stylesheets/bingy_ie6-bc51eb3fd06845be55c02c229afe9d7b.css" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
|
30
|
+
<div id="fb-root"></div>
|
31
|
+
|
32
|
+
<script>
|
33
|
+
_ls = [];
|
34
|
+
_ls.queue = Array.prototype.push;
|
35
|
+
FBAppKey = '48187595837';
|
36
|
+
if (!dls) { var dls = { global: {} }; }
|
37
|
+
dls.tld = "livingsocial.com";
|
38
|
+
dls.cupcake = "subscribe.livingsocial.com";
|
39
|
+
dls.services = "livingsocial.com/services";
|
40
|
+
dls.isSSL = ("https:" == document.location.protocol);
|
41
|
+
dls.fbKey = '48187595837';
|
42
|
+
dls.mobile = false;
|
43
|
+
dls.environment = "production";
|
44
|
+
dls.isHomePage = null;
|
45
|
+
|
46
|
+
dls.viewer = {};
|
47
|
+
dls.mePresent = false;
|
48
|
+
|
49
|
+
dls.preferredCity = {"image":"http://a0.ak.lscdn.net/imgs/f46dfdf1-6638-4847-9274-6dac85f27bd2/original_q60.jpg","name":"Washington, D.C.","id":1,"thumb":"http://a0.ak.lscdn.net/imgs/f46dfdf1-6638-4847-9274-6dac85f27bd2/100.jpg"};
|
50
|
+
|
51
|
+
dls.i18n = {currency: {"precision":2,"escapes":"$","delimiter":",","format":"%u%n","unit":"$","separator":"."} };
|
52
|
+
</script>
|
53
|
+
|
54
|
+
<script src="http://a1.lscdn.net/deals/system/javascripts/stached-2538a80027dff2b715ea4e6bdc3cb6a9.js" type="text/javascript"></script><script src="http://a1.lscdn.net/deals/system/javascripts/journal-0a5adc12c7b2f1285ab5c9880edcf5fe.js" type="text/javascript"></script>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
<style> html{display : none ; } </style>
|
63
|
+
<script>
|
64
|
+
if( self == top ) {
|
65
|
+
document.documentElement.style.display = 'block' ;
|
66
|
+
} else {
|
67
|
+
top.location = self.location ;
|
68
|
+
}
|
69
|
+
</script>
|
70
|
+
|
71
|
+
|
72
|
+
</head>
|
73
|
+
|
74
|
+
<body>
|
75
|
+
|
76
|
+
<div id="background">
|
77
|
+
<div class="fader"> </div>
|
78
|
+
<div class="stretch-image" style="background-image:url(http://a0.ak.lscdn.net/imgs/f46dfdf1-6638-4847-9274-6dac85f27bd2/100.jpg);"></div>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
<div id="masthead" class="span12">
|
84
|
+
<div class="nest">
|
85
|
+
<div id="new-badge" class="clearfix">
|
86
|
+
|
87
|
+
<span id="target-de795be75377223e"> <ul class="actions">
|
88
|
+
|
89
|
+
|
90
|
+
<li class="my-account"><a href="/vouchers">my vouchers</a></li>
|
91
|
+
<li><a href="/login">Log in</a></li>
|
92
|
+
<li><a href="/signup">Sign up</a></li>
|
93
|
+
</ul>
|
94
|
+
</span>
|
95
|
+
<script id="template-de795be75377223e" type="text/mustache"> {{#me.loggedIn}}
|
96
|
+
<ul class="actions">
|
97
|
+
|
98
|
+
{{#toggle_languages}}
|
99
|
+
<li class="locale-picker">
|
100
|
+
<a href="?locale={{code}}">{{name}}</a>
|
101
|
+
</li>
|
102
|
+
{{/toggle_languages}}
|
103
|
+
|
104
|
+
|
105
|
+
<li id="notifications-tab">
|
106
|
+
<span class="notifications-count"></span>
|
107
|
+
</li>
|
108
|
+
|
109
|
+
{{#me.merchant}}
|
110
|
+
<li class="merchant-center">
|
111
|
+
<a href="http://livingsocial.com/merchant" class="merchant-center">Merchant Center</a>
|
112
|
+
</li>
|
113
|
+
{{/me.merchant}}
|
114
|
+
|
115
|
+
<li class="my-account">
|
116
|
+
<a href="/vouchers">my vouchers</a>
|
117
|
+
</li>
|
118
|
+
|
119
|
+
<li class="user{{#me.isfbVisible}} fb-badge{{/me.isfbVisible}}">
|
120
|
+
<div class="user-content">
|
121
|
+
<a href="/purchases" class="user-name" id="my-account-handle"> {{#me.isfbVisible}}
|
122
|
+
<span class="thumb" id="facebook-icon">
|
123
|
+
</span>
|
124
|
+
{{/me.isfbVisible}}
|
125
|
+
<span class="name" {{#me.isfbVisible}}id="facebook_display_name"{{/me.isfbVisible}}>{{ me.display_name }} </span>
|
126
|
+
<span class="arrow"> </span>
|
127
|
+
</a> </div>
|
128
|
+
</li>
|
129
|
+
</ul>
|
130
|
+
|
131
|
+
<ul id="my-account" class="my-account" style="display:none">
|
132
|
+
<li class="carrot"> </li>
|
133
|
+
<li class="my-vouchers first">
|
134
|
+
<a href="/vouchers">my vouchers</a>
|
135
|
+
</li>
|
136
|
+
{{#me.is_beta}}
|
137
|
+
<li class="local-feed-tab">
|
138
|
+
<a href="/deals/beta/feed">Local Feed</a>
|
139
|
+
</li>
|
140
|
+
{{/me.is_beta}}
|
141
|
+
<li class="deal-bucks">
|
142
|
+
<a href="/deals/people/deal_bucks">deal bucks</a>
|
143
|
+
</li>
|
144
|
+
<li class="purchase-history">
|
145
|
+
<a href="/purchases">purchase history</a>
|
146
|
+
</li>
|
147
|
+
<li class="subscriptions">
|
148
|
+
<a href="/deals/people/subscriptions">subscriptions</a>
|
149
|
+
</li>
|
150
|
+
<li class="account-settings">
|
151
|
+
<a href="/deals/people/settings">my account</a>
|
152
|
+
</li>
|
153
|
+
<li class="log-out last">
|
154
|
+
{{#me.isfb}}
|
155
|
+
<a href="#" onclick="return dls.fbConnect.logout();">sign out</a>
|
156
|
+
{{/me.isfb}}
|
157
|
+
{{^me.isfb}}
|
158
|
+
<a href="#" onclick="return dls.logout();">sign out</a>
|
159
|
+
{{/me.isfb}}
|
160
|
+
</li>
|
161
|
+
</ul>
|
162
|
+
{{/me.loggedIn}}
|
163
|
+
{{^me.loggedIn}}
|
164
|
+
<ul class="actions">
|
165
|
+
|
166
|
+
{{#toggle_languages}}
|
167
|
+
<li class="locale-picker">
|
168
|
+
<a href="?locale={{code}}">{{name}}</a>
|
169
|
+
</li>
|
170
|
+
{{/toggle_languages}}
|
171
|
+
|
172
|
+
<li class="my-account"><a href="/vouchers">my vouchers</a></li>
|
173
|
+
<li><a href="/login">Log in</a></li>
|
174
|
+
<li><a href="/signup">Sign up</a></li>
|
175
|
+
</ul>
|
176
|
+
{{/me.loggedIn}}
|
177
|
+
</script>
|
178
|
+
|
179
|
+
<script>
|
180
|
+
(function() {
|
181
|
+
Stached.expireCheck();
|
182
|
+
// {"hide":true,"template_key":"control_bar_v2","when":{"cookie":"viewer"},"name":"me"}
|
183
|
+
var options = {"hide":true,"template_key":"control_bar_v2","name":"me"};
|
184
|
+
var frame = ["de795be75377223e", {"me":[{"url":"/me/info.json","when":{"cookie":"viewer"},"cache":"page","ts":true},{"object":{"loggedIn":false}},{"object":"Me"},{"object":"FbMe"}]}, options];
|
185
|
+
var when = {"cookie":"viewer"};
|
186
|
+
|
187
|
+
if (when && typeof(when) == 'object' && when.cookie && document.cookie.match(when.cookie) && Cache.Cookie.Helpers.readFor(when.cookie)) {
|
188
|
+
Stached.render.call(frame);
|
189
|
+
}
|
190
|
+
else {
|
191
|
+
Stached.render.call(frame);
|
192
|
+
}
|
193
|
+
})();
|
194
|
+
</script>
|
195
|
+
</div>
|
196
|
+
<form action="/deals/people/logout" id="sign-out-form" method="post" style="display:none"><div style="margin:0;padding:0;display:inline"><input name="authenticity_token" type="hidden" value="MNVe2zfYObuA996msyBuRZkI4Bq6RroMbvuxVLmndxM=" /></div></form>
|
197
|
+
|
198
|
+
</div>
|
199
|
+
</div>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<div id="page" class="container_16 clearfix external www external-www pages pages-nationwide_deals">
|
204
|
+
<div id="page-wrapper">
|
205
|
+
<div class="grid_4 nav">
|
206
|
+
<h1 id="brand">
|
207
|
+
<a href="http://www.livingsocial.com/" class="ir livingsocial-logo ">LivingSocial</a></h1>
|
208
|
+
<div id="left-navigation">
|
209
|
+
<script type="text/javascript" charset="utf-8">
|
210
|
+
City = {
|
211
|
+
id: 1,
|
212
|
+
home_city: function() {
|
213
|
+
var home_city = {};
|
214
|
+
var hc = decodeURIComponent(Cache.Cookie.Helpers.readFor('home_city'));
|
215
|
+
try { home_city = JSON.parse(hc); } catch(e) {}
|
216
|
+
return home_city;
|
217
|
+
},
|
218
|
+
home_city_name: function() {
|
219
|
+
return this.home_city()['name'].replace(/\+/g,' ');
|
220
|
+
},
|
221
|
+
home_city_id: function() {
|
222
|
+
return this.home_city()['id'];
|
223
|
+
},
|
224
|
+
show_home_city: function() {
|
225
|
+
return function() {
|
226
|
+
if (this.city.home_city() && this.city.home_city()['id']) {
|
227
|
+
return true;
|
228
|
+
}
|
229
|
+
return false;
|
230
|
+
}
|
231
|
+
},
|
232
|
+
has_my_cities: function() {
|
233
|
+
return function() {
|
234
|
+
var viewer = this.me;
|
235
|
+
if (viewer.city_id || this.city.show_home_city()) {
|
236
|
+
return true;
|
237
|
+
} else {
|
238
|
+
return false;
|
239
|
+
}
|
240
|
+
}
|
241
|
+
},
|
242
|
+
valid_home_city: function() {
|
243
|
+
return function() {
|
244
|
+
return true;
|
245
|
+
}
|
246
|
+
},
|
247
|
+
my_cities: function() {
|
248
|
+
return function() {
|
249
|
+
var viewer = this.me;
|
250
|
+
var me_cities = viewer.cities;
|
251
|
+
var output = "";
|
252
|
+
for (var city_id in viewer.subs)
|
253
|
+
{
|
254
|
+
try {
|
255
|
+
var me_city = me_cities[city_id];
|
256
|
+
if (me_city['home'] == 0) {
|
257
|
+
output += "<li class='city-id-"+city_id+"'><a href='/cities/"+city_id+"'>"+me_city['name']+"</a></li>";
|
258
|
+
}
|
259
|
+
} catch(err) {}
|
260
|
+
}
|
261
|
+
return output;
|
262
|
+
}
|
263
|
+
},
|
264
|
+
home_city_button: function() {
|
265
|
+
return function() {
|
266
|
+
var city = this.city, cookie_city = Cache.Cookie.Helpers.readFor("home_city");
|
267
|
+
var home_city = city.home_city();
|
268
|
+
if ( home_city && home_city['id'] == this.city.id) {
|
269
|
+
return ["is-home-city", "This is your home city"];
|
270
|
+
} else {
|
271
|
+
return ["set-home-city", "Set this as my home city"];
|
272
|
+
}
|
273
|
+
}
|
274
|
+
},
|
275
|
+
home_city_button_text: function() {
|
276
|
+
var home_city_button = this.home_city_button();
|
277
|
+
return function() {
|
278
|
+
return home_city_button.call(this)[1];
|
279
|
+
}
|
280
|
+
},
|
281
|
+
home_city_button_css: function() {
|
282
|
+
var home_city_button = this.home_city_button();
|
283
|
+
return function() {
|
284
|
+
return home_city_button.call(this)[0];
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
var stached_render_city_picker = 0;
|
289
|
+
Stached.on("render:city_picker", function(evt) { ++stached_render_city_picker; });
|
290
|
+
</script>
|
291
|
+
<h2 id="current-city">
|
292
|
+
<a href="/cities/1-washington-d-c" class="market">Washington, D.C.</a>
|
293
|
+
</h2>
|
294
|
+
|
295
|
+
|
296
|
+
<span id="target-b770edc9e343807c"><div id="market-nav" class="market-nav change-city">
|
297
|
+
<ul>
|
298
|
+
<li class="my-cities">
|
299
|
+
<a href="/login?dest=%2Fdeals%2Fpeople%2Fsubscriptions" class="my-cities">Log in to view my cities »</a>
|
300
|
+
<ul>
|
301
|
+
</ul>
|
302
|
+
</li>
|
303
|
+
<li class="nearby-cities">
|
304
|
+
<a href="/" class="nearby-cities">Near washington, d.c.</a>
|
305
|
+
<ul>
|
306
|
+
<li><a href="/cities/1165-arlington-alexandria">arlington / alexandria</a></li>
|
307
|
+
<li><a href="/cities/229-fairfax-county">fairfax county</a></li>
|
308
|
+
<li><a href="/cities/1171-georgetown-foggy-bottom">georgetown / foggy bottom</a></li>
|
309
|
+
<li><a href="/cities/230-montgomery-county">montgomery county</a></li>
|
310
|
+
<li><a href="/cities/1-washington-d-c/more_cities" class="view-all">Browse all cities & countries »</a></li>
|
311
|
+
</ul>
|
312
|
+
</li>
|
313
|
+
</ul>
|
314
|
+
</div>
|
315
|
+
</span>
|
316
|
+
<script id="template-b770edc9e343807c" type="text/mustache"><div id="market-nav" class="market-nav change-city">
|
317
|
+
{{#city.valid_home_city}}
|
318
|
+
<h2 id="set-market" class="set-market {{city.home_city_button_css}}">
|
319
|
+
<a href='#' class='market-button'>{{city.home_city_button_text}}</a>
|
320
|
+
</h2>
|
321
|
+
{{/city.valid_home_city}}
|
322
|
+
<ul>
|
323
|
+
<li class="my-cities">
|
324
|
+
{{#me.loggedIn}}
|
325
|
+
<a href="/" class="my-cities">My cities</a>
|
326
|
+
{{/me.loggedIn}}
|
327
|
+
{{^me.loggedIn}}
|
328
|
+
<a href="/login?dest=%2Fdeals%2Fpeople%2Fsubscriptions" class="my-cities">Log in to view my cities »</a>
|
329
|
+
{{/me.loggedIn}}
|
330
|
+
<ul>
|
331
|
+
{{#city.has_my_cities}}
|
332
|
+
{{#city.show_home_city}}
|
333
|
+
<li class='home city-id-{{city.home_city_id}}'><a href="/">{{city.home_city_name}} <span class="home-market"> </span></a></li>
|
334
|
+
{{/city.show_home_city}}
|
335
|
+
{{{city.my_cities}}}
|
336
|
+
{{#me.loggedIn}}
|
337
|
+
<li><a href="/deals/people/subscriptions" class="view-all">View all my cities »</a></li>
|
338
|
+
{{/me.loggedIn}}
|
339
|
+
{{/city.has_my_cities}}
|
340
|
+
</ul>
|
341
|
+
</li>
|
342
|
+
<li class="nearby-cities">
|
343
|
+
<a href="/" class="nearby-cities">Near washington, d.c.</a>
|
344
|
+
<ul>
|
345
|
+
<li><a href="/cities/1165-arlington-alexandria">arlington / alexandria</a></li>
|
346
|
+
<li><a href="/cities/229-fairfax-county">fairfax county</a></li>
|
347
|
+
<li><a href="/cities/1171-georgetown-foggy-bottom">georgetown / foggy bottom</a></li>
|
348
|
+
<li><a href="/cities/230-montgomery-county">montgomery county</a></li>
|
349
|
+
<li><a href="/cities/1-washington-d-c/more_cities" class="view-all">Browse all cities & countries »</a></li>
|
350
|
+
</ul>
|
351
|
+
</li>
|
352
|
+
</ul>
|
353
|
+
</div>
|
354
|
+
</script>
|
355
|
+
|
356
|
+
<script>
|
357
|
+
(function() {
|
358
|
+
Stached.expireCheck();
|
359
|
+
// {"hide":false,"name":"city_picker"}
|
360
|
+
var options = {"hide":false,"name":"city_picker"};
|
361
|
+
var frame = ["b770edc9e343807c", {"city":[{"object":"City"}],"me":[{"url":"/me/info.json","when":{"cookie":"viewer"},"cache":"page","ts":true},{"object":{"loggedIn":false}},{"object":"Me"},{"object":"FbMe"}]}, options];
|
362
|
+
var when = null;
|
363
|
+
|
364
|
+
if (when && typeof(when) == 'object' && when.cookie && document.cookie.match(when.cookie) && Cache.Cookie.Helpers.readFor(when.cookie)) {
|
365
|
+
Stached.render.call(frame);
|
366
|
+
}
|
367
|
+
else {
|
368
|
+
Stached.render.call(frame);
|
369
|
+
}
|
370
|
+
})();
|
371
|
+
</script>
|
372
|
+
|
373
|
+
<ul>
|
374
|
+
<li class="daily-deal">
|
375
|
+
<a href="http://www.livingsocial.com/cities/1-washington-d-c">today's deals</a>
|
376
|
+
</li>
|
377
|
+
|
378
|
+
<li class="nationwide selected">
|
379
|
+
<a href="/nationwide?preferred_city=1-washington-d-c">nationwide deals</a>
|
380
|
+
</li>
|
381
|
+
|
382
|
+
<li class="families new">
|
383
|
+
<a href="http://www.livingsocial.com/cities/1-washington-d-c/families">families</a>
|
384
|
+
</li>
|
385
|
+
|
386
|
+
<li class="at_home">
|
387
|
+
<a href="http://www.livingsocial.com/cities/1-washington-d-c/at-home">at home</a>
|
388
|
+
</li>
|
389
|
+
|
390
|
+
<li class="escapes">
|
391
|
+
<a href="http://www.livingsocial.com/cities/1-washington-d-c/escapes">escapes</a>
|
392
|
+
</li>
|
393
|
+
|
394
|
+
<li class="adventures">
|
395
|
+
<a href="http://www.livingsocial.com/cities/1-washington-d-c/adventures">adventures</a>
|
396
|
+
</li>
|
397
|
+
|
398
|
+
<li class="gourmet">
|
399
|
+
<a href="http://www.livingsocial.com/cities/1-washington-d-c/gourmet">gourmet</a>
|
400
|
+
</li>
|
401
|
+
|
402
|
+
<li class="takeout-delivery">
|
403
|
+
<a href="/instant?preferred_city=1-washington-d-c&ref=nav">takeout & delivery</a>
|
404
|
+
</li>
|
405
|
+
|
406
|
+
|
407
|
+
<li class="events">
|
408
|
+
<a href="http://www.livingsocial.com/events/cities/1">live events</a>
|
409
|
+
</li>
|
410
|
+
|
411
|
+
<li class="how-it-works border ">
|
412
|
+
<a href="/deals/how_it_works">how it works</a>
|
413
|
+
</li>
|
414
|
+
|
415
|
+
<li class="more-cities last ">
|
416
|
+
<a href="/cities/1-washington-d-c/more_cities">more cities</a>
|
417
|
+
</li>
|
418
|
+
|
419
|
+
</ul>
|
420
|
+
|
421
|
+
<div class="instant-left-promo" id="instant-left-promo"></div>
|
422
|
+
|
423
|
+
<div class="refer-nav refer-friend" id="ad_spot_nav" style="display:none;">
|
424
|
+
<h2>Invite a friend</h2>
|
425
|
+
<p>Get a friend to sign up for <i>LivingSocial</i> and earn 5 <i>Deal Bucks</i> for you both.
|
426
|
+
<a href="#" class="go" id="ad_spot_nav_link">learn more »</a>
|
427
|
+
</p>
|
428
|
+
</div>
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
<a href="#" id="mhl_left_nav_link"><span></span></a>
|
434
|
+
</div>
|
435
|
+
|
436
|
+
</div>
|
437
|
+
|
438
|
+
<div class="grid_12">
|
439
|
+
|
440
|
+
|
441
|
+
<div id="main">
|
442
|
+
<script>
|
443
|
+
__flash = [];
|
444
|
+
__flash.push(['show', '#flash', 'bingy']);
|
445
|
+
</script>
|
446
|
+
<div id="flash">
|
447
|
+
</div>
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
<div class="panel panel-with-header ">
|
453
|
+
<div class="title header ">
|
454
|
+
<h1>Nationwide Deals</h1>
|
455
|
+
</div>
|
456
|
+
<div class="panel-body">
|
457
|
+
|
458
|
+
<div class="panel-innards clearfix">
|
459
|
+
|
460
|
+
|
461
|
+
<div class="national-body">
|
462
|
+
|
463
|
+
|
464
|
+
<ul class="flexdeals daily clearfix">
|
465
|
+
<li>
|
466
|
+
<h3><a href="/cities/1-washington-d-c/deals/379394-customized-20-page-hardcover-photo-book">Picaboo</a></h3>
|
467
|
+
<h4><a href="/cities/1-washington-d-c/deals/379394-customized-20-page-hardcover-photo-book">Customized 20-Page Hardcover Photo Book</a></h4>
|
468
|
+
<a href="/cities/1-washington-d-c/deals/379394-customized-20-page-hardcover-photo-book"><img alt="D520175d-cbc1-4063-a2f8-ac9155c44d12" src="http://lscdn.net/imgs/d520175d-cbc1-4063-a2f8-ac9155c44d12" /></a>
|
469
|
+
<p>
|
470
|
+
<del>$40</del>
|
471
|
+
<span class="price"><sup class="dollar_sign">$</sup>10</span>
|
472
|
+
<a href="/cities/1-washington-d-c/deals/379394-customized-20-page-hardcover-photo-book" class="button seventh medium">View deal</a>
|
473
|
+
</p>
|
474
|
+
</li>
|
475
|
+
<li>
|
476
|
+
<h3><a href="/cities/1-washington-d-c/deals/382298-personalized-canvas-print">Canvas People</a></h3>
|
477
|
+
<h4><a href="/cities/1-washington-d-c/deals/382298-personalized-canvas-print">Personalized Canvas Print</a></h4>
|
478
|
+
<a href="/cities/1-washington-d-c/deals/382298-personalized-canvas-print"><img alt="15f0a8bf-9579-4893-b021-3d3b7f32f938" src="http://lscdn.net/imgs/15f0a8bf-9579-4893-b021-3d3b7f32f938" /></a>
|
479
|
+
<p>
|
480
|
+
<del>$85</del>
|
481
|
+
<span class="price"><sup class="dollar_sign">$</sup>25</span>
|
482
|
+
<a href="/cities/1-washington-d-c/deals/382298-personalized-canvas-print" class="button seventh medium">View deal</a>
|
483
|
+
</p>
|
484
|
+
</li>
|
485
|
+
<li>
|
486
|
+
<h3><a href="/cities/1-washington-d-c/deals/372526-filtering-water-bottle">Hydros Bottle</a></h3>
|
487
|
+
<h4><a href="/cities/1-washington-d-c/deals/372526-filtering-water-bottle">Filtering Water Bottle</a></h4>
|
488
|
+
<a href="/cities/1-washington-d-c/deals/372526-filtering-water-bottle"><img alt="8762376e-29b0-469b-ac3f-3780b8488274" src="http://lscdn.net/imgs/8762376e-29b0-469b-ac3f-3780b8488274" /></a>
|
489
|
+
<p>
|
490
|
+
<del>$28</del>
|
491
|
+
<span class="price"><sup class="dollar_sign">$</sup>14</span>
|
492
|
+
<a href="/cities/1-washington-d-c/deals/372526-filtering-water-bottle" class="button seventh medium">View deal</a>
|
493
|
+
</p>
|
494
|
+
</li>
|
495
|
+
<li>
|
496
|
+
<h3><a href="/cities/1-washington-d-c/deals/380844-30-to-spend-on-flowers">1800Flowers.com</a></h3>
|
497
|
+
<h4><a href="/cities/1-washington-d-c/deals/380844-30-to-spend-on-flowers">$30 to Spend on Flowers</a></h4>
|
498
|
+
<a href="/cities/1-washington-d-c/deals/380844-30-to-spend-on-flowers"><img alt="7bb0cd9f-f534-4735-b824-466aa59229cb" src="http://lscdn.net/imgs/7bb0cd9f-f534-4735-b824-466aa59229cb" /></a>
|
499
|
+
<p>
|
500
|
+
<del>$30</del>
|
501
|
+
<span class="price"><sup class="dollar_sign">$</sup>15</span>
|
502
|
+
<a href="/cities/1-washington-d-c/deals/380844-30-to-spend-on-flowers" class="button seventh medium">View deal</a>
|
503
|
+
</p>
|
504
|
+
</li>
|
505
|
+
<li>
|
506
|
+
<h3><a href="/cities/1-washington-d-c/deals/379406-50-to-spend-on-clothing-and-accessories">MakeMeChic.com</a></h3>
|
507
|
+
<h4><a href="/cities/1-washington-d-c/deals/379406-50-to-spend-on-clothing-and-accessories">$50 to Spend on Clothing and Accessories</a></h4>
|
508
|
+
<a href="/cities/1-washington-d-c/deals/379406-50-to-spend-on-clothing-and-accessories"><img alt="A42a6867-c42c-475e-a95f-dd81b5ef6e93" src="http://lscdn.net/imgs/a42a6867-c42c-475e-a95f-dd81b5ef6e93" /></a>
|
509
|
+
<p>
|
510
|
+
<del>$50</del>
|
511
|
+
<span class="price"><sup class="dollar_sign">$</sup>25</span>
|
512
|
+
<a href="/cities/1-washington-d-c/deals/379406-50-to-spend-on-clothing-and-accessories" class="button seventh medium">View deal</a>
|
513
|
+
</p>
|
514
|
+
</li>
|
515
|
+
<li>
|
516
|
+
<h3><a href="/cities/1-washington-d-c/deals/381238-50-to-spend-on-barbecue-meats-sauces-and-more">Pig of the Month BBQ</a></h3>
|
517
|
+
<h4><a href="/cities/1-washington-d-c/deals/381238-50-to-spend-on-barbecue-meats-sauces-and-more">$50 to Spend on Barbecue Meats, Sauces, and More</a></h4>
|
518
|
+
<a href="/cities/1-washington-d-c/deals/381238-50-to-spend-on-barbecue-meats-sauces-and-more"><img alt="D6f8db83-6aeb-4432-af59-48e22145bb4e" src="http://lscdn.net/imgs/d6f8db83-6aeb-4432-af59-48e22145bb4e" /></a>
|
519
|
+
<p>
|
520
|
+
<del>$50</del>
|
521
|
+
<span class="price"><sup class="dollar_sign">$</sup>25</span>
|
522
|
+
<a href="/cities/1-washington-d-c/deals/381238-50-to-spend-on-barbecue-meats-sauces-and-more" class="button seventh medium">View deal</a>
|
523
|
+
</p>
|
524
|
+
</li>
|
525
|
+
<li>
|
526
|
+
<h3><a href="/cities/1-washington-d-c/deals/386052-50-to-spend-on-iphone-and-macbook-accessories">Incase</a></h3>
|
527
|
+
<h4><a href="/cities/1-washington-d-c/deals/386052-50-to-spend-on-iphone-and-macbook-accessories">$50 to Spend on iPhone and MacBook Accessories</a></h4>
|
528
|
+
<a href="/cities/1-washington-d-c/deals/386052-50-to-spend-on-iphone-and-macbook-accessories"><img alt="81b3cc3d-af03-4d9f-abb5-ad60cbbb5b08" src="http://lscdn.net/imgs/81b3cc3d-af03-4d9f-abb5-ad60cbbb5b08" /></a>
|
529
|
+
<p>
|
530
|
+
<del>$50</del>
|
531
|
+
<span class="price"><sup class="dollar_sign">$</sup>25</span>
|
532
|
+
<a href="/cities/1-washington-d-c/deals/386052-50-to-spend-on-iphone-and-macbook-accessories" class="button seventh medium">View deal</a>
|
533
|
+
</p>
|
534
|
+
</li>
|
535
|
+
<li>
|
536
|
+
<h3><a href="/cities/1-washington-d-c/deals/388472-care-package-or-other-morale-efforts-for-us-troops">USO</a></h3>
|
537
|
+
<h4><a href="/cities/1-washington-d-c/deals/388472-care-package-or-other-morale-efforts-for-us-troops">Care Package or Other Morale Efforts for US Troops</a></h4>
|
538
|
+
<a href="/cities/1-washington-d-c/deals/388472-care-package-or-other-morale-efforts-for-us-troops"><img alt="Bd582672-e45e-41db-a5bf-8cb1bcbb465f" src="http://lscdn.net/imgs/bd582672-e45e-41db-a5bf-8cb1bcbb465f" /></a>
|
539
|
+
<p>
|
540
|
+
<del>$50</del>
|
541
|
+
<span class="price"><sup class="dollar_sign">$</sup>25</span>
|
542
|
+
<a href="/cities/1-washington-d-c/deals/388472-care-package-or-other-morale-efforts-for-us-troops" class="button seventh medium">View deal</a>
|
543
|
+
</p>
|
544
|
+
</li>
|
545
|
+
<li>
|
546
|
+
<h3><a href="/cities/1-washington-d-c/deals/378214-two-year-magazine-subscription">Bonnier Corporation</a></h3>
|
547
|
+
<h4><a href="/cities/1-washington-d-c/deals/378214-two-year-magazine-subscription">Two-Year Magazine Subscription</a></h4>
|
548
|
+
<a href="/cities/1-washington-d-c/deals/378214-two-year-magazine-subscription"><img alt="D3a06ca0-ae61-4607-a19b-7569d0242ad7" src="http://lscdn.net/imgs/d3a06ca0-ae61-4607-a19b-7569d0242ad7" /></a>
|
549
|
+
<p>
|
550
|
+
<del>$20</del>
|
551
|
+
<span class="price"><sup class="dollar_sign">$</sup>10</span>
|
552
|
+
<a href="/cities/1-washington-d-c/deals/378214-two-year-magazine-subscription" class="button seventh medium">View deal</a>
|
553
|
+
</p>
|
554
|
+
</li>
|
555
|
+
|
556
|
+
</ul>
|
557
|
+
</div>
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
<div id="mhl_video_container" style="display:none">
|
564
|
+
<div id="mhl_video_container_2">
|
565
|
+
<iframe width="560" height="315" src="http://www.youtube.com/embed/_-m2CzOGa0U" frameborder="0" allowfullscreen></iframe>
|
566
|
+
<a href="/cities/1-washington-d-c/adventures" class="mhl_lm">
|
567
|
+
<span class="mhl_lm_hdr">end summer with an adventure</span>
|
568
|
+
<span class="mhl_lm_more">learn more »</span>
|
569
|
+
</a>
|
570
|
+
</div>
|
571
|
+
</div>
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
</div>
|
576
|
+
</div>
|
577
|
+
<div class="panel-footer"> </div>
|
578
|
+
</div>
|
579
|
+
</div>
|
580
|
+
<div class="panel dark-panel" id="footer">
|
581
|
+
<ul>
|
582
|
+
<li><a href="http://corporate.livingsocial.com">about</a></li>
|
583
|
+
<li><a href="http://corporate.livingsocial.com/careersoverview">jobs</a></li>
|
584
|
+
<li><a href="http://corporate.livingsocial.com/inthenews">press</a></li>
|
585
|
+
<li><a href="/getfeatured?locale=en-US&vertical=daily" target="_blank">businesses</a></li>
|
586
|
+
<li><a href="/affiliates">affiliates</a></li>
|
587
|
+
<li><a href="http://help.livingsocial.com" target="_new">help</a></li>
|
588
|
+
<li><a href="/terms">terms</a></li>
|
589
|
+
<li class="last"><a href="/privacy_policy">privacy policy</a></li>
|
590
|
+
</ul>
|
591
|
+
|
592
|
+
<ul>
|
593
|
+
<li class="last"><a href="/gift-cards">gift cards</a></li>
|
594
|
+
</ul>
|
595
|
+
|
596
|
+
<p>© 2012, LivingSocial, Inc., LivingSocial LTD UK, LivingSocial Canada Enterprise Inc. All Rights Reserved.</p>
|
597
|
+
|
598
|
+
<ul class="follow-us">
|
599
|
+
<li><a href="http://twitter.com/livingsocial" class="twitter png_bg" target="_blank">twitter</a></li>
|
600
|
+
<li class="last"><a href="http://www.facebook.com/livingsocial" class="facebook png_bg" target="_blank">facebook</a></li>
|
601
|
+
</ul>
|
602
|
+
</div>
|
603
|
+
</div>
|
604
|
+
</div>
|
605
|
+
</div>
|
606
|
+
|
607
|
+
<script src="http://a1.lscdn.net/deals/system/javascripts/bingy-c8805160a68151a86295f4584d4f1a6f.js" type="text/javascript"></script> <script id="ua-roadblock">
|
608
|
+
(function(){
|
609
|
+
var isLoaded = false,
|
610
|
+
script = document.createElement('script');
|
611
|
+
|
612
|
+
script.type ='text/javascript';
|
613
|
+
script.async = true;
|
614
|
+
script.src = 'https://a1.lscdn.net/roadblock/blockyroad_1340738762.js';
|
615
|
+
|
616
|
+
script.onload = script.onreadystatechange = function(){
|
617
|
+
var readyState = this.readyState;
|
618
|
+
if(!isLoaded && (!readyState || readyState == 'loaded' || readyState == 'complete')){
|
619
|
+
if(Roadblock){
|
620
|
+
if(dls.preferredCity['id'])
|
621
|
+
Roadblock.setCityId(dls.preferredCity.id);
|
622
|
+
|
623
|
+
Roadblock.run();
|
624
|
+
}
|
625
|
+
|
626
|
+
// Handle memory leak in IE
|
627
|
+
script.onload = script.onreadystatechange = null;
|
628
|
+
isLoaded = true;
|
629
|
+
}
|
630
|
+
}
|
631
|
+
|
632
|
+
document.body.appendChild(script);
|
633
|
+
}());
|
634
|
+
</script>
|
635
|
+
|
636
|
+
<script>
|
637
|
+
$("#mhl_left_nav_link").click(function(e) {
|
638
|
+
e.preventDefault();
|
639
|
+
$.facebox($("#mhl_video_container").html())
|
640
|
+
});
|
641
|
+
</script>
|
642
|
+
<script type="text/javascript" charset="utf-8">
|
643
|
+
setHomeCity = {
|
644
|
+
currentCity: {id: '1', name: 'Washington, D.C.' },
|
645
|
+
locale: "en",
|
646
|
+
updateHomeCityPeoplePath: "http://livingsocial.com/deals/update_home_city",
|
647
|
+
isHomeCityText: "This is your home city",
|
648
|
+
init: function() {
|
649
|
+
if (this.locale.match(/en|fr|ar/)) {
|
650
|
+
var self = this;
|
651
|
+
dls.setHomeCity.init(self);
|
652
|
+
}
|
653
|
+
},
|
654
|
+
cookie: function() {
|
655
|
+
return JSON.stringify(this.currentCity);
|
656
|
+
}
|
657
|
+
}
|
658
|
+
;(function() {
|
659
|
+
if ( typeof(stached_render_city_picker) != 'undefined' && stached_render_city_picker > 0) {
|
660
|
+
setHomeCity.init();
|
661
|
+
} else {
|
662
|
+
Stached.on("render:city_picker", function(e) {setHomeCity.init();});
|
663
|
+
}
|
664
|
+
})();
|
665
|
+
</script>
|
666
|
+
|
667
|
+
|
668
|
+
<script>
|
669
|
+
$(document).bind("fb:connected", FbMe.updateControlBar);
|
670
|
+
dls.fb_locale = "en_US";
|
671
|
+
dls.fbConnect.init(dls.fbKey, { ssl: dls.isSSL });
|
672
|
+
dls.runner();
|
673
|
+
</script>
|
674
|
+
<script type="text/html" id="tmpl_session_expired">
|
675
|
+
<div class="modal session-expired">
|
676
|
+
<h2>Not logged in.</h2>
|
677
|
+
<div class="modal-body">
|
678
|
+
<p>Please log in to continue.</p>
|
679
|
+
</div>
|
680
|
+
</div>
|
681
|
+
</script>
|
682
|
+
|
683
|
+
|
684
|
+
<script type="text/javascript">
|
685
|
+
var _gaq = _gaq || [];
|
686
|
+
_gaq.push(
|
687
|
+
['_setAccount', 'UA-3767395-1'],
|
688
|
+
['_setDomainName', '.livingsocial.com'],
|
689
|
+
['_setAllowLinker', true],
|
690
|
+
['_setAllowHash', false ],
|
691
|
+
['_trackEvent', 'Refcode', 'pages/nationwide_deals', $.cookie('ref_code') || "", 1, true]
|
692
|
+
);
|
693
|
+
|
694
|
+
|
695
|
+
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
Stached.on('render:me', function(event) {
|
700
|
+
|
701
|
+
event.view.fetch(function(values) {
|
702
|
+
var me = values.me;
|
703
|
+
|
704
|
+
|
705
|
+
|
706
|
+
if(me.loggedIn()()) {
|
707
|
+
if(me.isfb()()) {
|
708
|
+
_gaq.push(['_setCustomVar', 3, 'logged_in', '[ Logged in - FB ]', 3]);
|
709
|
+
}
|
710
|
+
else {
|
711
|
+
_gaq.push(['_setCustomVar', 3, 'logged_in', '[ Logged in - LS ]', 3]);
|
712
|
+
}
|
713
|
+
}
|
714
|
+
else {
|
715
|
+
var subsStatus = $.cookie('ls_subs') ? 'subscribed' : 'not subscribed';
|
716
|
+
_gaq.push(['_setCustomVar', 3, 'logged_in', '[ Not logged in - ' + subsStatus + ']', 3]);
|
717
|
+
}
|
718
|
+
|
719
|
+
if(me.cohort) {
|
720
|
+
_gaq.push(["_setCustomVar", 5, "cohort", me.cohort, 1]);
|
721
|
+
}
|
722
|
+
else {
|
723
|
+
_gaq.push(["_setCustomVar", 5, "cohort", "N/A", 1]);
|
724
|
+
}
|
725
|
+
|
726
|
+
_gaq.push(['_trackPageview']);
|
727
|
+
});
|
728
|
+
|
729
|
+
});
|
730
|
+
|
731
|
+
(function() {
|
732
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
733
|
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
734
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
735
|
+
})();
|
736
|
+
</script>
|
737
|
+
|
738
|
+
|
739
|
+
<div id='affiliate_pixels'>
|
740
|
+
<iframe src='https://pixels.livingsocial.com/conversion' width='1' height='1' style='visibility: hidden;' frameborder='0'></iframe>
|
741
|
+
|
742
|
+
|
743
|
+
</div>
|
744
|
+
<script>
|
745
|
+
var _gaq = _gaq || [];
|
746
|
+
if (window.history && window.history.pushState && window.history.replaceState && !navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]|WebApps\/.+CFNetwork)/)) {
|
747
|
+
_gaq.push(['_trackEvent', 'Browser_features', 'pushState - YES']);
|
748
|
+
} else {
|
749
|
+
_gaq.push(['_trackEvent', 'Browser_features', 'pushState - NO']);
|
750
|
+
}
|
751
|
+
</script> <script type="text/javascript">if (!NREUMQ.f) { NREUMQ.f=function() {
|
752
|
+
NREUMQ.push(["load",new Date().getTime()]);
|
753
|
+
var e=document.createElement("script");
|
754
|
+
e.type="text/javascript";e.async=true;e.src="https://d1ros97qkrwjf5.cloudfront.net/39/eum/rum.js";
|
755
|
+
document.body.appendChild(e);
|
756
|
+
if(NREUMQ.a)NREUMQ.a();
|
757
|
+
};
|
758
|
+
NREUMQ.a=window.onload;window.onload=NREUMQ.f;
|
759
|
+
};
|
760
|
+
NREUMQ.push(["nrf2","beacon-1.newrelic.com","01dcf4d414",18408,"IA0KFRRcXFlXShZIVwQHF04IUkRcXVZOUVIGPQAEB19D",0,567110,new Date().getTime(),"","","","",""])</script>
|
761
|
+
</body>
|
762
|
+
</html>
|