Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

XML::APML::Concept
concept markup

XML::APML::Concept - concept markup


NAME

XML::APML::Concept - concept markup


SYNOPSIS


    my $explicit_concept = XML::APML::Concept->new(

        key   => 'sport',

        value => 0.9,

    );

    # change value

    $explicit_concept->value(0.1);

    $profile->explicit->add_concept($explicit_concept);

    my $implicit_concept = XML::APML::Concept->new(

        key     => 'television',

        value   => 0.77,

        from    => 'GatheringTool.com',

        updated => '2007-03-11T01:55:00Z',

    );

    print $implicit_concept->key;

    print $implicit_concept->value;

    print $implicit_concept->from;

    $dt = DateTime::Format::W3CDTF->new->parse_datetime($implicit_concept->updated);

    print $dt->year;

    print $dt->month;

    $implicit_concept->updated( DateTime::Format::W3CDTF->new->format_datetime( DateTime->now ) );

    $profile->implicit->add_concept($implicit_concept);


DESCRIPTION

Class that represents Concept mark-up for APML.


METHODS

new

Constructor

key

key accessor

value

value accessor

from

from accessor

updated

updated accessor get/set W3CDTF(iso8601) formatted string.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy