Opened 18 years ago
Last modified 10 years ago
#5240 new enhancement
Expose Trac timeline data as JSON(P)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | unscheduled |
Component: | timeline | Version: | |
Severity: | normal | Keywords: | |
Cc: | Thijs Triemstra, leho@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I would want the option of exporting Timelines not only in HTML format, but in raw JSON (and JSONP, with a javascript padding callback) data format, too. The same goes for the Search view (but that's another ticket, really).
Given that, people can make their own uncoupled interfaces for the data set, such as this cool view, built solely from this JSON data set.
Attachments (0)
Change History (12)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
See also #3332 - convert the timeline data to some other arbitrary format.
comment:3 by , 16 years ago
Milestone: | → 1.0 |
---|---|
Priority: | high → normal |
This could be implemented in a plugin, but the timeline currently lacks an adequate interface. It should probably grow an IContentConverter implementation.
comment:5 by , 14 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Summary: | Expose Trac timeline data as JSONP → Expose Trac timeline data as JSON(P) |
osimons, this is now part of the xml-rpc plugin right?
comment:6 by , 14 years ago
Almost… JSON is now supported by th:XmlRpcPlugin. And, it does provide an interface to Search. However, Timeline support is not yet added - see th:ticket:5527
I'll get around to completing this at some stage. Promise…
follow-up: 9 comment:8 by , 14 years ago
Replying to thijstriemstra:
So it's a plugin issue?
No, not only a plugin issue. The Timeline API pre-supposes HTML-based output, which makes reuse in other formats more difficult than it needs to. Content can arrive in any form as plugins are free to at will. And output may differ depending on project and user/session settings.
This complexity is the main reason why the RPC plugin does not support Timeline. There are other discussions of this elsewhere… :-)
comment:9 by , 14 years ago
Replying to osimons:
Replying to thijstriemstra:
So it's a plugin issue?
… elsewhere…
i.e. #6492, in particular Simon's comment:31 and my reply in comment:34.
comment:10 by , 12 years ago
Cc: | added |
---|
comment:11 by , 12 years ago
Cc: | added; removed |
---|
comment:12 by , 10 years ago
Owner: | removed |
---|
Seems like something that should go into a plugin..