if you want to write this yourself - you will probably need to parse the
html in 'c' in order for it to be very quick.
I am using Embperl and it could be used for what you are doing such as:
[- advertisement(252); -]
[ - news_item(923834,{BGCOLOR => "#0066FF"}); -]
obviously you have to write the routines to implement 'advertisement' and 'news
item', but it will do just about anything you can think of - so you will never
have a
'power' shortage.
I have not tried Mason - but from what I have read about it, it could
be a useful tool for what you are doing.
cliff rayman
genwax.com
Ian Mahuron wrote:
> As per someone's suggestion I'll ellaborate on what's in the HTML...
>
> Insert code for advertisment (there's 1,000's of different ads on the
> site.):
> <ADVERTISMENT id=252>
>
> Insert news scroller:
> <NEWS_ITEM id=92834 bgcolor="#0066FF">
>
> There will be at least 50 similar tags.. so I'm not parsing for just a
> couple of tags like HTML::Template..
>
> I may implement IF/LOOPS/etc.. but not until I see the need.
>
> I've written up a few test benches for HTML::Parser.. it works ok, but it's
> not as fast as I would like it to be.
>
> Ian