debian man page for xmltv::configure::writer

Query: xmltv::configure::writer

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Configure::Writer(3pm)					User Contributed Perl Documentation				    Configure::Writer(3pm)

NAME
XMLTV::Configure::Writer - Configuration file writer for XMLTV grabbers
DESCRIPTION
Utility class that helps grabbers write configuration descriptions.
SYNOPSIS
use XMLTV::Configure::Writer; my $result; my $writer = new XMLTV::Writer::Configure( OUTPUT => $result, encoding => 'iso-8859-1' ); $writer->start( { grabber => 'tv_grab_xxx' } ); $writer->write_string( { id => 'username', title => [ [ 'Username', 'en' ], [ 'Anvaendarnamn', 'sv' ] ], description => [ [ 'The username for logging in to DataDirect.', 'en' ], [ 'Anvaendarnamn hos DataDirect', 'sv' ] ], } ); $writer->start_selectone( { id => 'lineup', title => [ [ 'Lineup', 'en' ], [ 'Programpaket', 'sv' ] ], description => [ [ 'The lineup of channels for your region.', 'en' ], [ 'Programpaket foer din region', 'sv' ] ], } ); $writer->write_option( { value=>'eastcoast', text=> => [ [ 'East Coast', 'en' ], [ 'Oestkusten', 'sv' ] ] } ); $writer->write_option( { value=>'westcoast', text=> => [ [ 'West Coast', 'en' ], [ 'Vaestkusten', 'sv' ] ] } ); $writer->end_selectone(); $writer->end(); print $result;
EXPORTED FUNCTIONS
None.
METHODS
start() Write the start of the <xmltvconfiguration> element. Parameter is a hashref which gives the attributes of this element. write_string() Write a <string> element. Parameter is a hashref with the data for the element: $writer->write_string( { id => 'username', title => [ [ 'Username', 'en' ], [ 'Anvaendarnamn', 'sv' ] ], description => [ [ 'The username for logging in to DataDirect.', 'en' ], [ 'Anvaendarnamn hos DataDirect', 'sv' ] ], default => "", } ); perl v5.14.2 2010-04-24 Configure::Writer(3pm)
Related Man Pages
tap::parser::yamlish::writer(3pm) - mojave
tap::parser::yamlish::writer5.18(3pm) - mojave
plucene::index::writer(3pm) - debian
tap::parser::yamlish::writer(3pm) - debian
tap::parser::yamlish::writer(3pm) - suse
Similar Topics in the Unix Linux Community
Username creation
Writer's World Maker 1.0.24 (Default branch)
Writer's World Maker 1.0.13 (Default branch)
Writer's World Maker 1.0.27 (Default branch)
Writer's World Maker 1.0.35 (Default branch)