Play! helper to include external html page contents
Sep 9, 2013
Sometimes it could be useful to include a part of page from remote site. In this case this snippet can help you.
It is not a best solution, while it blocks the main thread for time it needs to get a response. But it can be improved using asynchronous invocation from page via some REST api or by using a cache in helper function.