xmltv/grab/uk_guardian tv_grab_uk_guardian,1.8,1.9

Geoff <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/uk_guardian
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2811

Modified Files:
	tv_grab_uk_guardian 
Log Message:
- enhance POD information
- use new --info option

Index: tv_grab_uk_guardian
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/uk_guardian/tv_grab_uk_guardian,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** tv_grab_uk_guardian	20 Jan 2014 14:17:47 -0000	1.8
--- tv_grab_uk_guardian	21 Jan 2014 11:00:15 -0000	1.9
***************
*** 68,83 ****
  			version 					=> $VERSION,
  			description 			=> $GRABBER_DESC,
- 			extra_options			=> [qw/info/]
  });
  
  #print Dumper($conf); exit;
  
- # options.pm hi-jacks the --help arg and creates its own POD synopsis.  We'll use --info instead.
- if ($opt->{'info'}) {
- 	use Pod::Usage;
-   pod2usage(-verbose => 2);
- 	exit 1;
- }
- 
  # any overrides?
  if (defined( $conf->{'generator-info-name'} )) { $generator_info_name = $conf->{'generator-info-name'}->[0]; }
--- 68,75 ----
***************
*** 652,656 ****
  =head1 INSTALLATION
  
! The file F<tv_grab_uk_guardian.map.conf> has two purposes.  Firstly you can map the channel ids used by the site into something more meaningful to your PVR. E.g.
  
        map==bbc-1-south==BBC 1	
--- 644,649 ----
  =head1 INSTALLATION
  
! The file F<tv_grab_uk_guardian.map.conf> has two purposes.  Firstly you can map 
! the channel ids used by the site into something more meaningful to your PVR. E.g.
  
        map==bbc-1-south==BBC 1	
***************
*** 660,664 ****
  Note: the lines are of the form "map=={channel id}=={my name}".
  
! The second purpose is to likewise translate genre names.  So if your PVR doesn"t have a category for "Science Fiction" but uses "Sci-fi" instead, then you can specify
  
        cat==Science Fiction==Sci-fi
--- 653,659 ----
  Note: the lines are of the form "map=={channel id}=={my name}".
  
! The second purpose is to likewise translate genre names.  So if your PVR doesn"t 
! have a category for "Science Fiction" but uses "Sci-fi" instead, then you can 
! specify
  
        cat==Science Fiction==Sci-fi
***************
*** 667,671 ****
  
  
! IMPORTANT: the downloaded "tv_grab_uk_guardian.map.conf" contains example lines to illustrate the format - you should edit this file to suit your own purposes!
  
  =head1 ERROR HANDLING
--- 662,667 ----
  
  
! IMPORTANT: the downloaded "tv_grab_uk_guardian.map.conf" contains example lines 
! to illustrate the format - you should edit this file to suit your own purposes!
  
  =head1 ERROR HANDLING
***************
*** 684,688 ****
  =head1 SUPPORTED CHANNELS
  
! For information on supported channels, see http://tvlistings.guardian.co.uk/text-only/all-channels/
  
  =head1 XMLTV VALIDATION
--- 680,685 ----
  =head1 SUPPORTED CHANNELS
  
! For information on supported channels, see 
! L<http://tvlistings.guardian.co.uk/text-only/all-channels/>
  
  =head1 XMLTV VALIDATION
***************
*** 692,701 ****
        "Line 5 Invalid channel-id BBC 1"
  	
! This is a because ValidateFile.pm insists the channel-id adheres to RFC2838 despite the xmltv.dtd only saying "preferably" not "SHOULD".  
! (Having channel ids of the form "bbc1.bbc.co.uk" will be rejected by many PVRs since they require the data to match their own list.)
  
  It may also report:
  
!       "tv_sort failed on the concatenated data. Probably due to overlapping data between days."
  	
  Both these errors can be ignored.
--- 689,701 ----
        "Line 5 Invalid channel-id BBC 1"
  	
! This is a because ValidateFile.pm insists the channel-id adheres to RFC2838 
! despite the xmltv.dtd only saying "preferably" not "SHOULD".  
! (Having channel ids of the form "bbc1.bbc.co.uk" will be rejected by many PVRs 
! since they require the data to match their own list.)
  
  It may also report:
  
!       "tv_sort failed on the concatenated data. Probably due to 
!          overlapping data between days."
  	
  Both these errors can be ignored.
***************
*** 705,711 ****
  The Guardian website"s license for these data does not allow non-personal use.
  
! Certainly any commercial use of listings data obtained by using this grabber will breach copyright law, but if you are just using the data for your own personal use then you are probably fine.
  
! By using this grabber you aver you are using the listings data for your own personal use only and you absolve the author(s) from any liability under copyright law or otherwise.
  
  =head1 AUTHOR
--- 705,715 ----
  The Guardian website"s license for these data does not allow non-personal use.
  
! Certainly any commercial use of listings data obtained by using this grabber 
! will breach copyright law, but if you are just using the data for your own 
! personal use then you are probably fine.
  
! By using this grabber you aver you are using the listings data for your own 
! personal use only and you absolve the author(s) from any liability under 
! copyright law or otherwise.
  
  =head1 AUTHOR


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.