Im building a 1000 page site with html and not php.... how do I ad in advertisers later? so I don't have to go into each page and ad the code?? Seems like it will be a ton of extra work. Is there anything I can do now in the beginning while Im building each page?? Help!! Thanks!!
lol...don't worry....you can make a script that will add a common html tags(your ads) in the footer before </html> or something like that
Use Dynamic Pages Instead of Static Pages , You can use " Include " to put ads on all pages. Thanks Tulip
if you wanna only use html, just put where u want ads on every page put something like <!--ADS--> Code (markup): and then when you wanna add ads, just use a html editor to search and replace. Just search for that code and replace it with your ads. Many progrmas have this function.
I dont know alot about dynamic html I just know HTML..... Is it much harder to make the page dynamic html??
Review your strategy, if you wish ads to be added to 1000 plus pages, copy paste code to each page would be tedious and time consuming. I would suggest you to look at scripting languages like PHP, ASP or JSP to make change at one place, which would reflect all over the site. In my view, copy paste code in each page is going to be time consuming and rather difficult act over a period of time, (assuming you wish to change after 3 months, rework on 1000 pages or 1 pages - your choice) Cheers Gaurav
Do I make each place for a future ad like <!--ADS--> next ad <!--ADS1--> next ad <!--ADS2--> like that for each future ad place? will that work?
Do like rldowling03 says.. test your layout with ads in place, and deploy each page with a dummy tag that you can find and replace later in bulk. If your provider allows it, use php. It's not very difficult if you only want to use the include function. And if you have a big site like that, be sure to use a separate CSS file !
I dont know much about php or any other scripts? Is there a script out there for a myspace comments site? Or would I have to write my own?? I have no clue about writing php..... I know myhotcomments.com is a very cool php script comments site.
What is a PHP includes?? tell me what to add and I'll ad it now and figure it out later...lol Thanks for any help!!
Like the others have said - learn some PHP and make your pages dynamic. You'll be glad when you've done it.. Short term pain - long-term gain
here is an example how to use php include (you add the <?php ?> exactly where you want you ads): File: googleads.php Here you add the code that you get from www.google.com/adsense Code (markup): File: index.php <html> <body> <p>Index</p> <?php include("googleads.php") ?> </body> </html> Code (markup): File: page1.php <html> <body> <p>Page 1</p> <?php include("googleads.php") ?> </body> </html> Code (markup): etc...
hey man... just include like they said. Do your page, and where you want the ads, put <?php include("ads1.php"); ?> and then ads2, ads3 and so on for each different ad unit. make sure you save your pages as .php instead of .html or .htm. http://www.zillionbits.com/programming/php-guide-for-adsense-publishers/ look on google too. they have a few articles.