Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
How Do You...Lift material from other websites
Old 06-01-2008, 11:42 AM How Do You...Lift material from other websites
Super Talker

Posts: 104
Location: Northern Ireland
Trades: 0
Hi All

I am wondering how do you get a website to search other websites and 'lift' material from them? I believe you call it a mash-up website. i.e lets say you were building a site that advertised turtles for sale - and you wanted to display not just your own ads but other ads posted by other users on other websites as well?

Further, does anyone know a good scipt that is a bit like BEBO i.e users can join with username and password and upload their own page with photos etc.

Any help appreciated

Seb.
sebastianx is offline
Reply With Quote
View Public Profile Visit sebastianx's homepage!
 
 
Register now for full access!
Old 06-01-2008, 03:50 PM Re: How Do You...Lift material from other websites
nyef's Avatar
Ultra Talker

Posts: 265
Name: Lucas
Trades: 0
What you are describing could be a violation of copyright law depending on how you use it, so be careful, but you can retrieve data from other websites by making HTTP requests, either server-side or clientside.

Serverside (ASP example):
Code:
on error resume next
set xmlhttp=Server.CreateObject("Microsoft.XMLHTTP")
xmlhttp.open "GET","http://www.google.com/",false,"",""
xmlhttp.send
if err.number=0 and xmlhttp.status=200 then
   data=xmlhttp.responsetext
end if
Clientside (Javascript example):
Code:
if (document.all) var req=new ActiveXObject("Microsoft.XMLHTTP");
else var req=new XMLHttpRequest();
req.onreadystatechange=funcProcess;  //  funcProcess() will process the result
req.open('GET','http://www.google.com/',true);
nyef is offline
Reply With Quote
View Public Profile Visit nyef's homepage!
 
Reply     « Reply to How Do You...Lift material from other websites
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10000 seconds with 12 queries