/    Sign up×
Community /Pin to ProfileBookmark

Hi, making a blog.

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…

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@Paul_JrOct 23.2004 — It isn't possible to create a blog without server-side scripting. The most practical storage solution would be a database, such as MySQL, but sometimes that isn't available. Ryan (pyro) has created [url=http://www.infinitywebdesign.com/software/xbloglite/]xBlog Lite[/url], which is a flatfile-based blogging system. Instead of storing the entries and whatnot in a database, the actual files are created on the fly when you create an entry. I've never actually used it myself, but several people here have, and I've heard good things about it.
Copy linkTweet thisAlerts:
@CammoDude91authorOct 23.2004 — nono, i will use SSscripting.. I just cant have it on the front page that people look at. im mkaing a profile host for AIM and everything has to be solid HTML.. so the part u could see as a aim visitor would be html. il look at the one u showed me, thx.
Copy linkTweet thisAlerts:
@Paul_JrOct 23.2004 — That is possible, but it would be more difficult than usual. You would have to use your server-side language of choice to parse the main page every time you make an entry.
Copy linkTweet thisAlerts:
@CammoDude91authorOct 23.2004 — tahts what i was thinking.. sorta like recompile it after every.. uh... edit/addition.
Copy linkTweet thisAlerts:
@Ben_RogersOct 23.2004 — [i]Originally posted by CammoDude91 [/i]

[B]nono, i will use SSscripting.. I just cant have it on the front page that people look at. im mkaing a profile host for AIM and everything has to be solid HTML.. so the part u could see as a aim visitor would be html. il look at the one u showed me, thx. [/B][/QUOTE]
You can link to PHP files in your AIM profile, since PHP can output (X)HTML.
×

Success!

Help @CammoDude91 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...