WP Manifestindependent plugin directory
manifest / content / news-feed-factory

News Feed Factory

Плагин для новостного сайта WordPress. Генерирует ленты для агрегаторов новостей

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/dyadkov-wp/news-feed-factory/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Generate news feeds in multiple formats (Yandex, Google, Dzen, generic RSS) from WordPress content.

Purpose

A news WordPress site needs export channels besides its web presentation: news aggregators, search engines, reposters, RSS readers. Each consumer has its own requirements for format and data, but all work with the same site content.

This plugin builds feeds (RSS/XML and sitemaps) from WordPress content for those consumers. The consumer does not affect the core — it only defines the renderer format.

Requirements

  • WordPress 6.0+
  • PHP 8.0+

Development

Setup

composer install

Checks

composer check      # lint + analyse + unit tests
composer lint       # PHP_CodeSniffer
composer analyse    # PHPStan
composer test:unit  # PHPUnit, unit suite only
composer test       # PHPUnit, all suites

Integration tests require a real WordPress test environment (wp-env or the WordPress test suite) and are excluded from local runs by default.

Release

Built with git archive:

git archive --format=zip --prefix=news-feed-factory/ \
  --output=build/news-feed-factory.zip HEAD

Files excluded from the archive are listed in .gitattributes (export-ignore).

Architecture

See doc/adr/ for architecture decisions. Start with ADR-PRODUCT-0001-news-feed-factory.md and ADR-ARCH-0001-core.md.

License

MIT. See LICENSE.