I am currently designing a live sports scores website. I am in the final stages and have all the photoshop stuff done. I have hit a bit of a stumbling block and would appreciate any help. I am using a code for the site, taken from another scores site which offers the code to webmasters. The trouble is, it has their advertisments all over it. Would it be possible to take these out or cover them up in ANY way, as they would obviously take a considerable part of my revenue. Here is the code: <iframe frameborder="0" width="491px" height="500px" scrolling="auto" src="http://www.livexscores.com/free.php?p=0&style=xeee,x006699,x000,xaaa,xc00,x006699,xfff,xddd,xc00,verdana,11,xeee,xfff,xfff,468,c00">Your browser doesn't support iframe.</iframe> Cheers for any help, greatly appreciated as i am a bit new to this.
I think the word you're looking for "eliminiating" Probably the only way you could do this would be to download the file they're providing via the iframe and create a custom script to parse out the ads. Of course this maybe violating their policy, and you'd be at the mercy of any changes they would make to the file structure that would break your parsing script.
hey, nah there's no way to eliminate the ad's, I just had a look at the code on my site and it's already a scrolling iFrame, as it's just a page within the iFrame you have no control over the page within it, in other words unlesss you can edit the page with the information on it - it's impossible.
eliminating, yeah sorry, lol. So it would be possible then? I know it may violate policy but i also know it isn't illegal as scores are not intellectual property or protected in any way. Sounds like it may be out of my reach in terms of making it work by myself so i'll have to find someone. But to clarify, it is actually possible. What exactly would i need to do it?
oh, o.k. Well would there be any way to say cover up the top ad with an image or something, literally over the top, so the ad is technically still there just not visible?
Well, basically they're providing a file on the their site which you're showing on your site via the iframe. So they have full control over the file, and you have no control. But it would be possible to set up a script that downloads that file and parses it to remove the ads somehow. Then you'd use that file on your site. You'd probably want to use perl or php, and it'd be fairly complicated I guess, but not overly so. It may be worth looking for a better source of scores info - seems like that stuff should be in RSS feeds somewhere.
the source of the iframe seems to be; livexscores. com / free. php could i not therefor save the html from that page, edit it, upload it to my server and then edit the code of the iframe to suit? Again, i am new to this so excuse me if i am way off here.
ok so here is the original code. Could i not just mod it and put it in my own iframe? <html> <head> <title>Live scores - The fastest live scores powered by LiveXscores.com</title> <link rel="stylesheet" type="text/css" media="screen" href="styl.css" /> <meta http-equiv="pragma" content="no-cache" /> <meta name="robots" content="index, follow" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="The fastest live scores powered by LiveXscores.com" /> <meta name="keywords" content="livescores, live scores, live, live score, livescore, results, live results, live result, score, scores, soccer livescores, soccer live scores, soccer live, soccer live score, soccer livescore, soccer score, soccer scores, football livescores, football live scores, football live" /> </head> <noscript><span align=left style="font-family:verdana; font-weight:bold; font-size:20px">You need Javascript enabled to view live scores.</span></noscript> <script> document.cookie="sound=off%2A"; </script> <script src=all.js></script><script src=zmena.js></script><body onload=showall();reklama1();><center> <div id="reklama1"><iframe name="reklama11" frameborder="0" width="468px" height="60px" scrolling="no">Your browser doesn't support iframe.</iframe></div> <div id="cas" style="visibility:hidden;margin-top:-13px">Loading...</div> <div class="navig"> <b>All matches</b> | <a href=?p=2&sport=&style=xeee,x006699,x000,xaaa,xc00,x006699,xfff,xddd,xc00,verdana,11,xeee,xfff,xfff,468,c00>Not started</a> | <a href=?p=4&sport=&style=xeee,x006699,x000,xaaa,xc00,x006699,xfff,xddd,xc00,verdana,11,xeee,xfff,xfff,468,c00>In play</a> | <a href=?p=3&sport=&style=xeee,x006699,x000,xaaa,xc00,x006699,xfff,xddd,xc00,verdana,11,xeee,xfff,xfff,468,c00>Finished</a> | <a href=?p=0&sport=tennis&style=xeee,x006699,x000,xaaa,xc00,x006699,xfff,xddd,xc00,verdana,11,xeee,xfff,xfff,468,c00>Tennis</a> | <a href="http://adserver.itsfogo.com/click.aspx?zoneid=18055&page=default.aspx" target="_blank"><b>BWIN.com</b></a> </div><div id="allzapasy"> <br><b>Loading...</b></div> <div class="pata"><span style="float:left"><a href="http://www.livexscores.com?p=16&sport=sport" target="_blank" class="slabe">Get scores on your site for free!</a></span><span style="float:right">Powered by <a href="http://www.livexscores.com" target="_blank"><b>LiveXscores.com</b></a></span></div> </body> </html> <script> style=window.location.href; style=style.split("style="); style=style[1]; style=style.replace(/x/g,"#"); style=style.split(","); document.write("<style>body{background:"+style[0]+";color:"+style[2]+";font-family:"+style[9]+";font-size:"+style[10]+"}a{color:"+style[1]+"}.podanie,.slabe{color:"+style[3]+"}a:hover{color:"+style[4]+"}.hlavicka{background:"+style[5]+";color:"+style[6]+";border-color:"+style[13]+"}.tabulka{background:"+style[7]+";font-family:"+style[9]+";font-size:"+style[10]+"}.inplay{color:"+style[8]+"}.tlink{color:"+style[6]+"}.tmava{background:"+style[11]+"}.svetla{background:"+style[12]+"}#allzapasy,.pata,.navig{width:"+style[14]+"}.goal{color:"+style[15]+"}.pata,.navig{border:1px solid "+style[7]+";background:"+style[11]+";padding:2px}.navig{margin-bottom:8px;margin-top:7px}</style>"); function reklama1() { reklama11.location.href="banner.php?typ=1"; setTimeout ("reklama1()", 120000);} </script> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1633375-2"; urchinTracker(); </script>
ok, so here is the original code from the page that is in the iframe. Could i not mod it to take out the ads and then simply put it in my iframe. I cannot find the ads in the code.