Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > About Web Linking

Reply
Thread Tools

About Web Linking

 
 
Victor
Guest
Posts: n/a
 
      06-24-2004
Dear all
Anyone could tell me how can I extract the contents of outside web site in
my html file, how can i write it?
thanks


 
Reply With Quote
 
 
 
 
SpaceGirl
Guest
Posts: n/a
 
      06-24-2004

"Victor" <hkthlo-> wrote in message
news:cbek7f$2ov5$...
> Dear all
> Anyone could tell me how can I extract the contents of outside web site in
> my html file, how can i write it?
> thanks


Can you rephrase that hon? It's not very clear what you want.


 
Reply With Quote
 
 
 
 
rf
Guest
Posts: n/a
 
      06-24-2004

"Victor" <hkthlo-> wrote in message
news:cbek7f$2ov5$...
> Dear all
> Anyone could tell me how can I extract the contents of outside web site in
> my html file, how can i write it?


Er, what? Please clarify...

--
Cheers
Richard.


 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      06-24-2004
rf wrote:
> Victor wrote:
>
>> Anyone could tell me how can I extract the contents of outside web site in
>> my html file, how can i write it?

>
> Er, what? Please clarify...


Can't you read? He wants to extract the contents of outside web site in
his html file!

I think he wants <iframe> or even better:

<?php include("http://www.google.com/"); ?>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
Victor
Guest
Posts: n/a
 
      06-25-2004
i mean i can extract some information from other web site ( i.e. weather)
and then display in my web site.

"SpaceGirl" <> ¦b¶l¥ó
news: ¤¤¼¶¼g...
>
> "Victor" <hkthlo-> wrote in message
> news:cbek7f$2ov5$...
> > Dear all
> > Anyone could tell me how can I extract the contents of outside web site

in
> > my html file, how can i write it?
> > thanks

>
> Can you rephrase that hon? It's not very clear what you want.
>
>



 
Reply With Quote
 
SpaceGirl
Guest
Posts: n/a
 
      06-25-2004
> > > Dear all
> > > Anyone could tell me how can I extract the contents of outside web

site
> in
> > > my html file, how can i write it?
> > > thanks

> >
> > Can you rephrase that hon? It's not very clear what you want.
> >
> >

>
> i mean i can extract some information from other web site ( i.e. weather)
> and then display in my web site.


Not easily - however many web sites now offer something called RSS; these
are free feeds of data in XML format, which you can include in your web site
totally free (and format it to make it look just the way you want). Anything
else is technically copyright theft, unless you explicitly get permission of
the owner of the web site you are leaching from. There is no simple way to
automate the stealing of other sites content and wrapping it up as if it
were your own on your web site, and for pretty obvious reasons.


 
Reply With Quote
 
Matthias Gutfeldt
Guest
Posts: n/a
 
      06-25-2004
SpaceGirl wrote:
>>>>Dear all
>>>>Anyone could tell me how can I extract the contents of outside web

>
> site
>
>>in
>>
>>>>my html file, how can i write it?
>>>>thanks
>>>
>>>Can you rephrase that hon? It's not very clear what you want.
>>>
>>>

>>
>>i mean i can extract some information from other web site ( i.e. weather)
>>and then display in my web site.

>
>
> Not easily - however many web sites now offer something called RSS; these
> are free feeds of data in XML format, which you can include in your web site
> totally free (and format it to make it look just the way you want). Anything
> else is technically copyright theft, unless you explicitly get permission of
> the owner of the web site you are leaching from. There is no simple way to
> automate the stealing of other sites content and wrapping it up as if it
> were your own on your web site, and for pretty obvious reasons.


Depends on how you define "simple way". There are dozens of tools that
attempt to extract website content, a long list of PHP scripts is here:
<http://www.hotscripts.com/PHP/Scripts_and_Programs/Web_Fetching/index.html>.


Anybody can grab content with a bit of Regex. Usually it's easier to
grab content from a well-structured, W3C-compliant site than from a
tag-soup site.

The copyright issue is something to consider, of course. And RSS feeds
are easier to grab.


Matthias

 
Reply With Quote
 
Mark Parnell
Guest
Posts: n/a
 
      06-27-2004
On Fri, 25 Jun 2004 14:44:21 +0200, Matthias Gutfeldt
<say-no-to-> declared in alt.html:

> Usually it's easier to
> grab content from a well-structured, W3C-compliant site than from a
> tag-soup site.


Good reason to write tag soup, then.

--
Mark Parnell
http://www.clarkecomputers.com.au
"Never drink rum&coke whilst reading usenet" - rf 2004
 
Reply With Quote
 
Andy Dingley
Guest
Posts: n/a
 
      06-28-2004
"Victor" <hkthlo-> wrote in message news:<cbek7f$2ov5$>...

> Anyone could tell me how can I extract the contents of outside web site in
> my html file, how can i write it?


I wouldn't do this. Try using RSS instead - it's much easier, and you
can find RSS feeds to offer almost any content you might wish for.

You can "screen-scrape" HTML content, but it's difficult. And when
you've done it, the page designer might re-design their page and then
all of your code stops working.
 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      06-28-2004
Matthias Gutfeldt wrote:

> Anybody can grab content with a bit of Regex. Usually it's easier to
> grab content from a well-structured, W3C-compliant site than from a
> tag-soup site.


I find the main determining factor in scraping content is simply
consistancy. If all the pages use a common, predictable format (e.g. they
are all generated dynamically) then it's easy to scrape -- standards don't
come into it.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking my web site to YouTube....? ADVID Computer Support 4 06-11-2007 11:39 AM
Linking to a file on a local server with the Web.sitemap Bryan ASP .Net 0 02-21-2007 08:07 PM
Linking to other web sites Cab_Savvy Digital Photography 1 07-08-2006 04:27 PM
linking web controls and components at design time in asp 2.0 Lucio Mania ASP .Net Building Controls 0 12-22-2005 06:20 PM
peer to peer linking and sharing =?Utf-8?B?QmlsbEM=?= Wireless Networking 2 08-23-2004 08:23 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57