Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Need a dynamic script for HTML file
Old 11-13-2008, 03:43 PM Need a dynamic script for HTML file
Average Talker

Posts: 18
Trades: 0
Hello,

I have a website, all of its pages are of .htm extension. I don't know much about html, asp, etc.

When I create/add a page, I just pick my template in .htm and add the content.

My bigger problem is, when I need to change the advertisement placement(like adsense to tribal fusion) on all pages then I have to edit all pages and place all ad-tags manually, which is now become nightmare, since now I have 3000+ pages.

Recently I learned ASP(not much, but just to use for my work). I simply put below line-
<!--#INCLUDE FILE="inc_asp/ad1.asp"-->
in a .asp template. And whenever I add a new page, I use the asp template. The biggest advantage of this is, whenever I need to change the advertisement placement, I will only have to change ad1.asp file at once.

My question is, Is there any script(like above in asp) for .htm file, so that I can change the ad placement dynamically from an external file?

Note: I don't want to use IFRAME.

Many thanks,
Xie
xieman is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-13-2008, 04:39 PM Re: Need a dynamic script for HTML file
Defies a Status

Posts: 1,606
Trades: 0
I'm guessing you are on a windows box.

With a Linux server you can tell it to parse htm or html pages as though they are php. Then you can have one header, one navigation, one footer and one set of ads for all the pages.

I'm would be willing to bet that a windows box has the same feature. I just can't tell you how to do it.

Edit: I knew Chris would come along with the goodies.
__________________
Colbyt

Please login or register to view this content. Registration is FREE

Last edited by colbyt; 11-13-2008 at 07:02 PM.. Reason: Edit:
colbyt is offline
Reply With Quote
View Public Profile
 
Old 11-13-2008, 05:25 PM Re: Need a dynamic script for HTML file
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It'll have to be me then

http://www.candsdesign.co.uk/article...tion-mappings/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Need a dynamic script for HTML file
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.85730 seconds with 12 queries