File: V0_92.pm

package info (click to toggle)
libxml-rss-libxml-perl 0.3105%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 524 kB
  • ctags: 112
  • sloc: perl: 4,940; sh: 51; xml: 41; makefile: 5
file content (23 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package XML::RSS::LibXML::V0_92;
use strict;
use warnings;
use base qw(XML::RSS::LibXML::V0_91);

# Should be compatible with 0.91.
# See http://backend.userland.com/rss092

sub parse_dom
{
    my $self = shift;
    my $c    = shift;
    my $dom  = shift;

    $c->reset;
    $c->version('0.92');
    $c->encoding($dom->encoding);
    $self->parse_namespaces($c, $dom);
    $self->parse_channel($c, $dom);
    $self->parse_items($c, $dom);
}

1;