canmove, Confirmed users
1,173
edits
| Line 30: | Line 30: | ||
If we're using the JSON object presented in the DOM event, instead of the JSON feed, then we need: | If we're using the JSON object presented in the DOM event, instead of the JSON feed, then we need: | ||
* API to request the latest/up-to-date JSON object for a persona, given an ID | * API to request the latest/up-to-date JSON object for a persona, given an ID | ||
http://server/static/1/0/34510/index_1.json | |||
the two single digits in the middle are the second to last and last digits of the id. | |||
We also talked about needing some extra features in the JSON object: | We also talked about needing some extra features in the JSON object: | ||
Needs: | Needs: | ||
* preview image | * preview image | ||
* 32x32 icon ' | |||
* summary text | if you want to use the current preview image, it's | ||
/static/1/0/34510/preview.jpg | |||
* 32x32 icon | |||
/static/1/0/34510/preview_small.jpg | |||
Note that the code to generate these is not live yet. We'll also need to go through the old personas and generate these files. | |||
* summary text | |||
Will be in the json object as "description" | |||
(also needs to be checked in, pushed, then everything has to be rebuilt) | |||
Wants: | Wants: | ||