Duplicate
Every adapter already skips items that exist, when it saves them. The Duplicate processor checks earlier, in the middle of the pipe, so the processors after it don't do their work for nothing: no full-text download, no image download and no AI call for an item you already have.
Input and output
- Input:
input, the alias the item will get on your site. - Output:
result.
An item whose alias already exists is stopped with the message "Duplicate".
Options
- Adapter: where to look: Detect Automatically (the pipe's adapter), Content (Joomla articles), K2 or Zoo.
- Where Clause: an extra SQL condition for the check, for example with Zoo:
`application_id`={application_id} AND `type`='{type}'.
How to use it
- Add the Alias processor on the title, so you get the same alias Joomla will create.
- Add Duplicate with the Alias output as input.
- Put your heavy processors, such as Get Fulltext, Get Images or the Text Spinner, below it.
- Map the same alias to the adapter's
aliasfield.
Duplicate only knows Joomla articles, K2 and Zoo. For other adapters, rely on the adapter's own duplicate check.