定制 elephpant/updateservices 二次开发

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

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

elephpant/updateservices

Composer 安装命令:

composer require elephpant/updateservices

包简介

Update services is a tool that you can use to let other people know that you've updated your blog. Similar to what WordPress does when sending an XML-RPC ping, automatically notifying popular update services when you update your blog.

README 文档

README

Maintainer Source Code PHP from Packagist Latest Version Software License Build Quality Score Total Downloads

Installation

Composer (recommended)

Use Composer to install this library from Packagist: elephpant/updateservices

Run the following command from your project directory to add the dependency:

composer require elephpant/updateservices "^1.0"

Alternatively, add the dependency directly to your composer.json file:

"require": {
    "elephpant/updateservices": "^1.0"
}

Usage

Ping-o-Matic (Only)
<?php
use ElePHPant\UpdateServices\UpdateServices;

// Blog Name, Blog Home Page, RSS URL (optional)
(new UpdateServices('My Blog', 'https://domain.com', 'https://domain.com/rss.xml'))->pingOMatic();
Custom Ping List (Ping-o-Matic is Already Included)
// XML-RPC Ping Services
// https://codex.wordpress.org/Update_Services
// https://codex.wordpress.org/pt-br:Servi%C3%A7os_de_Atualiza%C3%A7%C3%A3o
$pingServices = [
    'http://rpc.pingomatic.com',
    'http://rpc.twingly.com',
    'http://api.feedster.com/ping',
    'http://api.moreover.com/RPC2',
    'http://api.moreover.com/ping',
    'http://www.blogdigger.com/RPC2',
    'http://www.blogshares.com/rpc.php',
    'http://www.blogsnow.com/ping',
    'http://www.blogstreet.com/xrbin/xmlrpc.cgi',
    'http://bulkfeeds.net/rpc',
    'http://www.newsisfree.com/xmlrpctest.php',
    'http://ping.blo.gs/',
    'http://ping.feedburner.com',
    'http://ping.syndic8.com/xmlrpc.php',
    'http://ping.weblogalot.com/rpc.php',
    'http://rpc.blogrolling.com/pinger/',
    'http://rpc.technorati.com/rpc/ping',
    'http://rpc.weblogs.com/RPC2',
    'http://www.feedsubmitter.com',
    'http://blo.gs/ping.php',
    'http://www.pingerati.net',
    'http://www.pingmyblog.com',
    'http://geourl.org/ping',
    'http://ipings.com',
    'http://www.weblogalot.com/ping',
];

(new UpdateServices('My Blog', 'https://domain.com', 'https://domain.com/rss.xml', $pingServices))->all();

Contributing

No one ever has enough engineers, so we're very happy to accept contributions via Pull Requests. For details, see CONTRIBUTING

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固