Hi,
first request
on the home page, the API is like :
{
"categories": [{
"posts": [{
"user": {
},
"topic": {
"tid": "x",
"title": "myTitle",
"cid": "x",
"slug": "x/myTitle",
"deleted": "0",
"aid": "Author uid"
},
"category": {
},
}]
}],
}
The author uid
field (which is the uid of the user who created the topic) is actually missing. Could you add it to the API?
Second request
This one will probably require some more work.
I'd like to parse topics title (not only on the topic page, but everywhere they are displayed). There's already a filter:post.parse
hook which is just great for the posts, and a filter:title.parse
would be really appreciated (passing at leat 2 args to the callback: title string, and author uid).
Thanks for the good work.