File: ImageDims.pm

package info (click to toggle)
libxml-rss-perl 1.33-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 640 kB
  • ctags: 205
  • sloc: perl: 5,976; xml: 245; makefile: 42
file content (16 lines) | stat: -rw-r--r-- 303 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package XML::RSS::Private::Output::Roles::ImageDims;

use strict;

sub _out_image_dims {
    my $self = shift;

    # link, image width, image height and description
    return $self->_output_multiple_tags(
        {ext => "image", 'defined' => 1},
        [qw(width height description)],
    );
}

1;