I have successfully used the XML webservice to export my records in
that form as well as a regular html view just by varying the url

The manual describes webservices as "rss, xml, rest, soap, xmlrpc"
(Section 4 Advanced routing http://manual.cakephp.org/chapter/configuration)

I know CSV is not strictly a webservice, but I would dearly love to add it
to this list as the consumers on my app expect to be able to paste into
a spreadsheet, and this would be very convenient in terms of consistency

Can anyone point me in the right direction of how I do this?

I tried following the pattern for xml (items/xml/view.thtml,
layouts/xml/default.thtml etc)
but each time I try to go to a URL like http://..../csv/items/view/1234
... I get an error about a missing CSV controller. I suspect I just need to
update some file
or configuration or route to sort this out

Am I missing something obvious?
Howard

-- 
--
Howard Glynn [ [EMAIL PROTECTED] ]
Edinburgh, UK

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to