Welcome Guest, Not a member yet? Register   Sign In
Extend core libraries to detect the request file type and load applicable view
#5

[eluser]louis w[/eluser]
I have been thinking of doing something like this. I think I am going to use the routes to change output format

http://localhost/blogs/view/1234 or http://localhost/_html/blogs/view/1234 >> output normally/html
http://localhost/_xml/blogs/view/1234 >> output as xml
http://localhost/_pdf/blogs/view/1234 >> output as pdf
http://localhost/_json/blogs/view/1234 >> output as json

It's only an idea at this point, not fully realized.


Messages In This Thread
Extend core libraries to detect the request file type and load applicable view - by El Forum - 03-27-2008, 08:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB