January 4, 200917 yr hello, i am haveing a problem to complete my website. i have arctical type website which have more than 15000 pages. i want to insert adsense code and some other banner on top and bottom of each page. but munally editing each page is very difficult and time consuming work. pleae anybody tell me the right software or any utility that can be used edit all pages with one click. i have a program called artical booster but this progrom have some technical problem and requrire only text file to convert in html with my specified code. now this program have some drawbacks create bad html page which change page setting and other usefull settings. so please guide me in this case and i am bignner in this filed and must complete my website project. from waqar example of my artical site: www.mehranways.110mb.com[/color]
January 4, 200917 yr It's a difficult one. Do you have any sort of interlinking files; E.g. "common.php" or any sort of document that links to all of your pages? You could maybe do something there, e.g. adding something that would then be shown on all your pages. I'm not entirely sure I understand the full situation so that's just a thought, but it's probably wrong.
January 4, 200917 yr You could use regular expressions and a recursive script to either extract data from, or modify the data within, each page on the site. I have done this a few times before on various sites, and can help you out if you want. Email me at [my username]@hotmail.com
January 5, 200917 yr well if you have dreamweaver or some other program that may be able to do this. if you press ctrl f in dreamweaver you can make it search through the 'entire current local site' and make it for example replace '</body></html>' with 'insert added code here </body> </html>' ive done something like this alot of times
January 6, 200917 yr well yes but hes using html only and if he was using php he'd still need to put the include tag on every page
Create an account or sign in to comment