Development Auto form copy/paster?

Discussion in 'Software' started by DarkReaper, 9 Oct 2006.

  1. DarkReaper

    DarkReaper Alignment: Sarcastic Good

    Joined:
    9 Jan 2004
    Posts:
    1,751
    Likes Received:
    0
    I've got a ton of date entry to do at the minute, pulling bike info from the manufacturer's site and copy/pasting it into the back end of an online bike shop. Is there anything out there that I can configure to do some of the grunt work for me by taking certain entries from one table and pasting them into a second?


    Cheers :D
     
  2. eek

    eek CAMRA ***.

    Joined:
    23 Jan 2002
    Posts:
    1,600
    Likes Received:
    14
    If the pages are all identical bar the info and you happen to know PHP, you can use fopen to open the pages, read the info, and then just stick it in your database.

    Once you have used fopen to open the page you can read all the links off automatically to save putting them in by hand. It doesn't matter if it reads links that go off elsewhere as when you read the page for the info the html won't match (well, odd's aren't high!) and nothing will be stored.

    It's not a particularly hard script to write, but could be prone to bugs as it uses regex to read pages etc. Thus, if there aren't that many pages to copy then it could take longer this way :)
     

Share This Page