Download the PHP package georgringer/news-importicsxml without Composer

On this page you can find all versions of the php package georgringer/news-importicsxml. 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-importicsxml

TYPO3 CMS Extension news_importicsxml

core 13 core 14

This extension provides an import interface for xml and ics files which can either be located on the same server or reached via URL. The import is done by the scheduler.

Requirements

Sponsors

Screenshots

Screenshot #1: Creation of an import task

Screenshot #2: Metadata of an imported ICS item

Installation

Installation using Composer

The recommended way to install the extension is by using composer. In your composer based TYPO3 project root, just do composer require georgringer/news-importicsxml.

Installation as extension from TYPO3 Extension Repository (TER)

Download and install the extension with the extension manager module.

Configuration

After installing the extension, switch to the module scheduler and create a new task Execute console commands. Select the command news:importicsxml and fill the arguments:

The same import can be started on the command line: vendor/bin/typo3 news:importicsxml fileadmin/data.xml 42 xml.

Category mapping

A category mapping can be used to add categories to the news records based on categories found in the feed.

A typical feed item can look like this:

An ICS entry with a category can look like this:

A possible category mapping would look like this:

As a result, the imported news record will belong to the categories of the IDs 5 & 17.

Email notification

Add an email address which will get notified after each run.

Important: This feature is not yet implemented!

Persist article with type external page

If set, the news article is saved with the type "External Url".

Further information

Clear the cache after an import

The import writes the records without the DataHandler, therefore TCEMAIN.clearCacheCmd is not evaluated. EXT:news dispatches the event GeorgRinger\News\Event\NewsPostImportEvent once an import has been done. Use it to flush the caches of the pages which show the news, the cache tags of EXT:news are tx_news_pid_<pid> and tx_news_uid_<uid>:

Proxy

XML feeds, ICS files and enclosures are fetched with the HTTP client of TYPO3. All settings of $GLOBALS['TYPO3_CONF_VARS']['HTTP'], like proxy (including no), are respected.

Debugging

This extension uses the logging API of TYPO3 CMS. You can find some basic information in the log files (default typo3temp/var/logs/typo3_****.log).

Extending the import

If you need to import additional data from a feed or ics item or you need to modify the data, use the Event Dispatching of the extension news. Most likely, you will need the NewsImportPostHydrateEvent EventListener.


All versions of news-importicsxml with dependencies

PHP Build Version
Package Version
Requires georgringer/news Version ^6.0 || ^7.0
typo3/cms-scheduler Version ^8.7 || ^9.2
typo3/cms-core Version ^8.7 || ^9.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 georgringer/news-importicsxml contains the following files

Loading the files please wait ...