The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

rssoutput - Format UnixODBC result set as RSS version 1.0 RDF file.

SYNOPSIS

  rssoutput [--help] | [--user=<username>] [--password=<password>] 
  --dsn=<DSN> --query=<SQLQuery> --channel=<channel_info_file>
  --content=<content_info_file>   [--image=<image_resource_file>]
  [--textinput=<texintput_resource_file>] [--syn=<syn_resource_file>]

OPTIONS

--help

Print help message and exit.

--dsn

Name of the data source to query.

--user

User's DSN login name.

--password

User's DSN login password.

--query

Valid SQL query.

--channel

A file that contains information about the RSS channel, as an anonymous hash. A sample channel description is shown here.

  {
    'title' => 'Sample Feed',
    'description' => 'Sample Feed for UnixODBC::RSS.pm',
    'link' => 'http://www.yourserver.yourdomain.org/feed.cgi'
  }

--content

A file that contains information about which column of the result set provides content for an item member, as an anonymous hash. Each key-value pair contains, respectively, the name of a result set column and the name of an item member tag: <title>, <description>, <name>, <link>.

  {  
    'name' => 'title',
    'short_description' => 'description',
    'author' => 'name',
    'url' => 'link'
  }

--image

Channel image resource information provided in the file that is the argument's parameter should have the form:

  {
        'title' => 'Test Image',
        'url' => 'http://owl/icons/ball.red.gif'
  }

--syn

Optional Syn resource description in the file given as a parameter.

 {'updatePeriod' => 'daily',
  'updateFrequency' => 1,
  'updateBase' => '2000-01-01T12:00+00.00'
 }

--textinput

Channel <textinput> resource information in the file given as a parameter.

  {
    'title' => 'Test TextInput',
    'description' => 'This is a test text input',
    'name' => 'Test Input',
    'link' => 'http://hostname/textinput.html'
  }

VERSION INFORMATION AND CREDITS

Version 0.4

Copyright © 2004, 2008 Robert Kiesling, rkies@cpan.org.

Licensed under the same terms as Perl. Refer to the file, "Artistic," for details.

SEE ALSO

perl(1), UnixODBC(3), UnixODBC::RSS(3)

1 POD Error

The following errors were encountered while parsing the POD:

Around line 408:

Non-ASCII character seen before =encoding in '©'. Assuming CP1252