Table of Contents
This extension exists thanks to the completion of 5 USD bounty, which has been financed by the following people:
Name | Donation |
---|---|
@yuliakbard | 6.44 USD 1 |
Usage
Item View
- Normal view →
./route/to/user/user-name
- JSON view →
./route/to/user/user-name/feed.json
- RSS view →
./route/to/user/user-name/feed.xml
Items View
- Normal view →
./route/to/user
- JSON view →
./route/to/user/feed.json
- RSS view →
./route/to/user/feed.xml
Parameter
Some URL parameters are available to manipulate the feed results, so that you can allow third party applications to fetch your data:
chunk
→ Determine how many users to show per request. Default is25
.fire
→ JavaScript callback function name that bounds to thewindow
object.part
→ Current page offset. Default is1
.query
→ Determine the search query to filter the feed results.sort
→ Default is[-1,"time"]
to sort users descending by thetime
data.
Example API usage:
<script>
function render(json) {
console.log(json);
}
</script>
<script src="http://127.0.0.1/user/feed.json?chunk=5&fire=render"></script>
About 100,000 IDR since this extension was created. ↩
0 Comments
No comments yet.