annanina80
05-16-2008, 10:32 AM
hello developers,
I am creating a fairly simple web site for our company. I was trained in web design from 1999–2002, and have not been very active in web design in the past years. I learned a bit more about creating pages with css, and have played around with an installed various open source software. I feel comfortable working with code.
I have never learned to create dynamic web sites or the use of ASP, PHP or AJAX and such.
Now I am wondering if the following is possible:
I want to build a web site consisting of about 15 pages. The content will be styled via css.
Each page will have a headline and text (plus random images and quotes etc)
I am wondering if I can insert the page titles, headlines, and the main text automatically, without installing databases, ASP.net or similar stuff I have no knowledge about :-|
What I picture is a scenario like the following, in layman terms of course:
I will create a file in my editor that contains ALL the content. All 15 page titles, all 15 headlines and the text for all 15 pages.
1.FILE, A FILE THAT CONTAINS THE CONTENT OF THE WEB PAGE, content.xy:
<title1>Our Company Name – About
<title2>Our Company Name – Services
<title3>Our Company Name – Values
<headline1>ABOUT
<headline2>SERVICES
<headline3>VALUES
<text1>blah blah blah.....about 3 paragraphs of text
<text2>blah blah blah.....about 3 paragraphs of text
<text3>blah blah blah.....about 3 paragraphs of text
2. FILE, ALL MY 15 .htm FILES THAT WILL CONTAIN THE GENERATED CONTENT (title, headline,text). I will create all 15 pages manually, save them as .htm file. I hope to add simple tags and call a script that makes the insertion of the content from file 'content.xy' possible:
<html>
<head>
<title>title1</title>
<script language="??" type="??" src="contentscript.xy"></script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>headline1</td>
</tr>
<tr>
<td>text1</td>
</tr>
</table>
</body>
</html>
3. FILE, contentscript.xy
Contains the script that makes it all work.
Since it is such a small web site, of course I could do everything manually and keep it totally static, but I would like to explore this idea a bit further...
Sounds so simple. Is it possible?
Thank you very much
Annanina :)
I am creating a fairly simple web site for our company. I was trained in web design from 1999–2002, and have not been very active in web design in the past years. I learned a bit more about creating pages with css, and have played around with an installed various open source software. I feel comfortable working with code.
I have never learned to create dynamic web sites or the use of ASP, PHP or AJAX and such.
Now I am wondering if the following is possible:
I want to build a web site consisting of about 15 pages. The content will be styled via css.
Each page will have a headline and text (plus random images and quotes etc)
I am wondering if I can insert the page titles, headlines, and the main text automatically, without installing databases, ASP.net or similar stuff I have no knowledge about :-|
What I picture is a scenario like the following, in layman terms of course:
I will create a file in my editor that contains ALL the content. All 15 page titles, all 15 headlines and the text for all 15 pages.
1.FILE, A FILE THAT CONTAINS THE CONTENT OF THE WEB PAGE, content.xy:
<title1>Our Company Name – About
<title2>Our Company Name – Services
<title3>Our Company Name – Values
<headline1>ABOUT
<headline2>SERVICES
<headline3>VALUES
<text1>blah blah blah.....about 3 paragraphs of text
<text2>blah blah blah.....about 3 paragraphs of text
<text3>blah blah blah.....about 3 paragraphs of text
2. FILE, ALL MY 15 .htm FILES THAT WILL CONTAIN THE GENERATED CONTENT (title, headline,text). I will create all 15 pages manually, save them as .htm file. I hope to add simple tags and call a script that makes the insertion of the content from file 'content.xy' possible:
<html>
<head>
<title>title1</title>
<script language="??" type="??" src="contentscript.xy"></script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>headline1</td>
</tr>
<tr>
<td>text1</td>
</tr>
</table>
</body>
</html>
3. FILE, contentscript.xy
Contains the script that makes it all work.
Since it is such a small web site, of course I could do everything manually and keep it totally static, but I would like to explore this idea a bit further...
Sounds so simple. Is it possible?
Thank you very much
Annanina :)