feedvalidate.pl - validate (check syntax) of online RSS or Atom feeds from the command line
feedvalidate.pl uri [uri2 ...]
Use the URI of the online feed you want to check, the script will list the errors encountered:
% ./feedvalidate.pl http://www.example.org/News.rss Validating feed http://www.w3.org/QA/News.rss... Invalid! 2 error(s) * Missing channel element: description at line: 23 column: 0 * item must be a valid URI at line: 29 column: 0
To batch validate several feeds, just give their addresses as a sequence separated by a space:
% ./feedvalidate.pl http://www.example.org/News.rss % ./feedvalidate.pl http://www.example.org/Othernews.atom Validating feed http://www.example.org/News.rss... Invalid! 2 error(s) * Missing channel element: description at line: 23 column: 0 * item must be a valid URI at line: 29 column: 0 Validating feed http://www.example.org/Othernews.atom Valid.
To install WebService::Validator::Feed::W3C, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Validator::Feed::W3C
CPAN shell
perl -MCPAN -e shell install WebService::Validator::Feed::W3C
For more information on module installation, please visit the detailed CPAN module installation guide.