Download the PHP package alleyinteractive/news-sitemap-for-publishers without Composer

On this page you can find all versions of the php package alleyinteractive/news-sitemap-for-publishers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package news-sitemap-for-publishers

News Sitemap for Publishers

Contributors: mboynes, alleyinteractive

Tags: news, sitemap, seo, publishers, google

Stable tag: 1.2.2

Requires at least: 5.5

Tested up to: 6.9

Requires PHP: 8.2

License: GPL v2 or later

Extends WordPress's XML sitemaps feature to add a news sitemap for Google, Yahoo, Bing, et al.

Description

Extends WordPress's XML sitemaps feature to add a news sitemap. News sitemaps are used by Google and others to surface recent news articles by publishers.

Installation

You can install the package via Composer:

Usage

Activate the plugin in WordPress and flush your rewrite rules (simply navigate to Settings → Permalinks in the WordPress admin to do so).

You can verify that the plugin is working by navigating to /wp-news-sitemap.xml on your site. You should also find a new sitemap entry in your site's robots.txt file for this URL.

Development

To set up a WordPress installation and run the plugin in a local environment, you can use wp-env via the composer dev command:

The command will start a local WordPress environment with the plugin activated.

Testing

Testing Suite

Run composer test to run tests against PHPUnit and the PHP code in the plugin. Unit testing code is written in PSR-4 format and can be found in the tests directory.

Releasing the Plugin

The plugin uses action-release via a built release workflow to compile and tag releases. Whenever a new version is detected in the root plugin's headers in the news-sitemap-for-publishers.php file or in the composer.json file, the workflow will automatically build the plugin and tag it with a new version. The built tag will contain all the required front-end assets the plugin may require. This works well for publishing to WordPress.org or for submodule-ing.

When you are ready to release a new version of the plugin, you can run composer release to start the process of setting up a new release. If you want to do this manually you can follow these steps:

  1. Change the Version in the news-sitemap-for-publishers.php file to a new higher-level version.

  2. Commit your changes and push to the repository.
  3. Check the actions tab in the repository to see the progress of the release. The action will automatically create a new tag and release for the plugin. You are done!

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

This project is actively maintained by Alley Interactive. Like what you see? Come work with us.

License

The GNU General Public License (GPL) license. Please see License File for more information.


All versions of news-sitemap-for-publishers with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package alleyinteractive/news-sitemap-for-publishers contains the following files

Loading the files please wait ...