Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
It can be as easy as you want.
You could simply have one page that generate the html code (with absolute links to elements, like image source) and have your users make an
PHP Code:
$html=file_get_contents("http://www.somwhere.com/content.php?userid=123456"); echo $html;
up to a full SOAP or REST service with XML negotiation.
Of course, this method implies that the user have access to file_get_contents() with url's, which can be deactivated by the server admin.
This might be a drawback.
But in the case than file_get_contents() is locked, alternatives can be implemented with sockets, or curl.
In this case, I'd estimate the time to half an hour, up to 3 weeks, depending of the complexity of your internal system and the site that comes around it.
But if you are unsure, stick with the simple way.
Simple is good, simple is simple.
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 06-03-2009 at 10:56 AM..
|