[
http://opensource.atlassian.com/projects/roller/browse/ROL-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_13808
]
Dolan Halbrook commented on ROL-1444:
-------------------------------------
Hi Allen,
Thanks for responding. There are several ways of creating data using the JSON
syntax. The most straightforward is probably to use the libraries available
here:
http://www.json.org/java/index.html
Even easier might be to use the latest version of XStream, which has some JSON
support:
http://xstream.codehaus.org/
Finally, one could just create the JSON in Velocity, similar to the way the
feeds are created.
The best source of JSON documentation is really here:
http://www.json.org/
... and it looks like there are quite a few other libraries available besides
the ones I've mentioned.
As I said before, I'd be happy to help work on this -- just let me know which
parts you'd like me to take care of.
> 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