Jon White
-
9/16/2013 10:14:00 AM
Dynamic related documents
Hi there,
I have used the related documents feature which is great, but i really would love to automate the process.
Is it possible to show 'related news'/'related publications' based on the tags/keywords of the document?
Ideally i want to display related news/blog/publications/events which will display automatically based on the content of the document (i.e. news article). I need the easiest way to do this.
I don't mind doing it using tags. (ideally would be great if it did it based on text keywords - but that may not be possible)
Am I right in thinking I could create an extra field in the document type where i can input tags, then I'd use a repeater to display a set of documents i.e. News articles. Then i could add a WHERE condition to filter them.
However I wouldn't want to hard code an exact tag name into the WHERE in the repeater, it would have to match them automatically somehow. So find another news story for instance that uses the same tag and display.
Does anyone know the exact code i would need or how to go about this?
Thank you in advance
Jon
|