Download the PHP package vivomedia/neos-rss without Composer

On this page you can find all versions of the php package vivomedia/neos-rss. 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 neos-rss

VIVOMEDIA.Rss

An RSS feed document node type for Neos CMS.

Editors create an RSS Feed document anywhere in the content tree. The feed collects descendant documents below a configurable starting point, optionally filtered by node type, and renders them as RSS 2.0 XML. Each feed item can be rendered with a dedicated, project-specific renderer.

Requirements

Installation

Usage

Create an RSS Feed document in the content tree and configure it in the inspector (group RSS Feed):

Property Label Description
rootNode Ausgangspunkt Starting point of the feed. Descendants below this node are collected. Required.
nodeTypeFilter Seitentypen Filter Multi-select of allowed node types. Empty = all document types. The available options are empty by default and extended per project (see below).
levels Ebenen (0 = alle) How many levels below the starting point to include. 0 = unlimited.
limit Max. Einträge (0 = alle) Maximum number of items. 0 = unlimited. Default 20.
feedDescription Feed-Beschreibung <description> of the channel.

The channel title is the document's title; items are sorted by last publication date (descending).

The feed is reachable at the document URL with an .xml suffix, e.g. https://example.com/news.xml. Opening the document's HTML URL redirects there.

Extending with custom node types

Out of the box the filter select box is empty, and every node type is rendered with the default item renderer (title, link, publication date). Projects typically do two things: offer specific node types in the filter, and provide a dedicated rendering for them.

1. Add node types to the filter select box

Override VIVOMEDIA.Rss:RssFeed in your site package's NodeTypes/ to populate the nodeTypeFilter options:

2. Provide a dedicated item renderer

For each node type the feed resolves a prototype named <NodeType>.RssItem. If that prototype exists (Neos.Fusion:CanRender), it is used; otherwise it falls back to VIVOMEDIA.Rss:DefaultRssItem.

Define one in your project and compose the supplied presentational component, VIVOMEDIA.Rss:Component.RssItem, which renders a valid <item>:

VIVOMEDIA.Rss:Component.RssItem props

Prop Description
title Item title (wrapped in CDATA, tags stripped).
link Absolute item URL.
description Item description (CDATA). Omitted when empty.
pubDate DateTime; formatted as RFC-822. Omitted when empty.
guid Unique identifier, rendered with isPermaLink="false". Omitted when empty.
content AFX children — extra elements placed inside the <item>, e.g. <content:encoded> or an <image> element.

To emit custom namespaced elements you usually also need to declare the XML namespace on the <rss> element. Override the channel renderer's rssAttributes in your project:


All versions of neos-rss with dependencies

PHP Build Version
Package Version
Requires neos/neos Version >=8.3
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 vivomedia/neos-rss contains the following files

Loading the files please wait ...