List related blog articles
Hi,
Does anyone know of a way to get related blog articles when viewing an article? In particular, using the tags and providing a list of articles that have the best match for the tags that are on the article being read.
I have tried using the rest API but the query only accepts a single tag entry per query so this isn't very intuitive as I might have 20 tags on an article.
Is this something that is available in the system or do I need to create a custom component to do this? If it's the latter, could I get a bit of help with starting it off, I am not sure if just plugging individual tags into multiple queries is the best way to go about this.
Thanks
According to https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv2&collection=messages#constraints-tags.text you can query for multiple tags, ex.
SELECT * FROM messages WHERE tags.text IN ('tag1', 'tag2', 'tag3')