• 0

grabbing data from other sites


Question

Hello, I'm new to this site. I'm kind of new to programming and webdesign as well. I was wondering if there is a way to grab data from other websites and automatically have them put into your own website. Is this simply web design or is it C++ type of stuff? Like if the new website updates a new news article or some sort. How can I grab that news article and put it on my website?

Thanks!

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

I'd highly recommend against scraping content from other sites for content that you don't have copyright to.

You'll end up being penalized by Google for duplicate content as well as possibly being served with a DMCA for stealing content.

Or you can just scrape for the excerpt.

Best way to do this is parse RSS feeds with PHP+Simplepie.

Hello, I'm new to this site. I'm kind of new to programming and webdesign as well. I was wondering if there is a way to grab data from other websites and automatically have them put into your own website. Is this simply web design or is it C++ type of stuff? Like if the new website updates a new news article or some sort. How can I grab that news article and put it on my website?

Thanks!

Link to comment
Share on other sites

  • 0

Okay, sorry that was a bad example. I'm not trying to grab other news articles. I just want to be able to figure out if I can grab data like stock prices? If yahoo posts up each day's high and low, etc...

thanks

Link to comment
Share on other sites

  • 0

Thanks for the responses, you guys are fast!

But I also wanted to know if you can just grab general data from other sites? Like would I need to do some C++ programming or is it PHP or XML? What would this type of coding be considered under?

Thanks for all your help!!

Link to comment
Share on other sites

  • 0

It depends on what your host has, I'm pulling data from the USGS using PHP and a command line app.

XML is just a way of describing data, you can't program with it.

Link to comment
Share on other sites

  • 0

Yeah, thats true. It depends on if the host allows you to pull data right? How would you do so if you were to use PHP? If you write a program in PHP it will just grab the data from the site itself? Is there a tutorial on how to do this?

Thanks!

Link to comment
Share on other sites

  • 0

hahaha uhhh a little bit. I'm actually just starting new. I guess you can say I barely know any. I've learned to edit templates and stuff, but just not hardcore programming. I'm just trying to learn how to do PHP. Am I a lost cause? :blush:

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.