[TYPO3-50-general] How to get JSON View
    Robert Lemke 
    robert at typo3.org
       
    Thu Oct 29 13:38:13 CET 2009
    
    
  
Hi Andreas,
Am 29.10.2009 um 10:58 schrieb Karsten Dambekalns:
> By following the naming conventions this happens automagically.  
> Check if
> reading
> http://flow3.typo3.org/documentation/manuals/flow3/flow3.mvcframework/#d0e2087
> explains it enough for you...
Another way to display alternative formats (rss feeds for example) is  
to use Fluid for
them as well. This isn't true for JSON (yet) because some logic needs  
to convert
PHP arrays and objects to JSON, but it'll probably help you with other  
formats.
See http://forge.typo3.org/repositories/entry/package-blog/trunk/Resources/Private/Templates/Post/index.rss.xml
for an example.
Robert
    
    
More information about the TYPO3-project-5_0-general
mailing list