Im coding a blog script, currently just planning it really.
The thing is, the front page, where the posts are seen, has to be able to be viewed as a html file, without and other type of code, server side includes, or anything. I have to be able to edit posts, and have a commenting system, how do you guys think i should go about this?
I was thinking PHP and XML with XSLT for styling.. but how can i make a PHP script to turn XML with XSLT into HTML? I’ve looked for ways to write to XML documents.. but all i get is things discussing PEAR_xml or something. Im at a loss for XML.
If it was flatfile, would it still be possible to edit posts, because im used to just adding ones, not retrieving them.
Because it has to be HTML, I dont see how I could use a MYSQL database.
remember, ONLY the page where visitors see the blog posts has to be pure HTML.
mabye instead of using a flatfile txt, i could actually USE a html doc as the flat file..
suggestions, tips, expireance, please talk to me. also if there is any SIMPLE blogs i can look at, nothing but posting, commenting, and editing scripts, please tell me. all i can find are bloated up things with thousands of dollars worth of code.
edit: just thought of something. making all the posts different text files with number labels so eaiser to retrieve and edit! then compiling and showing them together as html…