[
http://opensource.atlassian.com/projects/roller/browse/ROL-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_13803
]
Allen Gilliland commented on ROL-1444:
--------------------------------------
I like the idea of having support for JSON as an output format for weblog data.
I don't think this really has to have anything to do with the feeds though
since JSON isn't so much about feeds as it is just another data output format
(other than html or xml).
I think the best approach would be to create a new JSONServlet which can use
its own templates for doing JSON output and we would probably set it up so that
it would allow for grabbing entry data and comment data. I suppose we could
provide access to other data such as bookmark data, referrer data, etc, but i'm
not sure what the use case would be for that stuff.
Urls might be something like ...
/<weblog>/json/entries
/<weblog>/json/entries?anchor=<anchor>
/<weblog>/json/entries?category=<category>
/<weblog>/json/comments
/<weblog>/json/comments?anchor=<anchor>
I'm not much of a JSON expert, so if someone wants to come up with the JSON
formatting I would be willing to do the JSONServlet and all the other stuff.
> Output JSON from FeedServlet
> ----------------------------
>
> Key: ROL-1444
> URL:
> http://opensource.atlassian.com/projects/roller/browse/ROL-1444
> Project: Roller
> Issue Type: Improvement
> Components: Newsfeed Syndication
> Affects Versions: 3.1.1, 3.2
> Environment: n/a
> Reporter: Dolan Halbrook
> Assignee: Roller Unassigned
>
> It would be useful to me to have a JSON view of the feeds generated from
> FeedServlet. I'd be willing to do the work to make this happen and donate it
> back, but as it is to make this happen I'd have to sublcass virtually all of
> the FeedServlet and I'm trying to avoid too much customization -- it would be
> much nicer to roll this back into Roller.
> Basically as I see it this would involve modifying the FeedServlet and
> creating several .vm files (such as weblog-entries-json.vm) for the JSON
> views. Not sure how to handle the XSLT view yet.
> Does anyone see any good reason not to do this?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira