fungku/markup-validator-php
最新稳定版本:v0.2.1
Composer 安装命令:
composer require fungku/markup-validator-php
包简介
A markup validator, including RSS and atom feeds.
README 文档
README
Someday I'll add other things, but right now it is a feed validator.
Install
composer require fungku/markup-validator-php
RSS and atom feed validator
Uses W3.org feed validator to check if there are any errors in the feed.
Usage
use Fungku\MarkupValidator\FeedValidator; $validator = new FeedValidator(); $feed = 'http://www.w3.org/QA/news.rss'; if ($validator->validate($feed)) { echo "Feed is valid"; } else { echo "Feed is not valid."; }
统计信息
- 总下载量: 834
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-06-25