Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robuust/craft-clientonline
ClientOnline RSS Importer for Craft 3
https://github.com/robuust/craft-clientonline
craft-plugin craft3
Last synced: 28 days ago
JSON representation
ClientOnline RSS Importer for Craft 3
- Host: GitHub
- URL: https://github.com/robuust/craft-clientonline
- Owner: robuust
- License: mit
- Created: 2020-04-21T12:19:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T15:07:12.000Z (almost 2 years ago)
- Last Synced: 2024-04-19T01:20:46.190Z (8 months ago)
- Topics: craft-plugin, craft3
- Language: PHP
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Client Online plugin for Craft
=================Plugin that allows you to import ClientOnline RSS feeds.
## Requirements
This plugin requires Craft CMS 3.1.0 or later.
## Installation
To install the plugin, follow these instructions.
1. Open your terminal and go to your Craft project:
cd /path/to/project
2. Then tell Composer to load the plugin:
composer require robuust/craft-clientonline
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Client Online.
## Config
Create a file called `clientonline.php` in you Craft config folder with the following contents:
```php
9999, // YOUR OFFICE_ID
// Section
'sectionHandle' => 'YOUR_NEWS_SECTION_HANDLE',
'entryTypeHandle' => 'YOUR_NEWS_ENTRY_TYPE_HANDLE',
// Fields
'articleIdField' => 'YOUR_NEWS_ARTICLE_ID_FIELD', // PlainText
'imageField' => 'YOUR_NEWS_IMAGE_FIELD', // Asset
'textField' => 'YOUR_NEWS_TEXT_FIELD', // Redactor
];```
## Usage
Run `craft clientonline/import` on the CLI to import the newest items.