= XML Blog Stuff IRC Ramblings = == The Beginning == {{{ anyone using LightPress then? http://lightpress.org/ looks interesting nlindblad: It's PHP (nevermind a plugin for another PHP app), I lost any interest I may have had in it sward: what CMS would you use then? nlindblad: I don't :) sward: okey... sward: what would you recommend then nlindblad: I wouldn't, I'm not a big fan of CMSes, at least not in the "dynamic page generation from static content in a data store which only looks dynamic because it's updated often" sense ah sward: true sward: I'm really after something I can update without having to use vim all the time nlindblad: and vim's a problem because? I find it better than a textarea sward: hmm vim is no problem. sward: I'll just do a neat page then and use vim and shut up, etc. nlindblad: Not that I have a website to manage.. I mean, the one page I have up hasn't changed for 3 years, except for updates to my CV and text ever so slightly modified to be past tense (I am studying.. -. I studied, blah) :P i really should make a website for my self some day nlindblad: For anything more complex, I'd probably look into an XML-based system, but the resulting pages are generated by me (or automagically as I add content) (probably XSL transformations), rather than having the content pulled from a DB and generating pages dynamically. XML! nlindblad: Even with caching, dynamic generation in that way seems a bad method sward: TBH, Gentoo's XML policies are lovely sward: it's so easy to write content for their site sward: XML is neat sward: but the question is then sward: how would one go on about doing it properly sward: my idea is to make separate XML-documents for each "post" then merge them into a static page using Python in chronological order after their tags nlindblad: For journal type stuff, yeah, possibly. You may not even need XML documents for each post, just plain text which gets included into XML, though that doesn't help with how you get the date. I don't think file modification times are sufficient. yeah http://pastebin.com/683246 Heh, just had a thought.. changelog format is essentially the same as a journal, and vim has nice macros to manipulate changelogs vim uber alles! nlindblad: In your example post, too much crap. You want it simple. well nlindblad: It can be an XML fragment, rather than a complete XML document, so you can probably leave out the header crap