stanley lieber
1f2f324654
apps/blagh/atom.tpl: fix rfc3339 dates for feed <updated> and entry <updated> fields, needed for feed validation.
2019-12-09 22:03:57 -05:00
stanley lieber
175faff417
apps/blagh/rss20.tpl: improve grep for <lastBuildDate>
2019-12-09 19:46:57 -05:00
stanley lieber
b601c168d9
apps/blagh/rss20.tpl: correctly generate accurate dates for <lastBuildDate> and <pubDate>.
2019-12-09 19:37:43 -05:00
stanley lieber
81969a371d
apps/blagh/: fix rss (passes validation), partially fix atom (does not pass validation)
2019-12-07 21:55:44 -05:00
stanley lieber
e46212286c
apps/wman/app.rc: fix columnization
2019-12-07 21:53:38 -05:00
khm
5bf3790c9e
paste: remove some code smell, roll index.html into app.rc
2016-02-17 12:19:07 -05:00
sl
f868bf8769
apps/wman: fix comments and restore template syntax.
2016-02-10 20:34:33 -05:00
sl
7db7582b57
apps/blagh: use new datei and datet functions
2016-02-10 20:33:27 -05:00
sl
32414fdfff
initial import of changes from 9front bikeshedding; bundle rc-httpd
2016-02-04 15:05:05 -05:00
Uriel
7327afab9d
Two new configuration options for wman:
...
* wman_tmac (defaults to 'an') to pass as parameter to the -m flag of troff.
* fn wman_out_filter (defaults to calling wman_default_out_filter) to do post-processing (eg., calling col) of man page output.
Also filter out directories starting with _ from man page section listings.
2011-01-09 10:48:18 +00:00
Uriel
2f70d35811
Fix 'Hello World' app to work with modern app API. Thanks EthanG for pointing this out.
2010-06-06 18:06:21 +00:00
Uriel
5d459fdae2
Remove direct links to feeds, they can be added in a user's config easily enough.
2010-04-17 01:06:16 +00:00
Uriel
738d4d8568
Remove internal nofollow's that waste pagerank.
2010-04-17 01:05:13 +00:00
Uriel
98a9988f7d
Note about bug where markdown references are used in blog posts.
2010-01-19 00:31:55 +00:00
Uriel
83ed78e39e
Set some reasonable titles for man pages.
2009-12-07 05:38:42 +00:00
uriel
30f0439673
Display only 20 entries per column in man page listings, this avoids scrillbars most of the time.
2009-10-29 09:47:53 +00:00
uriel
21b75ecd4c
Allow overriding the manual section listing page (just create an index.md or index.html in the dir where wman is enabled).
2009-10-25 09:31:01 +00:00
uriel
208daf38ec
Fix anon posting, make 'pseudo-captcha' more fun and slightly harder.
2009-10-20 02:28:10 +02:00
uriel
5e5f1bd886
Anon posting for bridge.
2009-10-20 02:09:55 +02:00
uriel
dc8bae50f9
Merge bugfix for dirdir from werc-dev repo.
2009-09-23 12:31:52 +02:00
uriel
bf723398c5
Merge.
2009-09-23 12:28:20 +02:00
uriel
47911fb298
Fix bug that caused the creation of directories in wiki to act erratically.
2009-09-22 17:12:34 +02:00
uriel
b27d16a66e
Add missing wman search template! Doh.
2009-09-14 01:37:50 +00:00
uriel
85efc8a4b7
Replace nroff reference with troff -N, thanks garbeam!
2009-08-26 00:48:38 +02:00
uriel
5e1f5d2b6d
Add rel="nofollow" for links to user loggin page.
2009-08-10 12:34:19 +02:00
uriel
c2d81e3dfb
Do Pubsubhubbub submit in the background so we don't block.
2009-08-06 01:09:04 +00:00
uriel
345cd6b545
Further HTML5-fication, plus fix some case consistency mismatches.
2009-07-28 20:49:53 +02: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
1ddf17b4bb
Experimental support for Google's pubsubhubbub
2009-07-19 03:27:26 +02: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
e7295877af
Fix two typos, thanks echoline!
2009-06-20 11:55:26 +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
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
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
uriel
310c350d3f
Do not set handler if man page doesn't exist so we can provide proper 404 (or other fall-back)
...
Make 'Intro' page title fixing case-insensitive to deal with Plan B man pages.
2009-05-29 10:04:27 +00:00
uriel
6e52eed94b
Don't add extra / to url when we redirect to proper path in wman
2009-04-19 23:56:05 +00:00
uriel
3110edb0d3
Merge
2009-04-19 15:23:15 +00:00
uriel
8631689bcc
Fix umask for newly created dirdir pages.
2009-03-17 01:02:35 +00:00
uriel
9facd7c1b1
Fix null concat in wman search code.
2009-03-16 23:42:44 +00:00
uriel
4e00043ef0
Clean up dirdir, less code, and less bugs!
2009-03-14 14:25:54 +01:00
uriel
8a4951c5bb
Reorg headers, http headers now are echo-ed from werc.rc instead of being part of headers.tpl.
...
This fixes some bugs in the handling HEAD and makes things a bit more clear.
2009-03-13 13:04:25 +01:00
uriel
a068071801
More wman updates, new search functionality and handle better corner cases.
2009-03-13 10:51:07 +00:00
uriel
ecd3ab13aa
Yet another version of wman, templatized, and now Unix man pages use the same path style as Plan 9/Inferno.
2009-03-10 01:16:13 +00:00
uriel
627a0024b2
Big update to wman app. Many fixes and improvements.
2009-03-09 22:16:39 +00:00
uriel
4abcd9fe5b
First draft of wman app to browse and display manpages.
2009-03-06 16:32:33 +00:00
uriel
584364a3d4
Reverse the RSS/ATOM discovery tag order, make ATOM the default.
2009-03-06 00:15:26 +00:00
uriel
8f3cbc3b0d
Only display Edit button when no other handler_body_main has been set (ie., if file really doesn't exist).
2009-03-04 09:05:40 +01:00
uriel
d21e6caeb7
Implement file creation for dirdir.
2009-03-04 03:12:54 +01:00
uriel
a2d3a65c2a
Add mising </p>.
2009-03-03 21:37:36 +00:00