Author |
Topic |
redbrad0
Advanced Member
USA
3725 Posts |
Posted - 29 September 2003 : 10:57:26
|
I am working on a site where the data of the site could be displayed on other sites. They have a blind website which will allow them to use it with there look if they do not have a website. Basically I just want to share the body of the site with other sites and allow them to change the color and stuff of the site. But if they use the blind site they reference there company by using....
http://www.blindsite.com/default.asp?d=12345
When they access this site it sets a cookie so they cant try to goto another dealers site by changing the number. Im not sure if I am even making any sense but what would be the best way to share this data? Thru a database? XML? any other way? |
Brad Oklahoma City Online Entertainment Guide Oklahoma Event Tickets |
|
redbrad0
Advanced Member
USA
3725 Posts |
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 30 September 2003 : 19:24:49
|
Not sure what you're trying to do. But I have a similar problem soon (nowhere near as complex as yours) and we're just using CSS so the (one) other site can format it the way they want. I'm still a little hazy on how it will work, but the other site manager thinks it will be fine .... I'll let you know |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 30 September 2003 : 20:54:03
|
yeah if they don't need to make any layout changes then CSS would probably work fine, XML would give them the ability to just take the raw data and format it however they like. |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
Bullschmidt
New Member
USA
56 Posts |
|
redbrad0
Advanced Member
USA
3725 Posts |
Posted - 30 September 2003 : 23:28:16
|
Well let me see if I can explain a little more...
There are only two sites built right now... http://displayproducts.eznetideas.net/tradeshow/throw_covers.asp (main site) http://fabricexhibits.eznetideas.net/tradeshow/throw_covers.asp (blind site)
The company sells products only to dealers which in turn the dealers sell to the customers. They want the dealers to be able to build there own site with there data that is on there site. If they have there own website it would be great if it could be inserted into there site, but if not I have it setup so they can insert html for a top and bottom of the page into the database and then it could be displayed like... http://fabricexhibits.eznetideas.net/tradeshow/throw_covers.asp?d=3
Here are the problems I am seeing with the current setup. 1. With the different categorties on the site that display different menu items they would have to insert into the database for each website section. 2. What if the Dealer that is trying to insert his site does not know CSS to integrate the site? 3. If they have a website they would have to use an external address and not use there own domain name unless they use 3rd level domain names.
Maybe you might see other problems, or maybe you have a solution. Anything would be greatful |
Brad Oklahoma City Online Entertainment Guide Oklahoma Event Tickets |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 30 September 2003 : 23:48:53
|
Could you not have a DB that has a field to say the HTTP_REFERER an what they are allowed to see from that domain.
As a rough guide:
<%
Dim strD
strd = Request.Querystring("d")
%>
(some Sql Statment)
<%
if strd = HTTP_REFERER then
response.write "What ever"
else
response.write "You need to Be a valid customer from a valid address"
end if
%>
It may help to get started....
|
Cheers, David Greening |
|
|
redbrad0
Advanced Member
USA
3725 Posts |
Posted - 01 October 2003 : 11:32:44
|
Well basically I will just be having them link to the address with filename.asp?d=dealnumber because as we found out with the policy.asp page of snitz, it doesnt always get the referer url for all browsing users. |
Brad Oklahoma City Online Entertainment Guide Oklahoma Event Tickets |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
|
redbrad0
Advanced Member
USA
3725 Posts |
|
D3mon
Senior Member
United Kingdom
1685 Posts |
|
redbrad0
Advanced Member
USA
3725 Posts |
Posted - 01 October 2003 : 16:23:08
|
Actually if you think about it, if they can include files on other sites I could include your forum files and then run a sql statment and delete your entire database since your include files hold you database info. Thats why I really do not think its possible because of security reasons. |
Brad Oklahoma City Online Entertainment Guide Oklahoma Event Tickets |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
Posted - 01 October 2003 : 16:24:36
|
Ah you're right, sorry. That would have been good too - well, perhaps not the deleted DB! I guess I'd dump the HTML in a SQL DB and give the dealers unique user accounts to retrieve the data by OLEDB. I suppose that way they could log into the source domain for a nice easy admin page to edit their CSS as well. |
Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod "In war, the victorious strategist only seeks battle after the victory has been won" |
Edited by - D3mon on 01 October 2003 16:28:50 |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
Posted - 01 October 2003 : 16:30:54
|
Oh what am I saying! That relies on them having server-side processing like ASP or PHP accounts. Ignore me today, I'm rambling nonsense. |
Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod "In war, the victorious strategist only seeks battle after the victory has been won" |
|
|
redbrad0
Advanced Member
USA
3725 Posts |
|
sr_erick
Senior Member
USA
1318 Posts |
Posted - 01 October 2003 : 22:50:51
|
Interesting setup you got going there Brad. If I come up with an answer I will let you know. |
Erick Snowmobile Fanatics
|
|
|
Topic |
|