vcutils

RCSFormat::Converter::Atom

RCS to Atom Converter

SYNOPSIS

  use RCSFormat::File;
  use RCSFormat::Converter::Atom;
  
  $rcs = RCSFormat::File->...;
  
  $atom_feed_doc = rcs_to_atom_feed $rcs;
  print $atom_feed_doc->inner_html;

DESCRIPTION

This module, RCSFormat::Converter::Atom, provides a function that generates an Atom Feed Document from the given RCS file object. The feed contains the author and date of the revisions contained in the RCS file, as well as HTML marked-up commit logs and unified diffs between the revisions and their previous revisions. It would be useful to follow updates of RCS- or CVS-version controled files using your favorite feed reader.

FUNCTIONS

$doc = rcs_to_atom_feed $rcs

This function generates an Atom Feed Document from the RCS file given as the argument. The argument $rcs must be an instance of RCSFormat::File. It returns an AtomDocument object. Please consult manakai's documentation or DOM specifications.

SEE ALSO

RCSFormat::File.

manakai. Message::DOM::Document.

AUTHOR

Wakaba <w@suika.fam.cx>.

LICENSE

Copyright 2010 Wakaba <w@suika.fam.cx>. All rights reserved.

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