NAME

WebService::LiveJournal::Tag - (Deprecated) A LiveJournal tag

VERSION

version 0.09

SYNOPSIS

 use WebService::LiveJournal;
 my $client = WebService::LiveJournal->new( ... );
 my @tags = $client->get_user_tags;
 
 # print out each tag name, one per line
 say $_->name for @tags;

DESCRIPTION

NOTE: This distribution is deprecated. It uses the outmoded XML-RPC protocol. LiveJournal has also been compromised. I recommend using DreamWidth instead (https://www.dreamwidth.org/) which is in keeping with the original philosophy LiveJournal regarding advertising.

Instances of this class represent LiveJournal tags. They can be fetched from the LiveJournal server using the get_user_tags client method. That method takes one optional argument, which is the journal to use. If the journal name is not specified then it will use the logged in user's journal.

ATTRIBUTES

name

The tag name.

display

If present and on, indicates that this tag is visible to the S2 style system. Tags with this value set to off are still usable, they're just not exposed to S2.

security_level

The security (visibility) of the tag being returned. This can be one of 'public', 'private', 'friends', or 'group'.

uses

Number of times the tag has been used.

security

Shows the breakdown of use by security category.

$tag->security->{public}

The number of times this tag has been used on a public post.

$tag->security->{private}

The number of times this tag has been used on a private post.

$tag->security->{friends}

The number of times this tag has been used on a Friends-only post.

$tag->security->{groups}

Hash containing the breakdown by group, keys are the group name and values are the counts.

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.