定制 xlient/xml-sitemap 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

xlient/xml-sitemap

最新稳定版本:v1.0.1

Composer 安装命令:

composer require xlient/xml-sitemap

包简介

An XML sitemap iterator that lets you traverse all urls in a sitemap.

README 文档

README

An XML sitemap iterator that lets you traverse all urls in a sitemap written in PHP using XmlReader. Supports sitemap indexes and url sets.

Example

$sitemapIterator = new \Xlient\Xml\Sitemap\SitemapIterator();
$sitemapIterator->open(
    __DIR__ . '/sitemap.xml',
    [
        // Skip over urls that have not been modified since this date.
        'modified_date_time' => null, // DateTime|string
        // Skip over urls that have a priority lower than this value.
        'minimum_priority' => null, // float
        // Specify the encoding of the sitemap.
        'encoding' => null, // String
    ]
);

foreach ($sitemapIterator as $url => $data) {
    ...
}

$sitemapIterator->close();

统计信息

  • 总下载量: 522
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unlicense
  • 更新时间: 2022-09-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固