Graze has lots of powerful nodes, but the attribute comparison is where we give you the most flexibility. With it you can filter post by "attributes" on the post. "Attributes" includes things like: the embed url or whether the post has a reply.
We have a bunch of different nodes that can use attributes:
In the following example we use the Regex Node to check if any of the text in an embedded link matches "Kendrick". Now if anyone posts a link that mentions Kendrick in either the URL, title or description, it's gets added to your feed.
That's all good but how do you view the attributes of a post?
For browsing the data for a post we recommend https://pdsls.dev. This tool lets you put in a link and see what bluesky stores for the post. We can use this to determine what attributes look like on a post
For example, if we take this post, we can see the following attributes:
embed:
$type: app.bsky.embed.recordWithMedia
media:
$type: app.bsky.embed.external
external:
uri: https://graze.social
thumb:
$type: blob
ref:
$link: bafkreifxp6jwe6ybqk66av6rird53mffqlvnqkbkirnhdlf5yv7lnj4ace
mimeType: image/jpeg
size: 363034
title: Graze.social - Curate Your Bluesky Feeds
description: Design, deploy, and grow feeds of any complexity on Bluesky with Graze.social.
record:
$type: app.bsky.embed.record
record:
cid: bafyreihh5tvpjdxdde3aeuigcywwvl3x2howd3gxoefrvxmybzq4knaxvu
uri: at://did:plc:i6y3jdklpvkjvynvsrnqfdoq/app.bsky.feed.post/3lcvhakboqc2k
Something we might want to match in here is "Graze.social" in the description.
Using fields in the Word List Node this is easy!
As you can see there is a lot of room for creativity when matching against a post's attributes! Hopefully this guide helps you along your way to dialing your feed.