Click to See Complete Forum and Search --> : Web page creation using HTML templates


hannesc
August 29th, 2001, 09:10 PM
Hello,

I was wondering what advice anyone can give about the format HTML templates should be in so that a VB application is able to take an existing template and populate the template with user inputted data.

Ex. the user chooses a template which requires a few images placed in certain places of the template as well as some text in other places.
the application asks the user to select the image path for the first image, enter the text for the first text paragraph etc.

What format would work best for VB to scan and pick out the 'hot spots' where user picked images and user entered text would go.

This would be for a web site creation application like Frontpage.

The difference between this and Frontpage would be that the application would be in certain steps such as pick location of image 1 then the next form would ask for the text for text area 1 etc.

So once again I was just wondering if anybody has any advice regarding how I should format the HTML templates to give VB an easier time picking out places where user defined objects should be.

Thanks in advance for any help and if there is anything that I was unclear about please inform me and I will try to clarify myself.

Hannes

makai
August 31st, 2001, 01:12 AM
I would have no template at all - just have VB generate any and all HTML (text file) as desired

basically you would write the tags as text to a file sequentially along with any content - it appears you are getting content from controls like textboxes

hannesc
September 21st, 2001, 02:05 PM
thank you makai, it does appear I will have to do it that way, thinking about creating an ASP file for that later on. Thanks for the advice.

Hannes