<!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">
Drew Gilbert wrote:
<blockquote cite="mid:200806131457.19128.gilbert.drew@gmail.com"
 type="cite">
  <pre wrap="">On Friday 13 June 2008 14:02:38 Phill Edwards wrote:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">Still it doesn't run for me, somewhere during the xml output, I get the
error:

   &lt;Movie&gt;
Use of uninitialized value in concatenation (.) or string
at /usr/local/bin/gmythmovies.pl line 144.
     &lt;Rating&gt;&lt;/Rating&gt;
     &lt;Name&gt;Four Minutes&lt;/Name&gt;
Use of uninitialized value in concatenation (.) or string
at /usr/local/bin/gmythmovies.pl line 146.
      </pre>
    </blockquote>
    <pre wrap="">What postcode are you running it for?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I've tried IV159HS, IV1599RA, EH141NU.  All have the same problem

_______________________________________________
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>
Very good script! Unfortunately it can't handle Switzerland (yet) as
Google seems to add some extra &lt;br&gt;s and possibly other stuff.<br>
<br>
The 'use of uninitialized....' messages are due to the <b>use warnings</b>
line - remove that (or comment it) and they'll disappear.<br>
<br>
Here's a typical entry for
<a class="moz-txt-link-freetext" href="http://www.google.com/movies?near=baden,+switzerland">http://www.google.com/movies?near=baden,+switzerland</a> - running time
ends up in Rating, RunningTime &amp; ShowTimes<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;Movie&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Rating&gt;&lt;br&gt;2hr&amp;nbsp;2min&lt;/Rating&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;Indiana Jones and the Kingdom of the Crystal
Skull&lt;/Name&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RunningTime&gt;2hr 2min&lt;/RunningTime&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ShowTimes&gt;&lt;br&gt;2hr&amp;nbsp;2minAction/Adventure
Dubbed in EnglishSubtitled in German and French 17:00
22:30&lt;/ShowTimes&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/Movie&gt;<br>
<br>
I modified the s/&lt;br&gt;// to be global but it still doesn't remove
them - The movietiime plugin then complains because there are no
&lt;/br&gt;s for the &lt;br&gt;s<br>
<br>
I'll see if I can get the formatting fixed<br>
<br>
John<br>
</body>
</html>