i need someone to give me a solution here. i build websites with just notepad++ but if i were to build a site for someone who's not code-savy, what would be a good way to set it up so they can just edit the text without having to go through all my code. i'm sure there's got to be something out there for this situation (no i wouldn't want to set up a wysiwyg for them because that would mess up my nice clean code). i was thinking something that just put the paragraphs in text boxes or something. ideas?
You could incorporate Javascript with a xml file that contains the postings and the javascript parser/switch to view and change post. It's kinda annoying to do though. I did it for a photo viewer and kept getting weird gliches when dealing with the parser. And the xml can get confusing after a while.
A cleaner method (and less annoying on both ends) would be use div to place the text in, but even then the un-code-savvy person would have to search through your code to find where to put what they want to post. Or it they used an editor it would mess your code.
A blog engine would work, but that would defeat the purpose of your code.
That's all I got...
OliverK> you don't live on a cow
IRC: It brings out the best in all of us...Especially when tired.
A WYSIWYG editor (don't kill me)
Now serious, you could make a custom non-WYSIWYG editor (in AHK for example) that would only write <p></p> to a specific area of the code, for example, delimited with:
Or, you could teach the person to write <p> to begin a paragraph and </p> to end on between some comments on the code, like this:
If I have any more ideas I'll tell you.
Blue is everything.