-
Feb 4th, 2011, 08:30 AM
#1
Using remote endpoint/proxy as simple integration
I want to do a quick and dirty integration using an iframe in an Alfresco Share page. Of course the user browsers will be more happy if I could use the proxy feature of Spring Surf.
So if I define
(not the actual site I'm going to connect to)
<config evaluator="string-compare" condition="Remote">
<remote>
<endpoint>
<id>loftux</id>
<name>Loftux - unauthenticated access</name>
<description>Access to Loftux</description>
<connector-id>http</connector-id>
<endpoint-url>http://loftux.se</endpoint-url>
<identity>none</identity>
</endpoint>
</remote>
</config>
I can use /share/proxy/loftux to load data into the iframe.
That all works well, except for that all hyperlinks will be wrong, they are all relative (or absolute depending on web site) to the endpoint-url.
So navigation "breaks" when following links in the iframed page.
Is there a way to re-write hyperlinks returned from the remote endpoint?
The site in question I want to integrate is very simple, and just have to co-exist with Alfresco for less than a year. It doesn't have a public api, so doing a real integration isn't an option. That why I wanted to try a simple iframe "integration".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules