<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Phill Edwards wrote:
<blockquote
 cite="mid:c92a75980806061438n2a0727c4w3c4f42432956bf08@mail.gmail.com"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">I've written a MythMovies grabber that uses Google's movie showtimes site
(<a class="moz-txt-link-abbreviated" href="http://www.google.com/movies/">www.google.com/movies/</a>).

It's written in Perl and takes one argument which is the postcode/zipcode.
Once you've put the attached script on your machine and made it executable,
just change the grabber setting for MythMovies to
&lt;path to script&gt;/googlemovies.pl %z

Also set the Zip Code to your postcode/zipcode without spaces.

Both UK postcodes and US zipcodes work, maybe other countries work as well,
I really don't know what Google supports.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I've been trying to get this to work on my machine. I can run the
script from the command line and I've hardcoded in the postcode. I get
some XML output which seems to contain movie names but no show times:

&lt;Movie&gt;
&lt;Name&gt;Indiana Jones and the Kingdom of the Crystal Skull&lt;/Name&gt;
&lt;Rating&gt;12A&lt;/Rating&gt;
&lt;RunningTime&gt;&lt;/RunningTime&gt;
&lt;ShowTimes&gt;&lt;/ShowTimes&gt;
&lt;/Movie&gt;

When I run it from MythTV Movie Times plugin I don't get any data
showing at all and I think this might be because the data returned is
incomplete (no show times). I'd like to see how you're running it,
with what postcode etc so I can at least get something working and
then build up from there.

I'm in Australia which uses the same googlemovies url, but I've been
trying it with UK (SY5 OAN) and US (90210) postcodes as you said you
know it works with UK&amp; US postcodes but I get the same result.

Regards,
Phill
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>

  </pre>
</blockquote>
I also tried this in Switzerland and I had to modify the regex used to
detect the theatre information - there was a a &lt;font&gt; tag that
messed up the search so I got no data at all.<br>
Could be that the times have some additional tags/attributes in other
countries. Unfortunately Google don't include uniquely identifiable
strings (eg Theatre: ) for all the important fields.<br>
<br>
John<br>
</body>
</html>