Net::PMP::Profile::Story - Story Profile for PMP CollectionDoc
use Net::PMP; use Net::PMP::Profile::Story; my $story = Net::PMP::Profile::Story->new( title => 'I am A Title', published => '2013-12-03T12:34:56.789Z', valid => { from => "2013-04-11T13:21:31.598Z", to => "3013-04-11T13:21:31.598Z", }, byline => 'By: John Writer and Nancy Author', description => 'This is a summary of the document.', tags => [qw( foo bar baz )], teaser => 'important story to read here!', contentencoded => $html, contenttemplated => $templated_html, ); # instantiate a client my $client = Net::PMP->client( host => $host, id => $client_id, secret => $client_secret, ); # save doc $client->save($story);
Net::PMP::Profile::Story implements the CollectionDoc fields for the PMP Story Profile https://github.com/publicmediaplatform/pmpdocs/wiki/Story-Profile.
This class extends Net::PMP::Profile. Only new or overridden methods are documented here.
Optional brief summary.
Optional full HTML-encoded string.
Optional content with placeholders for rich media assets.
Returns a string for the PMP profile's URL.
Peter Karman, <pkarman at cpan.org>
<pkarman at cpan.org>
Please report any bugs or feature requests to bug-net-pmp at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-PMP-Profile. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-net-pmp at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Net::PMP
You can also look for information at:
Join #pmp on http://freenode.net.
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-PMP-Profile
http://annocpan.org/dist/Net-PMP-Profile
http://cpanratings.perl.org/d/Net-PMP-Profile
http://search.cpan.org/dist/Net-PMP-Profile/
American Public Media and the Public Media Platform sponsored the development of this module.
Copyright 2013 American Public Media Group
See the LICENSE file that accompanies this module.
4 POD Errors
The following errors were encountered while parsing the POD:
Expected text after =item, not a bullet
To install Net::PMP::Profile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::PMP::Profile
CPAN shell
perl -MCPAN -e shell install Net::PMP::Profile
For more information on module installation, please visit the detailed CPAN module installation guide.