Commit Graph

625 Commits

Author SHA1 Message Date
uriel
fc6a26ec08 Fix sitemap.tpl when $sitedir is an absolute path. Thanks again to arg for reporting, tracking, and fixing this bug! 2009-08-09 21:02:42 +02:00
uriel
7cdee641be For HEAD request, only quit after we send the new line that ends the headers section. This was making nginx unhappy. Thanks arg for reporting, tracking it down and fixing this bug! 2009-08-09 18:39:54 +02:00
uriel
677a928bc2 Add lastmod support to sitemap.xml 2009-08-08 05:32:42 +02:00
uriel
5a6063590b Add first draft of unit testing runner. 2009-08-08 03:17:28 +02:00
uriel
43bed805bd Added tag LATEST-RELEASE for changeset 4e19df0f133d 2009-08-06 16:40:08 +02:00
uriel
7e27f53dab Added tag LATEST-RELEASE for changeset 736f86ef8231 2009-08-06 03:17:13 +02:00
uriel
9309732949 New release 2009-08-06 03:17:13 +02:00
uriel
c2d81e3dfb Do Pubsubhubbub submit in the background so we don't block. 2009-08-06 01:09:04 +00:00
uriel
3a1191a4a0 Fix bug where incorrect elements in the navigation sidebar were highlighted, thanks to arg for reporting this. 2009-08-06 02:20:58 +02:00
uriel
c046cbd057 Update README 2009-08-05 17:06:25 +02:00
uriel
e4424e0844 Much better (I hope) get_html_title implementation, first try to find <title>, if that fails, get the first non-tag string in the file. 2009-07-30 02:12:06 +02:00
uriel
a188daebdc Implement the sitemaps.org standard 'protocol' with sitemap.xml. 2009-07-29 01:41:18 +02:00
uriel
a400307a19 Remove superfluous debug print that was commited by mistake. 2009-07-29 01:21:24 +02:00
uriel
e3e9fd0754 Whitespace change. 2009-07-28 23:58:32 +02:00
uriel
345cd6b545 Further HTML5-fication, plus fix some case consistency mismatches. 2009-07-28 20:49:53 +02:00
uriel
3302281612 Add example of formatter option using md2html.awk. 2009-07-28 20:48:18 +02:00
uriel
8cd04dd184 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
9afb192c91 Add yiyus md2html.awk script as an alternative to markdown.pl 2009-07-28 14:49:52 +02:00
uriel
f5474bcc0d 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
1b56834736 Don't include domain in sitemap links, this avoid breaking when port is not 80. 2009-07-25 01:11:15 +00:00
uriel
59e181b036 Enable pubsub on test blagh feed. 2009-07-20 04:01:51 +00:00
uriel
904c11dbb4 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
8f76833a08 Add url_encode function to cgilib.rc 2009-07-20 03:59:49 +00:00
uriel
ef84f6915e Add a dummy file to etc/users/ so hg doesn't swallow it. 2009-07-20 02:17:07 +00:00
uriel
a18e815468 Test pages for title generation. 2009-07-19 08:02:11 +02:00
uriel
328c6a394e 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
5dbd9b27e2 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
352958bef3 Initial commit of tst.cat-v.org test suite. 2009-07-19 04:48:41 +02:00
uriel
4cf713e5a6 Start to convert templates to HTML 5 2009-07-19 04:02:30 +02:00
uriel
1ddf17b4bb Experimental support for Google's pubsubhubbub 2009-07-19 03:27:26 +02:00
convert-repo
299c6db460 update tags 2009-07-01 07:59:37 +00:00
uriel
6b11f6271a Added tag LATEST-RELEASE for changeset f0ca5ef9c3f8 2009-07-01 07:52:14 +02:00
uriel
45dfce19a4 Added tag LATEST-RELEASE for changeset 0848be7b72e8 2009-07-01 07:36:00 +02:00
uriel
29dab44353 New release 2009-07-01 07:36:00 +02:00
uriel
0685513d9b Mention required lighttpd modules in docs. 2009-07-14 22:54:28 +00:00
uriel
d18c901035 s/ninetimes/9times/ in top bar to save space. 2009-07-14 22:54:09 +00:00
uriel
513f34cba7 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
f2f07437bf Merge. 2009-07-10 02:53:52 +00:00
uriel
f6ca42a934 Documentation updates.
- Fix dumb mistake in wman docs
- Document Plan 9's httpd setup.
2009-07-10 02:53:18 +00:00
uriel
3e0fda9b5d Documentation fixes and additions. 2009-06-26 20:32:02 +00:00
uriel
0a92d150ca Merge docs changes and fixes. 2009-06-20 11:56:12 +02:00
uriel
e7295877af Fix two typos, thanks echoline! 2009-06-20 11:55:26 +02:00
uriel
5d1e87a659 Added tag LATEST-RELEASE for changeset d57a4b0d249e 2009-06-14 20:21:17 +02:00
uriel
ed80e98013 New release 2009-06-14 20:21:17 +02:00
uriel
7f12eb95a8 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
4b3e31dcce Remove the obsolete feed templates, they were moved to apps/blagh/ a while ago. 2009-06-13 06:28:12 +02:00
uriel
861c35f7d5 Allo to set blagh conf_ options from initrc.local as well. 2009-06-12 23:59:47 +02:00
uriel
0cf525b85d 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
cd07f595c8 Merge tags. 2009-06-12 23:45:27 +02:00
uriel
bcbdb852f2 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