The panda package

[Tags: deprecated, gpl, library]

Deprecated in favor of bamboo

Simple Static Blog Engine

[Skip to ReadMe]


Versions0.0,,,,,,,,, 2008.9.19, 2008.9.19.1, 2008.9.19.2, 2008.9.20, 2008.9.28, 2008.9.29, 2008.10.11, 2008.10.12, 2008.10.13, 2008.10.14, 2008.10.15, 2008.10.16, 2008.10.17, 2008.10.18, 2008.10.19, 2008.10.21, 2008.10.24, 2008.10.25, 2008.10.26, 2008.10.27, 2008.11.6, 2008.11.7, 2008.12.14, 2008.12.15, 2008.12.16, 2009.1.20, 2009.4.1
Change logchangelog.markdown
Dependenciesbase, cgi (<=3001.1.6.0), containers, directory, filepath, haskell98, kibro (==0.0), MissingH, mps (>=2008.9.19), network, old-locale, old-time, pandoc (>=0.46), parsec (>=2), parsedate (>=3000.0.0), rss (>=3000.0.1), utf8-string (>=0.3.1), xhtml [details]
AuthorWang, Jinjing
MaintainerWang, Jinjing <>
Home page
UploadedFri Oct 10 19:51:35 UTC 2008 by JinjingWang
Downloads4923 total (111 in last 30 days)
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-11-23 [all 5 reports]



Maintainers' corner

For package maintainers and hackage trustees

Readme for panda-2008.10.11

Panda - simple blogging engine

Sample file db structure

|---- blog
|     |---- 08-09-01 first post
|     |---- 09-09-02 learn javascript.html
|---- tag
|     |---- programming
|     |---- funny
|---- static
      |---- About


Quick Demo

It powers my blog ;)

Note: the demo might run on an experimental branch, so differences from the cabal version could occur.


install [lighttpd]( )

install panda

cabal install panda


# panda is a kibro project
kibro new myblog
cd myblog

# get a template to start
rm -r db; rm -r public
git clone git:// db
sh db/extra/scripts/


kibro start

It should be running on now.

Since Panda is based on Kibro, it helps to read how Kibro works.


Install Ruby / Rake, then rake -T to see a list of helper commands.


Edit db/config/site.txt

blog_title   = My shiny blog
host_name    =
author_email =

Restart required. (hint: rake r)


Example blueprint theme in db/config/theme/blueprint.txt

container  = container
header     = column span-12 first
navigation = column span-12 first large
main       = column span-9 first
sidebar    = column span-3 last
footer     = footer

css        = screen, blueprint-wp, custom
js         = jquery-1.2.6.min, jquery.getUrlParam, jquery.highlight-2, custom

note: css and js are required to be placed under db/public/theme/your_theme_name/css and db/public/theme/your_theme_name/js, leave out the file extensions too, since the engine will fill it for you.

You can create new themes by adding theme files in db/config/theme, and place

theme = your_new_theme

inside site.txt.


Another way to get Panda running with source is:

# clone the source
git clone git:// myblog
cd myblog

# get a template to start
git clone git:// db

# manually adjust path information for lighttpd
# edit first 6 lines of app/lighttpd/lighttpd.conf to match your path

# manual staging
ln -s db/public public

# run
kibro start

I'm heavily using the [MPS]( ) package which introduces things like

reject, join, belongs_to, match, gsub

and so on.

If the latest git version doesn't build, try ghc-pkg unregister cgi-3001.1.7.0 --user.