| 1 | package XML::RSS::Private::Output::V0_91; | ||
| 2 | $XML::RSS::Private::Output::V0_91::VERSION = '1.60'; | ||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | ▶ | use vars (qw(@ISA)); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 2 | ▶ | use XML::RSS::Private::Output::Base; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 9 | use XML::RSS::Private::Output::Roles::ImageDims; | ||
| 10 | |||
| 11 | @ISA = (qw( | ||
| 12 | XML::RSS::Private::Output::Roles::ImageDims | ||
| 13 | XML::RSS::Private::Output::Base | ||
| 14 | ) | ||
| 15 | ); | ||
| 16 | |||
| 17 | sub _get_rdf_decl | ||
| 18 | { | ||
| 19 | return | ||
| 20 | qq{<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN"\n} . | ||
| 21 | qq{ "http://www.rssboard.org/rss-0.91.dtd">\n\n} . | ||
| 22 | qq{<rss version="0.91">\n\n}; | ||
| 23 | } | ||
| 24 | |||
| 25 | sub _calc_lastBuildDate { | ||
| 26 | my $self = shift; | ||
| 27 | if (defined(my $d = $self->channel('lastBuildDate'))) { | ||
| 28 | return $d; | ||
| 29 | } | ||
| 30 | elsif (defined(my $d2 = $self->_channel_dc('date'))) { | ||
| 31 | return $self->_date_to_rss2($self->_date_from_dc_date($d2)); | ||
| 32 | } | ||
| 33 | else { | ||
| 34 | return undef; | ||
| 35 | } | ||
| 36 | } | ||
| 37 | |||
| 38 | sub _output_rss_middle { | ||
| 39 | my $self = shift; | ||
| 40 | |||
| 41 | # PICS rating | ||
| 42 | $self->_out_def_chan_tag("rating"); | ||
| 43 | |||
| 44 | $self->_out_copyright(); | ||
| 45 | |||
| 46 | $self->_out_dates(); | ||
| 47 | |||
| 48 | # external CDF URL | ||
| 49 | $self->_out_def_chan_tag("docs"); | ||
| 50 | |||
| 51 | $self->_out_editors; | ||
| 52 | |||
| 53 | $self->_out_last_elements; | ||
| 54 | } | ||
| 55 | |||
| 56 | 1; | ||
| 57 | |||
| 58 | __END__ | ||
| 59 | |||
| 60 | =pod | ||
| 61 | |||
| 62 | =head1 VERSION | ||
| 63 | |||
| 64 | version 1.60 | ||
| 65 | |||
| 66 | =head1 AUTHOR | ||
| 67 | |||
| 68 | Shlomi Fish <shlomif@cpan.org> | ||
| 69 | |||
| 70 | =head1 COPYRIGHT AND LICENSE | ||
| 71 | |||
| 72 | This software is copyright (c) 2001 by Various. | ||
| 73 | |||
| 74 | This is free software; you can redistribute it and/or modify it under | ||
| 75 | the same terms as the Perl 5 programming language system itself. | ||
| 76 | |||
| 77 | =head1 BUGS | ||
| 78 | |||
| 79 | Please report any bugs or feature requests on the bugtracker website | ||
| 80 | L<https://github.com/shlomif/perl-XML-RSS/issues> | ||
| 81 | |||
| 82 | When submitting a bug or request, please include a test-file or a | ||
| 83 | patch to an existing test-file that illustrates the bug or desired | ||
| 84 | feature. | ||
| 85 | |||
| 86 | =for :stopwords cpan testmatrix url annocpan anno bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan | ||
| 87 | |||
| 88 | =head1 SUPPORT | ||
| 89 | |||
| 90 | =head2 Perldoc | ||
| 91 | |||
| 92 | You can find documentation for this module with the perldoc command. | ||
| 93 | |||
| 94 | perldoc XML::RSS::Private::Output::V0_91 | ||
| 95 | |||
| 96 | =head2 Websites | ||
| 97 | |||
| 98 | The following websites have more information about this module, and may be of help to you. As always, | ||
| 99 | in addition to those websites please use your favorite search engine to discover more resources. | ||
| 100 | |||
| 101 | =over 4 | ||
| 102 | |||
| 103 | =item * | ||
| 104 | |||
| 105 | MetaCPAN | ||
| 106 | |||
| 107 | A modern, open-source CPAN search engine, useful to view POD in HTML format. | ||
| 108 | |||
| 109 | L<https://metacpan.org/release/XML-RSS> | ||
| 110 | |||
| 111 | =item * | ||
| 112 | |||
| 113 | Search CPAN | ||
| 114 | |||
| 115 | The default CPAN search engine, useful to view POD in HTML format. | ||
| 116 | |||
| 117 | L<http://search.cpan.org/dist/XML-RSS> | ||
| 118 | |||
| 119 | =item * | ||
| 120 | |||
| 121 | RT: CPAN's Bug Tracker | ||
| 122 | |||
| 123 | The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN. | ||
| 124 | |||
| 125 | L<https://rt.cpan.org/Public/Dist/Display.html?Name=XML-RSS> | ||
| 126 | |||
| 127 | =item * | ||
| 128 | |||
| 129 | AnnoCPAN | ||
| 130 | |||
| 131 | The AnnoCPAN is a website that allows community annotations of Perl module documentation. | ||
| 132 | |||
| 133 | L<http://annocpan.org/dist/XML-RSS> | ||
| 134 | |||
| 135 | =item * | ||
| 136 | |||
| 137 | CPAN Ratings | ||
| 138 | |||
| 139 | The CPAN Ratings is a website that allows community ratings and reviews of Perl modules. | ||
| 140 | |||
| 141 | L<http://cpanratings.perl.org/d/XML-RSS> | ||
| 142 | |||
| 143 | =item * | ||
| 144 | |||
| 145 | CPANTS | ||
| 146 | |||
| 147 | The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution. | ||
| 148 | |||
| 149 | L<http://cpants.cpanauthors.org/dist/XML-RSS> | ||
| 150 | |||
| 151 | =item * | ||
| 152 | |||
| 153 | CPAN Testers | ||
| 154 | |||
| 155 | The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions. | ||
| 156 | |||
| 157 | L<http://www.cpantesters.org/distro/X/XML-RSS> | ||
| 158 | |||
| 159 | =item * | ||
| 160 | |||
| 161 | CPAN Testers Matrix | ||
| 162 | |||
| 163 | The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms. | ||
| 164 | |||
| 165 | L<http://matrix.cpantesters.org/?dist=XML-RSS> | ||
| 166 | |||
| 167 | =item * | ||
| 168 | |||
| 169 | CPAN Testers Dependencies | ||
| 170 | |||
| 171 | The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution. | ||
| 172 | |||
| 173 | L<http://deps.cpantesters.org/?module=XML::RSS> | ||
| 174 | |||
| 175 | =back | ||
| 176 | |||
| 177 | =head2 Bugs / Feature Requests | ||
| 178 | |||
| 179 | Please report any bugs or feature requests by email to C<bug-xml-rss at rt.cpan.org>, or through | ||
| 180 | the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=XML-RSS>. You will be automatically notified of any | ||
| 181 | progress on the request by the system. | ||
| 182 | |||
| 183 | =head2 Source Code | ||
| 184 | |||
| 185 | The code is open to the world, and available for you to hack on. Please feel free to browse it and play | ||
| 186 | with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull | ||
| 187 | from your repository :) | ||
| 188 | |||
| 189 | L<https://github.com/shlomif/perl-XML-RSS> | ||
| 190 | |||
| 191 | git clone git://github.com/shlomif/perl-XML-RSS.git | ||
| 192 | |||
| 193 | =cut | ||