Jesus
07-25-2005, 05:42 PM
So I'm looking for a web-coding language that allows editing in this kind of way:
On the homepage the contents is loaded from a text-file which has a build somewhat like this:
#HEADER = "..."
#TEXT= "..."
#IMG= "..."
whereas there would have to be some kind of 'if' fuction to check if an image has been specified, so that either a standard or no image is displayed.
the header and text would have certain preset formatting
Also it would be good if manual text formating would be available, but just simple things like bold, underline, italic, line break, maybe even a highlight colour. font size, type etc would remain the same at all times.
I'm probably going to be using php for my nav/header/footer. meaning that there will be external files for them which will be parsed together into one.
I would just simply use a html-file and parse it aswell with php, their is one problem though, the person that will be editing in future wouldn't understand, he needs a simple .txt edit.
If someone could point me in the right direction for which language to use and which part of the language to look at that would be great. Also if there is maybe even a better way to parse the html files than with php.
Thanks,
Jesus
On the homepage the contents is loaded from a text-file which has a build somewhat like this:
#HEADER = "..."
#TEXT= "..."
#IMG= "..."
whereas there would have to be some kind of 'if' fuction to check if an image has been specified, so that either a standard or no image is displayed.
the header and text would have certain preset formatting
Also it would be good if manual text formating would be available, but just simple things like bold, underline, italic, line break, maybe even a highlight colour. font size, type etc would remain the same at all times.
I'm probably going to be using php for my nav/header/footer. meaning that there will be external files for them which will be parsed together into one.
I would just simply use a html-file and parse it aswell with php, their is one problem though, the person that will be editing in future wouldn't understand, he needs a simple .txt edit.
If someone could point me in the right direction for which language to use and which part of the language to look at that would be great. Also if there is maybe even a better way to parse the html files than with php.
Thanks,
Jesus