[mythtv-commits] Ticket #5164: Mythmovies google movies grabber

MythTV mythtv at cvs.mythtv.org
Mon Jan 12 23:00:13 UTC 2009


#5164: Mythmovies google movies grabber
-------------------------------------+--------------------------------------
 Reporter:  jonty.wareing at gmail.com  |        Owner:  stuartm
     Type:  patch                    |       Status:  closed 
 Priority:  minor                    |    Milestone:  0.22   
Component:  mythmovies               |      Version:  head   
 Severity:  low                      |   Resolution:  wontfix
  Mlocked:  0                        |  
-------------------------------------+--------------------------------------

Comment(by Jon):

 Just realised you can get around having to comment out
 ''{{{decode_entities(  );}}}'' by passing it a variable of unicode
 characters to ignore, ie:
 {{{
 my $exclude_chars = "&";
 }}}
 and then:
 {{{
 decode_entities($moviename, $exclude_chars);
 }}}
 As appropriate.
 I imagine there are other characters that XML does not like and that
 should be included in {{{$exclude_chars}}} as well, but I'm unfamiliar.
 decode_entities however does not strip the <b dir="ltr"> </b> tags from
 around the theatre name... So there's still that...

 ~Jon

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5164#comment:12>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list