Commit graph

564 commits

Author SHA1 Message Date
Uriel
c31d3e77ca Implement the sitemaps.org standard 'protocol' with sitemap.xml. 2009-07-29 01:41:18 +02:00
Uriel
d797533863 Remove superfluous debug print that was commited by mistake. 2009-07-29 01:21:24 +02:00
Uriel
cb97e355bf Whitespace change. 2009-07-28 23:58:32 +02:00
Uriel
f6faca3ea9 Further HTML5-fication, plus fix some case consistency mismatches. 2009-07-28 20:49:53 +02:00
Uriel
8a30cf0b68 Add example of formatter option using md2html.awk. 2009-07-28 20:48:18 +02:00
Uriel
2d8ce10389 New context var 'local_file' that will point to the on-disk-file that represents the main content of a given page request (if such exists, otherwise it is '' or ()).
Move title extracting functions from sitemap.tpl to werclib.rc.
Rewrite .md title extraction code to only match first lines when 'underlines' with =.

Use the changes above to generate better page titles when possible.
2009-07-28 20:28:35 +02:00
Uriel
a2e426eb11 Add yiyus md2html.awk script as an alternative to markdown.pl 2009-07-28 14:49:52 +02:00
Uriel
c5e1087500 Implement dir listing headers and footers. Just add a _header.md or _footer.md
file to any directory and their contents will be displayed together with the
directory listing.
2009-07-28 14:36:38 +02:00
Uriel
068ccb8c7f Don't include domain in sitemap links, this avoid breaking when port is not 80. 2009-07-25 01:11:15 +00:00
Uriel
2ba381db11 Enable pubsub on test blagh feed. 2009-07-20 04:01:51 +00:00
Uriel
d8d9e66dfa Further work on pubsubhub support. I think we now have all we are supposed to, but I'm not sure it works yet. 2009-07-20 04:01:36 +00:00
Uriel
d5bb1460e9 Add url_encode function to cgilib.rc 2009-07-20 03:59:49 +00:00
Uriel
78ff5df038 Add a dummy file to etc/users/ so hg doesn't swallow it. 2009-07-20 02:17:07 +00:00
Uriel
f0052d7f74 Test pages for title generation. 2009-07-19 08:02:11 +02:00
Uriel
01876141f3 Properly handle dashes in paths the same way we treated underscores when generating page titles. This includes sitemaps, sidebar nav trees and the page title header itself. 2009-07-19 08:01:42 +02:00
Uriel
4345888b7f When using a path element to generate a page title, replace '[a-z]-[a-z]' with '[a-z] [a-z]', this allows us to use dashes in paths that are more SEO-friendly than underscores. 2009-07-19 07:42:45 +02:00
Uriel
0062873b2b Initial commit of tst.cat-v.org test suite. 2009-07-19 04:48:41 +02:00
Uriel
7413921b31 Start to convert templates to HTML 5 2009-07-19 04:02:30 +02:00
Uriel
df5668add0 Experimental support for Google's pubsubhubbub 2009-07-19 03:27:26 +02:00
convert-repo
16799d8ca0 update tags 2009-07-01 07:59:37 +00:00
Uriel
bab1aec55e Added tag LATEST-RELEASE for changeset f0ca5ef9c3f8 2009-07-01 07:52:14 +02:00
Uriel
ee3e6103a8 Added tag LATEST-RELEASE for changeset 0848be7b72e8 2009-07-01 07:36:00 +02:00
Uriel
a880cee9b5 New release 2009-07-01 07:36:00 +02:00
Uriel
9323bab756 Mention required lighttpd modules in docs. 2009-07-14 22:54:28 +00:00
Uriel
5ee3b334ee s/ninetimes/9times/ in top bar to save space. 2009-07-14 22:54:09 +00:00
Uriel
13787def8a Add extra new line between posts to avoid formatting from one post to extend to the next. 2009-07-14 22:53:23 +00:00
Uriel
1963dd3e47 Merge. 2009-07-10 02:53:52 +00:00
Uriel
697594eb5d Documentation updates.
- Fix dumb mistake in wman docs
- Document Plan 9's httpd setup.
2009-07-10 02:53:18 +00:00
Uriel
2eca0fa287 Documentation fixes and additions. 2009-06-26 20:32:02 +00:00
Uriel
08480e3a46 Merge docs changes and fixes. 2009-06-20 11:56:12 +02:00
Uriel
9a87f888f6 Fix two typos, thanks echoline! 2009-06-20 11:55:26 +02:00
Uriel
babb2cfe03 Added tag LATEST-RELEASE for changeset d57a4b0d249e 2009-06-14 20:21:17 +02:00
Uriel
48cbe13833 New release 2009-06-14 20:21:17 +02:00
Uriel
b5800c33ef Strip title from rss/atom 'summary'(ie., body).
This used to look really ugly in most feed readers.
2009-06-13 15:59:43 +02:00
Uriel
f01bfb63ec Remove the obsolete feed templates, they were moved to apps/blagh/ a while ago. 2009-06-13 06:28:12 +02:00
Uriel
a1c0c70f36 Allo to set blagh conf_ options from initrc.local as well. 2009-06-12 23:59:47 +02:00
Uriel
e197bfb743 Optimization/fix to only pass the content of all blog posts at once to $formatter
This seems to some how fix a strange bug I have seen on my test setup, need to investigate more.
2009-06-12 23:56:48 +02:00
Uriel
4052a82ee4 Merge tags. 2009-06-12 23:45:27 +02:00
Uriel
6eee7a07aa New configuration variable for blagh: conf_max_posts_per_page sets the maximum numbers to display in a blog feed, default is 32. Note that this also affects rss feeds. 2009-06-12 23:44:21 +02:00
Uriel
a4d8f71e37 Added tag LATEST-RELEASE for changeset 9fc8f17498d1 2009-06-10 04:23:16 +02:00
Uriel
646e181bcd New release 2009-06-10 04:23:16 +02:00
Uriel
0b05539176 Urldecode '_' (ie., %5F) in request paths to make stackoverflow.com links happy. 2009-06-10 02:58:36 +02:00
Uriel
c0689e595a I'm a retard, fix brown paper bag bug from the last commit. 2009-06-07 10:40:35 +02:00
Uriel
e91609e301 Move shared .tpl files to tpl/ from lib/, this fixes a DoS vulneravility where master_template.tpl could be accessed as a standalone .tpl file that recursively called itself. 2009-06-06 16:20:02 +02:00
Uriel
9d87478586 Add a simple wrapper to log stderr in broken http servers. 2009-06-06 16:15:56 +02:00
Uriel
e8cd9a1978 Optimization: avoid using a temporary file to calculate the hash in md_handler. 2009-06-01 07:00:11 +02:00
Uriel
e9a96d0e26 Add hiawatha sample config. 2009-05-31 11:46:28 +00:00
Uriel
2b1428822c Documentation spelling fixes. 2009-05-31 04:52:59 +00:00
Uriel
051219c864 Document setup for nginx. 2009-05-31 06:48:48 +02:00
Uriel
1d320ebf61 Move setup of main handler for 404 to a setup_404_handler function that can be more easily overriden, for example from config files! 2009-05-29 10:07:01 +00:00