blosxom :: the zen of blogging :: documentation/users/configure

blosxom :: the zen of blogging

about

  • home/about
  • features
  • colophon
  • news
  • mailing list



  • documentation for users

  • overview
  • install
  • configure
  • blog
  • view
  • flavour
  • syndicate
  • plugins
  • plugin registry
  • static
  • faq
  • use cases*
  • documentation for developers

  • overview
  • plugins
  • downloads

  • mac
  • windows*
  • everyone

  • license
  • contributed*
  • powered by

    *coming soon

    home :: documentation :: users :: configure

    Configure Blosxom

    All of Blosxom's configuration is held, for simplicity's sake, in the script itself. Now don't be afraid; while there are all manner of funny-looking characters, this is really quite simple and we'll go through it a line at a time. The default looks something like this:

    # --- Configurable variables -----
    # What's this blog's title?
    $blog_title = "My Weblog"; #
    # What's this blog's description (for outgoing RSS feed)?
    $blog_description = "Yet another Blosxom blog."; #
    # What's this blog's primary language (for outgoing RSS feed)?
    $blog_language = "en"; #
    # Where are this blog's entries kept?
    $datadir = "/Library/WebServer/Documents/blosxom"; #
    # What's my preferred base URL for this blog (leave blank for automatic)?
    $url = ""; #
    # Should I stick only to the datadir for items or travel down the
    # directory hierarchy looking for items? If so, to what depth?
    # 0 = infinite depth (aka grab everything), 1 = datadir only, n = n levels down
    $depth = 0; #
    # How many entries should I show on the home page?
    $num_entries = 40; #
    # What file extension signifies a blosxom entry?
    $file_extension = "txt"; #
    # What is the default flavour?
    $default_flavour = "html"; #
    # Should I show entries from the future (i.e. dated after now)?
    $show_future_entries = 0;
    ...
    # --------------------------------
    

    Each configuration directive consists of a setting name (e.g. $blog_title, an = sign, and the setting's value (e.g. "My Weblog"). In the case of words, the value is kept between double-quotes ("); in the case of numbers, the quotes are absent. To change a setting's value, simply replace the current value with your preferred value. Be sure to leave the double-quotes intact if they're there.

    For example, if you were to change your blog's title from the default, My Weblog, to Sam's Insights, that setting line would end up looking like: $blog_title = "Sam's Insights";

    All clear? Good. Let's move on to the settings themselves.

    The rest of the configuration options concern themselves with plug-ins and static rendering, both subjects you should delve into when you're good and ready to.

    click here to write a test blog post...



    SourceForge.net Logo

    AltStyle によって変換されたページ (->オリジナル) /