Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Location
    USA
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Pulling Code from another Website

    I'm interested in learning how to pull code from another website to my website. I would eventually like to code it to pull the code, which updates itself on a regular basis, and have it automatically update it as well on my website.

    Is there a base template for something like this? or a script?

    The code I want to grab is below. I assume I need to grab the CSS as well ? The site I'm pulling from requires a user and a password to see the info that you want to grab. I can provide anyone the entire code of the site or whatever parts are needed.

    Appreciate the help.

    Cheers!

    Salty


    <td class="result-area match match-separator" rowspan="1" colspan="1">
    <input type="hidden" name="gameStatus" class="gameStatus" value="3" />
    <input type="hidden" name="homeTeamId" class="homeTeamId" value="1400373275" />
    <div class="home team ">
    <span class="abbr">OAK</span>
    <span class="score winner">
    38 </span>
    </div>
    <input type="hidden" name="awayTeamId" class="awayTeamId" value="1400373257" />
    <div class="away team">
    <span class="abbr">SD</span>
    <span class="score ">37</span>
    <p class="recap-tooltip">Game Recap</p>
    </div>
    </td>

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,486
    Thanks
    6
    Thanked 981 Times in 954 Posts
    Smells a little fishy to me. Is what you’re trying to do even legal?

  • #3
    New to the CF scene
    Join Date
    Sep 2012
    Location
    USA
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    haha. Completely legal. I run a Online Football Madden League for the xbox. Myself and 31 other guys play games against each other. Right now EA sports has the stats on their website and that is all. Their website is junk and we are trying to figure out how to add one aspect of their site coding to our site. We want to get the weekly games that are to be played and the resulting scores of those games as well. Completely legal.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •