If you’ve been reading my blog (all two of you), you may have noticed that my front page was really long. I thought it would be simple to automatically generate excerpts and “Read more” links, but it was annoying due to a lack of documentation, so I will here.
After trying two other plugins, I settled on rss_auto_excerpt. As the name implies, it will automatically generate excerpts, and you can set various properties for them. The problem is, while there’s a nice description of each attribute and an example tag to use, no one tells you where to put it. So I did some digging, using Google and the plugin’s forum thread.
The answer (one answer) is to put the following code in your default Forms code, replacing <txp:body />:
This is dumb.
In /etc/lighttpd/lighttpd.conf:
$HTTP["url"] =~ "^/blog/" {
server.error-handler-404 = "/blog/index.php"
}
Replace “blog” with your path. No, this doesn’t mean all hits now are reported as 404s, at least with Lighty 1.4.19: