Dist::Zilla::Plugin::Twitter

Twitter when you release with Dist::Zilla
Download

Dist::Zilla::Plugin::Twitter Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Golden
  • Publisher web site:
  • http://search.cpan.org/~dagolden/

Dist::Zilla::Plugin::Twitter Tags


Dist::Zilla::Plugin::Twitter Description

Dist::Zilla::Plugin::Twitter is a Dist::Zilla plugin that will use Net::Twitter with the login and password in your .netrc file to send a release notice to Twitter. By default, it will include a link to your README file as extracted on a fast CPAN mirror. This works very nicely with Dist::Zilla::Plugin::ReadmeFromPod.The default configuration is as follows: tweet_url = http://cpan.cpantesters.org/authors/id/{{$AUTHOR_PATH}}/{{$DIST}}-{{$VERSION}}{{$TRIAL}}.readme tweet = Released {{$DIST}}-{{$VERSION}}{{$TRIAL}} {{$URL}} url_shortener = TinyURLThe tweet_url is shortened with WWW::Shorten::TinyURL or whichever other service you choose and appended to the tweet message. The following variables are available for substitution in the URL and message templates: DIST # Foo-Bar ABSTRACT # Foo-Bar is a module that FooBars VERSION # 1.23 TRIAL # -TRIAL if is_trial, empty string otherwise. TARBALL # Foo-Bar-1.23.tar.gz AUTHOR_UC # JOHNDOE AUTHOR_LC # johndoe AUTHOR_PATH # J/JO/JOHNDOE URL # http://tinyurl.com/...You must be using the UploadToCPAN or FakeRelease plugin for this plugin to determine your CPAN author ID.You can use the hash_tags option to append hash tags (or anything, really) to the end of the message generated from tweet. hash_tags = #perl #cpan #fooSYNOPSISIn your dist.ini: hash_tags = #foo url_shortener = TinyURLIn your .netrc: machine api.twitter.com login YOUR_TWITTER_USER_NAME password YOUR_TWITTER_PASSWORDProduct's homepage


Dist::Zilla::Plugin::Twitter Related Software