dkeen
dkeen

Reputation: 154

Are feed group and feed id available as separate variables in aggregation formats

The documentation says the following variables are available:

feed_group: the feed group (e.g. timeline)
feed_id: the feed id (e.g. 123)

However, when I preview this aggregation format {{ feed_group }}_!_{{ feed_id }} the result is something like _!_timeline_aggregated:040fd3ae-ad3b-4e64-95f9-32da6daff105, indicating feed_id contains the full feed string and feed_group is blank or undefined.

Is there any way to get separate feed_group and feed_id strings as the docs indicate?

Upvotes: 1

Views: 137

Answers (1)

hannesvdvreken
hannesvdvreken

Reputation: 4988

[edited after conversation in the comments]

There was an unfortunate consistency in the docs which has been updated since. feed_group was indeed not set and the feed_id contained the feed_group as well, divided from the id with a semicolon (:).

For backward compatibility only the docs have been updated. The feed_id is now something like notification:123 and the feed_group is no longer a documented variable. Also verb.id got renamed to just verb.

Upvotes: 1

Related Questions