fungku/markup-validator-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2015-06-25