Changes for README.md: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -50,7 +50,7 @@ Any module can register a new service type and provide items for it.
2.**Add per-user config fields** in `hook_form_actstream_accounts_form_alter()` — append fields to the accounts form and attach a submit handler that calls `actstream_account_save()`.
3.**Fetch items** in `hook_actstream_SERVICE_items_fetch()` — contact the remote API and return normalised item arrays. Each item needs `title`, `body`, `link`, `timestamp`, `guid`, and ideally `raw`.
3.**Fetch items** in `hook_actstream_SERVICE_items_fetch()` — contact the remote API and return normalized item arrays. Each item needs `title`, `body`, `link`, `timestamp`, `guid`, and ideally `raw`.
4.**Optionally alter items** in `hook_actstream_SERVICE_items_alter()` — filter, enrich, or reorder items before they are saved.