1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Pulling code from another site with JS - any way of keeping OLD version?

Discussion in 'Programming' started by NAZAM.COM, Sep 6, 2005.

  1. #1
    I've arranged a deal with a website whereby I pay to receive their latest movie review via a Javascript code and the review appears on my site. But they update the review every other day and so my site only shows the very latest review. I would prefer to also have review from few days before.

    Is there any way of 'freezing' the review from, say, three days before and displaying that on my site?
     
    NAZAM.COM, Sep 6, 2005 IP
  2. NAZAM.COM

    NAZAM.COM Well-Known Member

    Messages:
    485
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #2
    A couple of people have emailed me asking what format the code is in. It is as follows:

    <script type="text/javascript" src="http://cinemablend.com/pfeed_formimage_typed.js"></script>
    Code (markup):
     
    NAZAM.COM, Sep 18, 2005 IP
  3. iTISTIC

    iTISTIC Peon

    Messages:
    140
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Whomever operates cinemablend.com is in control of that script. If this is you, we could help you. If it's not, you'll need to contact them and explain how you would like it revised.
     
    iTISTIC, Sep 18, 2005 IP
  4. NAZAM.COM

    NAZAM.COM Well-Known Member

    Messages:
    485
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #4
    Yes, I know the owner of cinemablend.com - I pay to receive his reviews. Only thing is he doesn't answer my emails - 12 emails in the last three months and not one response :(

    What information do you need from the javascript?
     
    NAZAM.COM, Sep 18, 2005 IP
  5. iTISTIC

    iTISTIC Peon

    Messages:
    140
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Do they provide any other way to obtain their reviews? Any APIs you can integrate with, RSS feeds, XML data?
     
    iTISTIC, Sep 18, 2005 IP
  6. NAZAM.COM

    NAZAM.COM Well-Known Member

    Messages:
    485
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #6
    No, I'm afraid the only way is through Javascript.

    Any idea how I resolve this?
     
    NAZAM.COM, Sep 25, 2005 IP
  7. iTISTIC

    iTISTIC Peon

    Messages:
    140
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #7
    .. You could have a script programmed to parse this javascript file daily and store the info in a database. Once it's in the database you could have your page programmed to show whatever you'd like, as long as it's data that is already stored in the database. This may be against the sites terms, however.
     
    iTISTIC, Sep 25, 2005 IP
  8. dbtech

    dbtech Guest

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i would use php to add the data collected probably via rss to a db
     
    dbtech, Oct 6, 2005 IP
  9. NAZAM.COM

    NAZAM.COM Well-Known Member

    Messages:
    485
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #9
    Thanks for the advice. You guys are so technically knowledgeable!

    If anybody is willing to tackle the job for me, I'd be happy to pay you. Please send PM or email me at removing the NOJUNKMAIL. You can also MSN Messenger me at that address.

    Thanks a million.
     
    NAZAM.COM, Oct 7, 2005 IP