# The best way to create aggregated metadata for a Topic based on its messages?

**URL:** <https://meta.discourse.org/t/the-best-way-to-create-aggregated-metadata-for-a-topic-based-on-its-messages/56464>\
**Category:** Feature\
**Created:** [27. Januar 2017 um 15:04 UTC](https://meta.discourse.org/t/the-best-way-to-create-aggregated-metadata-for-a-topic-based-on-its-messages/56464 "2017-01-27T15:04:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![skozz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/skozz/32/119704_2.png) [@skozz](https://meta.discourse.org/u/skozz)\
**Post date:** [27. Januar 2017 um 15:04 UTC](https://meta.discourse.org/t/the-best-way-to-create-aggregated-metadata-for-a-topic-based-on-its-messages/56464/1 "2017-01-27T15:04:26Z")

</div>

I have an idea to my community and for a plugin but I’m starting as “discourse plugin developer” and there are too many things to learn yet.

I hope you can help me to see the best way to address my idea. Here we go:

* * *

Let’s say we have a **Topic** called “Review about the new Ford Fusion 2017”, with a normal text and some “fixed” metadata with a rating like:

- Price: 6/10
- Engine: 9/10
- Confort: 8/10
- CO2: 5/10

Then, the community can **Reply** the **Topic** with the same approach: normal text with its comments and fill the same metadata:

- Price: 2/10
- Engine: 4/10
- Confort: 6/10
- CO2: 6/10

At the end, I want to display at the top of the topic the average.

* * *

I hope I explained well, if not I can do a mockup with the feature that I want to create.

Any ideas?

Thank you!

---

_[View the full topic](https://meta.discourse.org/t/the-best-way-to-create-aggregated-metadata-for-a-topic-based-on-its-messages/56464)._
