1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pulling Elements by ID & Class?

Discussion in 'General Scripting Chat' started by FruitPage, Aug 10, 2010.

  1. FruitPage

    FruitPage Newbie

    Joined:
    Oct 15, 2009
    Messages:
    35
    Likes Received:
    16
    Hi,

    Posting this question in general scripting because I'm not a programmer and wouldn't know which language forum is best for this.

    Is there a way to pull content from a specified URL page and have that content lay ot onto your page?

    The pages I want to pull from do not have an RSS set up and I tried some of those services that create an RSS feed out of sites that don't have one. That did not work the way I wanted it to.

    My objective is to basically get certain elements by class & ID (if you think in CSS terms, that's how I think) and have those same elements then laid out on my site according to my specified CSS.

    So let's say if someone has a profile somewhere and they have several entries on their profile page with pictures.

    Is there some type of tool I can use to enter that profile's URL, and then have that tool construct the content of the page using the entries and pics on that URL?
     
  2. cyklotrial

    cyklotrial Regular Member

    Joined:
    Oct 13, 2008
    Messages:
    248
    Likes Received:
    82
    Location:
    Wonderland
    You can use Yahoo Pipes or cUrl+simple_html_dom class
     
    • Thanks Thanks x 1
  3. FruitPage

    FruitPage Newbie

    Joined:
    Oct 15, 2009
    Messages:
    35
    Likes Received:
    16
    After posted this question I found some info on web scraping and the simple DOM HTML thing.

    Never new Yahoo even had this Pipes thing. Looks like something worth exploring.