files, text and CSV files, MP3, M4A, OGG and WAV audio, and MP4, WebM and MOV video.
- The same rules apply as for images: inside the allowed folders only, and the file type must match its extension.
- You set a maximum file size. A larger file is skipped and reported in the log.
- A link to a mirrored file keeps pointing at the target site, also with Rewrite Relative Links on.
Dry run first
Switch on Dry Run and the task simulates a run without writing anything to the database or downloading any files. The task log shows which articles would be created, updated or deleted, and which images and files would be downloaded. The switch turns itself off after one run, so the next scheduled run is a real one.
Custom fields come along
Switch on Sync Custom Fields and the custom field values of every article are copied too.
- A field on the source is matched to the field with the same name on the target site. When the names differ, a field mapping connects them.
- Both fields must have the same type. A field without a counterpart is skipped and reported in the log.
- Supported types: text, textarea, editor, URL, integer, number, calendar, color, list, radio, checkboxes, media and media file.
- The image or file of a media field is mirrored along with it.
More control
- Removed articles. When an article no longer exists on the source, move the local copy to the trash, unpublish it or delete it permanently. Or leave it alone.
- Incremental sync. Only ask the source for articles changed since the last successful run. This saves many API requests on a large site.
- Force resync. Process every article again, once, regardless of its modification date.
- Rewrite relative links. Point relative links in the article back to the source site.
- Filter article HTML. Scripting is removed from the article HTML before it is stored. On by default.
- Schema.org data. Mirror the structured data of each article (needs Joomla 6.2 or newer on the source).
- Logging. Choose a log level and write every run to administrator/logs/contentsync.php, next to the task log of the scheduler.
Good to know
- The Web Services API must be reachable on the source site, with a user token that may read articles.
- The plugin goes on the target site only.
- Changes you make to a synced article on the target site are overwritten when the article changes on the source.
- Custom fields are not created for you. Create them on the target site first, with the same name and type as on the source.
Technical details
- Task plugin for the Joomla Task Scheduler, built on the namespaced Joomla plugin architecture with a service provider
- Joomla 5 and 6, PHP 8.1 or higher
- One database table that links source articles to local articles; removed again on uninstall
- No template overrides, no core changes
License
ContentSync comes in a FREE and a PRO edition, both licensed under the GNU GPL version 3 or later.
FREE creates and updates articles into one category on a schedule, with a filter on state and on one source category, image mirroring, the dry run, force resync and logging. Scripting is filtered out of the article HTML in both editions.
PRO adds filtering on several categories and on tag, language, featured and workflow stage, the mappings for categories, tags, authors and access levels, custom fields, documents, audio and video with several media folders, the handling of removed articles, incremental sync, Schema.org data and link rewriting. A PRO license includes updates and support, and installing PRO over FREE keeps your task settings.
- Documentation: https://www.joomill-extensions.com/documentation/contentsync
- Support: https://www.joomill-extensions.com/contact
🔗 extensions.joomla.org
#DataImportExport #NewlyListedJoomlaExtensions #JoomlaLatestExtensions #JoomlaExtensions #JED #JoomlaOrg
📣 @joomlanews
Post #5100
4