• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

For Blog Sake

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    For Blog Sake

    How should I structure a very simple blog type web page?
    I am not keen on using a framework as it is going to very simple. There will be no online editing I just want to put up another entry every month or so by deploying a new xml file.

    I want to render an html page with multiple 'blog' entires that will have a date, title and body.
    I was thinking of defining the entries in an XML document. However what can I do about paragraph breaks and font formatting in the body text?
    Should I just reference another html file for each 'blog' entry or is there a sexy way to do this with xsl or something else?


    I guess what I am really asking for is how to structure a mini cms.
    Last edited by crack_ho; 21 May 2008, 10:40.

    #2
    Can't you just publish your articles as RSS?

    http://en.wikipedia.org/wiki/RSS_(file_format)


    you can embed your HTML or XHTML content using a CDATA section

    http://developer.mozilla.org/en/docs..._HTML_Contents

    Then any online RSS reader or RSS compatible aggregator website becomes your blog.

    Comment


      #3
      Originally posted by crack_ho View Post
      How should I structure a very simple blog type web page?

      I guess what I am really asking for is how to structure a mini cms.
      Just use WordPress or some other free blogging tool that will run on any virtual server account with PHP. No point re-inventing that particular wheel.

      If you really want to write a mini-CMS I can recommend the Django framework, assuming you can find a host that supports it (quite a few do nowadays) - once you're up to speed on Python programming you can sling a blog engine together in an afternoon, complete with full-blown admin interface. In fact, most (if not all) of the admin interface is automatically generated by the framework from your model definitions.

      Comment

      Working...
      X