# Get a filtered latest.json

**URL:** https://meta.discourse.org/t/get-a-filtered-latest-json/100440
**Category:** Development
**Created:** [October 25, 2018, 10:11am UTC](https://meta.discourse.org/t/get-a-filtered-latest-json/100440 "2018-10-25T10:11:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [October 25, 2018, 10:11am UTC](https://meta.discourse.org/t/get-a-filtered-latest-json/100440/1 "2018-10-25T10:11:40Z")

</div>

We’d like to create a personalised hompage for users, that will include posts tagged to their interest. We’ll pre-define a few persona’s and they’d need to get a personalised feed of latest forum posts.

What would be the best way to get a latest.json that is filtered to only contain a select few categories / tags?

Ideally it would:

- include posts containing [tag] & [tag2] from `category1`
- include _all_ posts from the news-category
- include pinned topics, unless read
- include the answer-state from the solved-plugin

Is any filtering like this implemented?  
Or would it be better to just get latest.json (which will contain everything I need, and more), parse it in the frontend and filter out the things we do not want to show?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [October 25, 2018, 10:55am UTC](https://meta.discourse.org/t/get-a-filtered-latest-json/100440/2 "2018-10-25T10:55:54Z")

</div>

AFAIK the best would probably be to write a plugin for such customisation.

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [October 25, 2018, 11:57am UTC](https://meta.discourse.org/t/get-a-filtered-latest-json/100440/3 "2018-10-25T11:57:09Z")

</div>

That’s too bad :slight_smile:

How would we best approach this so that the new feed doesn’t deviate too much from the OOTB latest.json?
