471,076 Members | 1,332 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,076 software developers and data experts.

how to grab info from other websites?

Hello, how can I grab some information from other websites? Like for
example the way housingmaps.com is grabbing stuff from
craigslist.org ... Can someone redirect me to a few examples of where
they explain how to do this stuff? Thanks.

Simon

Feb 4 '07 #1
5 2553
Kentor schreef:
Hello, how can I grab some information from other websites? Like for
example the way housingmaps.com is grabbing stuff from
craigslist.org ... Can someone redirect me to a few examples of where
they explain how to do this stuff? Thanks.
Ask the webmaster to give you the info you need in an easy to use
format. If you have something to offer he/she wil probably help.
Otherwise write your own content and keep your hands of other peoplle's
content.

To awnser your question:
Use fopen to read a webpase into a variable.
User regular expressions to filter out data u need

--
Arjen
http://www.hondenpage.com
Feb 4 '07 #2
Uhu thanks a lot for the quite nice response in the first paragraph...
Obviously I will ask for permission before grabbing any information
from other websites... anyways that was not the point of this post.
Anyways thanks for your very kind response.

On Feb 4, 3:11 pm, Arjen <d...@mail.mewrote:
Kentor schreef:
Hello, how can I grab some information from other websites? Like for
example the way housingmaps.com is grabbing stuff from
craigslist.org ... Can someone redirect me to a few examples of where
they explain how to do this stuff? Thanks.

Ask the webmaster to give you the info you need in an easy to use
format. If you have something to offer he/she wil probably help.
Otherwise write your own content and keep your hands of other peoplle's
content.

To awnser your question:
Use fopen to read a webpase into a variable.
User regular expressions to filter out data u need

--
Arjenhttp://www.hondenpage.com

Feb 4 '07 #3
You can use
fopen() wrapper http://www.php.net/fopen
or fsockopen() via port 80 http://www.php.net/fsockopen
--
http://www.mastervb.net/phpbooks/
http://www.mastervb.net
On Feb 5, 2:27 am, "Kentor" <ken...@gmail.comwrote:
Hello, how can I grab some information from other websites? Like for
example the way housingmaps.com is grabbing stuff from
craigslist.org ... Can someone redirect me to a few examples of where
they explain how to do this stuff? Thanks.

Simon

Feb 6 '07 #4
Alright thanks. Does anybody has an example thats already coded to
crawl around some website and grab some info from each link ? and then
recrawling the same page sometime later and see the new additions...
stuff like that? thanks
Simon

On Feb 5, 11:47 pm, "lorento" <laurente1...@yahoo.comwrote:
You can use
fopen() wrapperhttp://www.php.net/fopen
or fsockopen() via port 80http://www.php.net/fsockopen
--http://www.mastervb.net/phpbooks/http://www.mastervb.net
On Feb 5, 2:27 am, "Kentor" <ken...@gmail.comwrote:
Hello, how can I grab some information from other websites? Like for
example the way housingmaps.com is grabbing stuff from
craigslist.org ... Can someone redirect me to a few examples of where
they explain how to do this stuff? Thanks.
Simon- Hide quoted text -

- Show quoted text -

Feb 6 '07 #5
Arjen wrote:
Kentor schreef:
>Hello, how can I grab some information from other websites? Like for
example the way housingmaps.com is grabbing stuff from
craigslist.org ... Can someone redirect me to a few examples of where
they explain how to do this stuff? Thanks.

Ask the webmaster to give you the info you need in an easy to use
format. If you have something to offer he/she wil probably help.
Otherwise write your own content and keep your hands of other peoplle's
content.

To awnser your question:
Use fopen to read a webpase into a variable.
User regular expressions to filter out data u need
or Curl :-)
Feb 9 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Baby Blue | last post: by
3 posts views Thread by Baby Blue | last post: by
2 posts views Thread by Unregistered | last post: by
2 posts views Thread by Danny | last post: by
385 posts views Thread by Xah Lee | last post: by
2 posts views Thread by yes_its_just_me | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.