abcde-atthemovies 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -2,6 +2,6 @@ require 'mechanize'
2
2
 
3
3
  $:.unshift File.dirname(__FILE__) + '/at_the_movies'
4
4
 
5
- %w( parser parsers review ).each { |lib| require lib }
5
+ %w( interview parser parsers review ).each { |lib| require lib }
6
6
 
7
7
  require File.dirname(__FILE__) + '/core_ext'
@@ -0,0 +1,13 @@
1
+ module AtTheMovies
2
+ class Interview
3
+ attr_reader :title, :date, :interviewee, :interviewer, :url
4
+
5
+ def initialize(title, date, interviewee, interviewer, url)
6
+ @title = title
7
+ @date = date
8
+ @interviewee = interviewee
9
+ @interviewer = interviewer
10
+ @url = url
11
+ end
12
+ end
13
+ end
@@ -1,4 +1,4 @@
1
- %w( review ).each { |parser| require File.dirname(__FILE__) + "/parsers/#{parser}" }
1
+ %w( interview review ).each { |parser| require File.dirname(__FILE__) + "/parsers/#{parser}" }
2
2
 
3
3
  module AtTheMovies
4
4
  module Parsers
@@ -0,0 +1,24 @@
1
+ module AtTheMovies
2
+ module Parsers
3
+ class Interview < Parser
4
+ def parse
5
+ interviewer, interviewee = details
6
+ if interviewer && interviewee
7
+ AtTheMovies::Interview.new(title, date, interviewee, interviewer, @page.uri.to_s)
8
+ end
9
+ end
10
+
11
+ def details
12
+ @page.body.scan(/(Margaret|David) interviews (.*).<\/p>\r/).flatten
13
+ end
14
+
15
+ def title
16
+ @page.title.strip[15..-1]
17
+ end
18
+
19
+ def date
20
+ Date.parse(@page.search('meta[@name="Date"]').first['content'].gsub('/', '-'))
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,33 @@
1
+ require File.dirname(__FILE__) + '/../spec_helper'
2
+
3
+ describe AtTheMovies::Interview do
4
+ context "with a parsed interview" do
5
+ before do
6
+ url = 'http://www.abc.net.au/atthemovies/txt/s2642594.htm'
7
+ FakeWeb.register_uri(:get, url, :response => cached_page_for(url))
8
+ mech = WWW::Mechanize.new
9
+ page = mech.get(url)
10
+ @interview = AtTheMovies::Parsers::Interview.parse(page)
11
+ end
12
+
13
+ it "should have a title" do
14
+ @interview.title.should == "The Cove Interview"
15
+ end
16
+
17
+ it "should have a date" do
18
+ @interview.date.to_s.should == "2009-08-19"
19
+ end
20
+
21
+ it "should have an interviewee" do
22
+ @interview.interviewee.should == "filmmaker Louie Psihoyos"
23
+ end
24
+
25
+ it "should have an interviewer" do
26
+ @interview.interviewer.should == "David"
27
+ end
28
+
29
+ it "should have a url" do
30
+ @interview.url.should == "http://www.abc.net.au/atthemovies/txt/s2642594.htm"
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,17 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe AtTheMovies::Parsers::Interview do
4
+ describe "parse" do
5
+ before do
6
+ url = 'http://www.abc.net.au/atthemovies/txt/s2642594.htm'
7
+ FakeWeb.register_uri(:get, url, :response => cached_page_for(url))
8
+ mech = WWW::Mechanize.new
9
+ page = mech.get(url)
10
+ @interview = AtTheMovies::Parsers::Interview.parse(page)
11
+ end
12
+
13
+ it "should return an Interview object" do
14
+ @interview.should be_an_instance_of(AtTheMovies::Interview)
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,421 @@
1
+ HTTP/1.1 200 OK
2
+ Server: Apache
3
+ Content-Type: text/html
4
+ Cache-Control: max-age=283
5
+ Expires: Thu, 20 Aug 2009 02:40:38 GMT
6
+ Date: Thu, 20 Aug 2009 02:35:55 GMT
7
+ Content-Length: 18145
8
+ Connection: keep-alive
9
+ Set-Cookie: ABCGuestID=210.9.88.55.185971250735755742; expires=Thu, 20-Aug-2009 03:05:55 GMT; path=/; domain=abc.net.au
10
+
11
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
12
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
13
+ <html>
14
+ <head>
15
+ <title>At the Movies: The Cove Interview</title>
16
+
17
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
18
+
19
+ <meta name="Title" content="At the Movies: The Cove Interview">
20
+
21
+ <meta name="Description" content="">
22
+
23
+ <meta name="Keywords" content="Margaret Pomeranz, , , , , , , ">
24
+
25
+ <meta name="Date" content="19/08/2009">
26
+
27
+ <meta name="Language" content="English">
28
+
29
+ <meta name="Publisher" content="Australian Broadcasting Corporation">
30
+
31
+ <meta name="Publisher" content="(SCHEME=URL)">
32
+
33
+ <meta name="Rights" content="Copyright 2009&nbsp;, Australian Broadcasting Corporation. Other rights may be held as detailed in text. www.abc.net.au/common/copyrigh.htm">
34
+
35
+ <meta name="ABC-DateReversed" content="">
36
+
37
+ <meta name="ABC-Gateway" content="">
38
+
39
+ <meta name="ABC-Site" content="TV, Movie/Film">
40
+
41
+ <meta name="ABC-Author" content="interview">
42
+
43
+ <meta name="ABC-ResourceType" content="0">
44
+
45
+ <meta http-equiv="imagetoolbar" content="no">
46
+ <link rel="stylesheet" href="/atthemovies/css/atm.css" type="text/css" media="all">
47
+ <link rel="stylesheet" type="text/css" media="print" href="/atthemovies/css/print.css">
48
+ <script type="text/javascript" src="/tv/cinerama/scripts/swfobject.js"></script>
49
+ <script type="text/javascript" src="/tv/cinerama/scripts/cinerama.js"></script>
50
+ <script language="JavaScript" type="text/javascript">
51
+ //add onload function audShow;
52
+ function addEvent(obj, evType, fn){
53
+ if (obj.addEventListener){
54
+ obj.addEventListener(evType, fn, false);
55
+ return true;
56
+ } else if (obj.attachEvent){
57
+ var r = obj.attachEvent("on"+evType, fn);
58
+ return r;
59
+ } else {
60
+ return false;
61
+ }
62
+ }
63
+
64
+ function audShow() {
65
+ // display word count only if js enabled
66
+ document.getElementById("wordCount").style.display='inline';
67
+ }
68
+ function changeAction() {
69
+ // avoids non-js form submission
70
+ if (document.revForm) {
71
+ document.revForm.action = 'http://www2b.abc.net.au/guestbookcentral/addentry.asp';
72
+ }
73
+ }
74
+ addEvent(window, 'load', audShow);
75
+ addEvent(window, 'load', changeAction);
76
+ function formCheck(zeForm) {
77
+ // validate fields
78
+ if (zeForm.name.value == "") {
79
+ alert("Please enter your name or nickname.");
80
+ document.getElementById("yname").style.background='#FFFDC8';
81
+ return false;
82
+ }
83
+ if (zeForm.email.value == "") {
84
+ alert("Please enter your email address.");
85
+ document.getElementById("yemail").style.background='#FFFDC8';
86
+ return false;
87
+ }
88
+ // have they left a rating
89
+ if (zeForm.score.options[0].selected && zeForm.score.options[0].value=="na") {
90
+ alert("You forgot to rate the movie!");
91
+ document.getElementById("score").style.background='#FFFDC8';
92
+ return false;
93
+ }
94
+
95
+ // check for http
96
+ spamcheck=zeForm.remark.value;
97
+ if (spamcheck.indexOf("http")!=-1) {
98
+ document.revForm.action = 'http://www.abc.net.au/atthemovies/audience/blank.htm';
99
+ }
100
+
101
+ // check word count
102
+ wct = cnt(zeForm.remark.value);
103
+ if (wct > 100) {
104
+ alert("Comments are limited to 100 words. You've written "+wct+" words!");
105
+ document.getElementById("remark").style.background='#FFFDC8';
106
+ return false;
107
+ }
108
+
109
+ // replace usual suspect bad characters (they break XML)
110
+ badChars = Array ('�', '�', '�', '�', '�', '�', '�', '�', '�', '�', '�', '�','�','�');
111
+ goodChars = Array ('...', '-', '-', '"', '"', 'o', 'e', 'e', 'n', 'a', '-', '\'','\'','\'');
112
+ fld = document.getElementById("remark");
113
+ for(i=0;i<badChars.length;i++){
114
+ restring = new RegExp( badChars[i] , 'g');
115
+ fld.value = fld.value.replace(restring,goodChars[i]);
116
+ }
117
+ fldn = document.getElementById("yname");
118
+ for(j=0;j<badChars.length;j++){
119
+ restringj = new RegExp( badChars[j] , 'g');
120
+ fldn.value = fldn.value.replace(restringj,goodChars[j]);
121
+ }
122
+
123
+
124
+
125
+ // display thankyou div layer and hide form.
126
+ document.getElementById("favFormThx").style.display='block';
127
+ document.getElementById("favForm").style.display='none';
128
+ document.getElementById("wordCount").style.display='none';
129
+
130
+ // all clear, submit the form
131
+ return true;
132
+ }
133
+
134
+ // word count function
135
+ function cnt(theform){
136
+ var y=theform;
137
+ var r = 0;
138
+ a=y.replace('\n',' ');
139
+ a=a.split(' ');
140
+ for (z=0; z<a.length; z++) {if (a[z].length > 0) r++;}
141
+ return r;
142
+ }
143
+
144
+ function remainingWords(textAreaContent,textAreaContentValue, maxWords)
145
+ {
146
+ // Determine the number of words we have left
147
+ var numberofwords = cnt(textAreaContentValue);
148
+ wordsLeft = maxWords - numberofwords;
149
+ if (wordsLeft < 1)
150
+ { // if 100 change color to red
151
+ document.getElementById("wcNum").style.color='red';
152
+ } else {
153
+ document.getElementById("wcNum").style.color='#330000';
154
+ }
155
+ // update word count number
156
+ document.getElementById("wcNum").innerHTML=(0+numberofwords);
157
+ }
158
+
159
+ // windows media alt box
160
+ function showWindows() {
161
+ document.getElementById("windowsMed").style.display='block';
162
+ }
163
+ </script>
164
+
165
+ <style type="text/css">
166
+ /* temp */
167
+ #windowsMed {display:none;float:right;width:150px;background:#0d0d0d}
168
+
169
+ </style>
170
+ <style type="text/css">
171
+ /* tmp styles */
172
+ #content #storyImage #altWinMedia {
173
+ background:#0d0d0d;
174
+ height:23px;
175
+ margin:3px 3px 0px 3px;
176
+ font-size:11px;
177
+ }
178
+ #content #storyImage #altWinMedia a {color:#D47F2A}
179
+ #content #storyImage #altWinMedia span {display:block;color:#ABABAB;padding:4px 5px 0px 0px;}
180
+
181
+ .hideorshow-review {display:none}
182
+ .hideorshow-interview {
183
+ display:block;
184
+ }
185
+
186
+ </style>
187
+ </head><body>
188
+ <div id="globalnav">
189
+ <!-- ABC nav: Global Nav -->
190
+ <style type="text/css"><!--
191
+ @import url(http://www.abc.net.au/includes/css/globalNav.css); -->
192
+ </style>
193
+ <div id="gN_Nav">
194
+ <div id="gN_align">
195
+ <form action="http://search.abc.net.au/search/search.cgi" method="GET" id="gN_form" target="_top">
196
+ <input type="hidden" name="form" value="simple">
197
+ <input type="hidden" name="num_ranks" value="20">
198
+ <input type="hidden" name="collection" value="abcall">
199
+ <label for="gN_query"><a href="http://search.abc.net.au/search/search.cgi?collection=abcall&amp;form=simple" target="_top" title="Search the ABC">Search the ABC</a></label>
200
+ <input type="text" id="gN_query" name="query" value="" size="20" maxlength="30">
201
+ <input type="submit" id="gN_submit" value="Search the ABC" title="Search the ABC">
202
+ </form>
203
+ <p id="gN_text"><a id="gN_home" href="http://www.abc.net.au/" target="_top">ABC&nbsp;Home</a><span> | </span><a id="gN_radio" class="pipe" href="http://www.abc.net.au/radio/" target="_top">Radio</a><span> | </span><a id="gN_tv" class="pipe" href="http://www.abc.net.au/tv/" target="_top">Television</a><span> | </span><a id="gN_news" class="pipe" href="http://www.abc.net.au/news/" target="_top">News</a><span> | </span><a id="gN_local" class="pipe" href="http://www.abc.net.au/local/" target="_top">Your&nbsp;Local&nbsp;ABC</a><span> | </span><a id="gN_more" class="pipe" href="http://www.abc.net.au/subjects.htm" target="_top">More&nbsp;Subjects&#8230;</a><span> | </span><a id="gN_shop" href="http://shop.abc.net.au/" target="_top">Shop</a></p>
204
+ </div>
205
+ </div>
206
+ <script type="text/javascript" src="http://www.abc.net.au/includes/scripts/global.js"></script>
207
+ <noscript>
208
+ <img alt="" border="0" name="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcsg85fae000004n0vfjpj8oa_9m4q/njs.gif?dcsuri=/nojavascript&amp;WT.js=No">
209
+ </noscript>
210
+ <!-- end ABC nav -->
211
+
212
+ </div>
213
+ <!-- END GLOBALNAV //-->
214
+ <div id="outerWrap"></div>
215
+ <div id="banner">
216
+ <a href="http://www.abc.net.au/atthemovies/" target="_top"><img src="/atthemovies/img/1p.gif" alt="At the Movies" class="title"></a>
217
+ <div id="masthead">
218
+ Wed 10pm, Sun 6pm <em>ABC1</em>; &nbsp;&nbsp;&nbsp;Sat 8pm <em>ABC2</em>
219
+ </div>
220
+ <!-- END MASTHEAD //-->
221
+ <div id="search">
222
+ <form action="http://search.abc.net.au/search/search.cgi" method="GET" name="simple">
223
+ <input type=hidden name="form" value="simple">
224
+ <input type=hidden name="scope" value="atthemovies">
225
+ <input type=hidden name="num_ranks" value="20">
226
+ <input type=hidden name="collection" value="tv">
227
+ Search <!--Search by <input type="radio" name="meta_a" value="review">review&nbsp;<input type="radio" name="meta_a" value="interview">interview--> <input type="text" name="query" value="" title="Search At the Movies" size="14" id="searchbox"> <input type="submit" value="Go" title="Search At the Movies" id="searchbutton"></form>
228
+ </div>
229
+ <!-- END SEARCH //-->
230
+ <div id="functions"><a title="Email this page to a friend" href="/cgi-bin/common/mailto/mailto-nojs_query.pl?http://www.abc.net.au/atthemovies/txt/s2642594.htm">Send to a friend</a></div>
231
+ <!-- END FUNCTIONS //-->
232
+ </div>
233
+ <!-- END BANNER //-->
234
+ <table id="contentcontainer" align="center" cellpadding="0" cellspacing="0" border="0" summary="Layout table used to contain content">
235
+ <caption class="hidden">
236
+ <a href="/atthemovies/">At the Movies</a>
237
+ </caption>
238
+ <tbody>
239
+ <tr>
240
+ <td class="featurecontainer"><div id="sitenav">
241
+ <ul>
242
+ <li><a href="/atthemovies/">Home</a></li>
243
+ <li><a href="/atthemovies/review/">Movie Reviews</a></li>
244
+ <li class="selected"><a href="/atthemovies/interview/">Interviews</a></li>
245
+ <li><a href="/atthemovies/news/">Movie News</a></li>
246
+ <li><a href="/tv/geo/atthemovies/">Download Video</a></li>
247
+ <li><a href="/atthemovies/events/">Movie Events</a></li>
248
+ <li><a href="/atthemovies/extras/">Extras</a></li>
249
+ <li><a href="/atthemovies/about/">About the Show</a></li>
250
+ <li><a href="http://www2b.abc.net.au/tmb/Client/Board.aspx?b=19">Message Board</a></li>
251
+
252
+ </ul>
253
+ </div>
254
+ <!-- END SITENAV //-->
255
+ <div id="mbextract">
256
+ <h3 id="yoursay"><a href="http://www2b.abc.net.au/tmb/Client/Board.aspx?b=19"><span class="hidden">Your Comments</span></a></h3>
257
+ <div style="padding:0px 3px 0px 9px">
258
+ <p style="margin-bottom:10px"><span style="font-weight:bold;color:#94E6E6"><a href="http://www2b.abc.net.au/tmb/Client/Message.aspx?b=19&m=19484&ps=20&dm=2">Re: Bruno?</a></span><br>Dithymia says:<br>"&quot;Ali G was a great character.&quot; Sure was" <a href="http://www2b.abc.net.au/tmb/Client/Message.aspx?b=19&m=19484&ps=20&dm=2"><em>More&#187;</em></a>
259
+ </p><p style="margin-bottom:10px"><span style="font-weight:bold;color:#94E6E6"><a href="http://www2b.abc.net.au/tmb/Client/Message.aspx?b=19&m=19482&ps=20&dm=2">Re: Moon - Sam Rockwell and Kevin Spacey</a></span><br>fellintoorbit says:<br>"Actually, it might be due for release on September 3rd, at least according to: http://www.hoyts.com.au/Movies/details/Moon.aspx Also, the director ..." <a href="http://www2b.abc.net.au/tmb/Client/Message.aspx?b=19&m=19482&ps=20&dm=2"><em>More&#187;</em></a>
260
+ </p>
261
+ </div>
262
+ </div>
263
+ <!-- END TMBEXTRACT //-->
264
+ </td>
265
+ <td><!-- PRINT_CONTENT_START -->
266
+ <div id="content">
267
+ <div id="storyImage">
268
+ <!-- video block -->
269
+ <noscript><h1>The Cove Interview</h1></noscript>
270
+ <div style="margin-left:3px"><a class="singleClip" title="Javascript and flash 9 required to view this link." href="rtmp://cp44823.edgefcs.net/ondemand/flash/tv/streams/atthemovies/20090819_thecoveiv.flv" style="background:#000000;color:#b96125"><img src="/atthemovies/img/2009/ep28/cove_int_large.jpg" width="400" height="224" style="border:0px" alt="The Cove Interview"></div></a>
271
+
272
+ <noscript>
273
+ <br><span style="color:#ffffff">Flash Player 9 and JavaScript is required to view video in the page. Alternatively use the Windows Media links below.</span></noscript>
274
+
275
+ <div id="altWinMedia"><span><a href="/atthemovies/broadband/20090819_2230/meta/hq5.asx" onclick="showWindows();return false">Windows Media &#187;</a><div id="windowsMed"><a href="/atthemovies/broadband/20090819_2230/meta/hq5.asx" title="Alternative Windows Media Video: Fast connections" target="_blank">Fast</a> : <a href="/atthemovies/broadband/20090819_2230/meta/lq5.asx" title="Alternative Windows Media Video: Slow connections" target="_blank">Slow</a></div></span>
276
+ </div>
277
+
278
+ <!-- // video block -->
279
+
280
+ <p class="description">David interviews filmmaker Louie Psihoyos.</p>
281
+
282
+ <p class="score" style="border:0;"> </p>
283
+ </div>
284
+ <h3>The Cove Interview</h3>
285
+
286
+
287
+ <p><em>Review by Margaret Pomeranz</em></p>
288
+
289
+ <p></p>
290
+
291
+ <div class="hideorshow-review">
292
+ <div id="audiencecomment">
293
+ <h3>Your rating: The Cove Interview</h3>
294
+ <form action="http://www.abc.net.au/atthemovies/audience/blank.htm" name="revForm" id="reviewForm" method="post" target="revThanks" onSubmit="return formCheck(this)">
295
+ <input type="hidden" name="GuestbookID" value="394" >
296
+ <input type="hidden" name="subject" id="sbj" value="THECOVEINTERVIEW" >
297
+ <div id="favFormThx"> <strong>Thank you.</strong><br>
298
+ <br>
299
+ Your comment and rating will appear below once approved. <br>
300
+ <br>
301
+ To review or discuss this movie in more detail,<br>
302
+ please use the <a href="http://www2b.abc.net.au/tmb/Client/Board.aspx?b=19" style="color:#CC6600"><strong>message board</strong></a>. </div>
303
+ <table border="0" cellspacing="0" cellpadding="0" id="favForm">
304
+ <tr>
305
+ <td class="gbkSubhead">Name:<br>
306
+ <span class="smlTxt">(or nickname)</span></td>
307
+ <td><input type="text" name="name" id="yname" size="45" class="favField" onFocus="this.style.background='#FFF6E9'"></td>
308
+ </tr>
309
+ <tr>
310
+ <td class="gbkSubhead">Email:</td>
311
+ <td><input type="text" name="email" id="yemail" size="45" class="favField" onFocus="this.style.background='#FFF6E9'"></td>
312
+ </tr>
313
+ <tr>
314
+ <td class="gbkSubhead">Rating:</td>
315
+ <td><select name="score" id="score" style="margin:0" onFocus="this.style.background='#FFF6E9'">
316
+ <option value="na">Select...</option>
317
+ <option value="0">Zero stars</option>
318
+ <option value="1">Half a star</option>
319
+ <option value="2">One star</option>
320
+ <option value="3">One and a half stars</option>
321
+ <option value="4">Two stars</option>
322
+ <option value="5">Two and a half stars</option>
323
+ <option value="6">Three stars</option>
324
+ <option value="7">Three and a half stars</option>
325
+ <option value="8">Four stars</option>
326
+ <option value="9">Four and a half stars</option>
327
+ <option value="10">Five stars</option>
328
+ </select>
329
+ </td>
330
+ </tr>
331
+ <tr>
332
+ <td class="gbkSubhead" valign="top">Comment:<br>
333
+ <span class="smlTxt">(max 100 words)</span> </td>
334
+ <td><textarea name="remark" id="remark" class="favField" onKeyUp="remainingWords(this, this.value, 100)" onFocus="this.style.background='#FFF6E9'"></textarea>
335
+ <p style="margin:0"><a href="/atthemovies/txt/s1224754.htm" style="color:#A0410F" >Conditions of use &#187;</a></p></td>
336
+ </tr>
337
+ <tr>
338
+ <td colspan="2" align="right" height="37"><input type="Submit" name="Action" value="Submit" class="gbkbutton" onMouseOver="this.style.background='#FFEDD2'" onMouseOut="this.style.background='#FFD495'">
339
+ </td>
340
+ </tr>
341
+ </table>
342
+ </form>
343
+ <!-- comments form submits to this iframe, hidden from js enabled user -->
344
+ <IFRAME width="375" height="20" src="/atthemovies/audience/blank.htm" TITLE="blank" name="revThanks" frameborder="0" scrolling="no"></IFRAME>
345
+ <div id="wordCount"> Word count<br>
346
+ <div id="wcNum">0</div>
347
+ </div>
348
+ </div>
349
+ <!-- // audiencecomment -->
350
+ <div id="allComments">
351
+ [an error occurred while processing this directive]
352
+ </div>
353
+ </div>
354
+ <!-- // hideorshow-review -->
355
+ </div>
356
+ <!-- PRINT_CONTENT_END --></td>
357
+ <td class="sidebarcontainer"><div id="related">
358
+ <div class="hideorshow-review">
359
+ <h3>Production details</h3>
360
+ <p class="moviedetails">
361
+ <strong>Release details:</strong> Check newspapers for screening dates.<br>
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+ <strong>Language:</strong> English<br>
374
+
375
+
376
+ <br clear="all">
377
+ &nbsp;</p>
378
+ </div>
379
+ <h3 class="reviews">Movies and interviews from 19&nbsp;August 2009</h3>
380
+ <table border="0" cellspacing="0" cellpadding="0" class="sideRating">
381
+
382
+ <tr><td colspan=2 class="mn"><a href="http://www.abc.net.au/atthemovies/txt/s2648118.htm">The Cove Interview Extra Grabs (Web Exclusive)</a></td></tr>
383
+
384
+
385
+ <tr><td colspan=2 class="mn"><a href="http://www.abc.net.au/atthemovies/txt/s2642579.htm">Adam</a></td></tr>
386
+ <tr><td>Margaret</td><td><img src="/atthemovies/img/rthree-and-a-half.gif" alt="three-and-a-half stars"></td></tr> <tr><td>David</td><td><img src="/atthemovies/img/rthree.gif" alt="three stars"></td></tr>
387
+
388
+ <tr><td colspan=2 class="mn"><a href="http://www.abc.net.au/atthemovies/txt/s2642583.htm">Inglourious Basterds</a></td></tr>
389
+ <tr><td>Margaret</td><td><img src="/atthemovies/img/rfour-and-a-half.gif" alt="four-and-a-half stars"></td></tr> <tr><td>David</td><td><img src="/atthemovies/img/rfour.gif" alt="four stars"></td></tr>
390
+
391
+ <tr><td colspan=2 class="mn"><a href="http://www.abc.net.au/atthemovies/txt/s2642589.htm">Inglourious Basterds Extra Grabs Web exclusive</a></td></tr>
392
+
393
+
394
+ <tr><td colspan=2 class="mn"><a href="http://www.abc.net.au/atthemovies/txt/s2642591.htm">The Cove</a></td></tr>
395
+ <tr><td>Margaret</td><td><img src="/atthemovies/img/rthree-and-a-half.gif" alt="three-and-a-half stars"></td></tr> <tr><td>David</td><td><img src="/atthemovies/img/rfour.gif" alt="four stars"></td></tr>
396
+
397
+ <tr><td colspan=2 class="mn"><a href="http://www.abc.net.au/atthemovies/txt/s2642594.htm">The Cove Interview</a></td></tr>
398
+
399
+
400
+ <tr><td colspan=2 class="mn"><a href="http://www.abc.net.au/atthemovies/txt/s2642596.htm">Subdivision</a></td></tr>
401
+ <tr><td>Margaret</td><td><img src="/atthemovies/img/rtwo.gif" alt="two stars"></td></tr> <tr><td>David</td><td><img src="/atthemovies/img/rtwo.gif" alt="two stars"></td></tr>
402
+
403
+ </table>
404
+
405
+ </div>
406
+ <!-- END RELATED //-->
407
+ </td>
408
+ </tr>
409
+ </tbody>
410
+ </table>
411
+ <!-- END CONTENT CONTAINER -->
412
+ <div id="footer">
413
+ <p><a href="http://www.abc.net.au/"><img src="/atthemovies/img/logo_abc_footer.gif" alt="ABC Online"></a> <a href="http://www.abc.net.au/common/copyrigh.htm" target="_top" title="Copyright">&#169; 2009 ABC</a> | <a href="http://www.abc.net.au/privacy.htm" target="_top" title="Privacy Policy">Privacy Policy</a>
414
+ | <a href="/atthemovies/disclaimer.htm">Movie listings disclaimer</a> | <a href="/conditions.htm">Conditions of Use</a></p>
415
+ <!-- n -->
416
+
417
+
418
+ </div>
419
+ <!-- END FOOTER //-->
420
+ </body>
421
+ </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abcde-atthemovies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Egan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-19 00:00:00 -07:00
12
+ date: 2009-08-20 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -35,14 +35,18 @@ files:
35
35
  - Rakefile
36
36
  - VERSION
37
37
  - lib/at_the_movies.rb
38
+ - lib/at_the_movies/interview.rb
38
39
  - lib/at_the_movies/parser.rb
39
40
  - lib/at_the_movies/parsers.rb
41
+ - lib/at_the_movies/parsers/interview.rb
40
42
  - lib/at_the_movies/parsers/review.rb
41
43
  - lib/at_the_movies/review.rb
42
44
  - lib/at_the_movies/version.rb
43
45
  - lib/core_ext.rb
44
46
  - lib/core_ext/enumerable.rb
47
+ - spec/at_the_movies/interview_spec.rb
45
48
  - spec/at_the_movies/parser_spec.rb
49
+ - spec/at_the_movies/parsers/interview_spec.rb
46
50
  - spec/at_the_movies/parsers/review_spec.rb
47
51
  - spec/at_the_movies/parsers_spec.rb
48
52
  - spec/at_the_movies/review_spec.rb
@@ -55,6 +59,7 @@ files:
55
59
  - spec/pages/s2625742.htm
56
60
  - spec/pages/s2631026.htm
57
61
  - spec/pages/s2634329.htm
62
+ - spec/pages/s2642594.htm
58
63
  - spec/spec.opts
59
64
  - spec/spec_helper.rb
60
65
  has_rdoc: false
@@ -85,7 +90,9 @@ signing_key:
85
90
  specification_version: 3
86
91
  summary: Pulling that shit in yo!
87
92
  test_files:
93
+ - spec/at_the_movies/interview_spec.rb
88
94
  - spec/at_the_movies/parser_spec.rb
95
+ - spec/at_the_movies/parsers/interview_spec.rb
89
96
  - spec/at_the_movies/parsers/review_spec.rb
90
97
  - spec/at_the_movies/parsers_spec.rb
91
98
  - spec/at_the_movies/review_spec.rb