Commit graph

52 commits

Author SHA1 Message Date
Stanley Lieber
fed0fb025a apps/blagh/rss20.tpl: print correct <pubDate> for each <item> (thanks, phil9) 2021-01-29 21:46:41 -05:00
Stanley Lieber
28bb70308b apps/blagh/atom.tpl: fix <summary> (thanks devine, khm) 2020-09-01 20:39:10 -04:00
Kurt H Maier
e11dc36640 blagh: jsonfeed support 2020-05-25 02:09:41 -07:00
Stanley Lieber
0011a6aa7e apps/blagh/rss20.tpl: find the correct most recently updated file so the <lastBuildDate> field is precisely accurate. 2019-12-09 23:21:45 -05:00
Stanley Lieber
7190091456 apps/blagh/atom.tpl: find the correct most recently updated file so the feed <updated> field is precisely accurate. 2019-12-09 23:20:11 -05:00
Stanley Lieber
5cd45d42fe apps/blagh/atom.tpl, rss20.tpl: date -t -> date -a 2019-12-09 22:18:12 -05:00
Stanley Lieber
9f7d532a93 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
708c506ba8 apps/blagh/rss20.tpl: improve grep for <lastBuildDate> 2019-12-09 19:46:57 -05:00
Stanley Lieber
50a4a9e742 apps/blagh/rss20.tpl: correctly generate accurate dates for <lastBuildDate> and <pubDate>. 2019-12-09 19:37:43 -05:00
Stanley Lieber
4640183908 apps/blagh/: fix rss (passes validation), partially fix atom (does not pass validation) 2019-12-07 21:55:44 -05:00
Stanley Lieber
0928d102d5 apps/blagh: use new datei and datet functions 2016-02-10 20:33:27 -05:00
Stanley Lieber
a99fa8b44f initial import of changes from 9front bikeshedding; bundle rc-httpd 2016-02-04 15:05:05 -05:00
Uriel
10738add92 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
ba27f7f1b8 Note about bug where markdown references are used in blog posts. 2010-01-19 00:31:55 +00:00
Uriel
534ee5f3b4 Do Pubsubhubbub submit in the background so we don't block. 2009-08-06 01:09:04 +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
df5668add0 Experimental support for Google's pubsubhubbub 2009-07-19 03:27:26 +02: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
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
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
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
673bdaf664 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
5d4157063c Reverse the RSS/ATOM discovery tag order, make ATOM the default. 2009-03-06 00:15:26 +00:00
Uriel
c9b9e4e9bf Preserve ifs when calling other functions after temporary altering it. Fixes a couple of minor bugs.
Added difs env var that can be used anywhere to restore default ifs.
2009-03-03 20:23:00 +00:00
Uriel
8c932c3a55 Rename $blog_editors to $conf_blog_editors and give it the default value of 'blog-editors'. 2009-02-28 13:26:40 +00:00
Uriel
ef3eeca673 Minor correction to atom and rss link urls. 2009-02-20 23:15:08 +00:00
Uriel
bab24f9cdf Improve the atom and rss templates: fix bugs in link attirbutes, simplify code, and include html posts in rss feeds instead of raw markdown. 2009-02-18 09:28:20 +00:00
Uriel
47955dd43a Replace switch with series of if, makes the code slightly cleaner, I think. 2009-02-16 02:27:28 +00:00
Uriel
5c9fadef99 Remove xml comments from atom feed output and convert them to rc comments instead. Remove limit on atom post sized. 2009-02-15 14:50:50 +00:00
Uriel
a57e5f6a5a Fix dates display in blogs. 2009-02-14 20:34:23 +00:00
Uriel
58982018d4 Updates to blagh: Allow setting date of new posts, blog-editors default group, provide better error repporting using new notification framework, plus other bug fixes. 2009-02-13 23:21:15 +00:00
Uriel
070ba578f4 Use correct post title in rss feeds. 2009-02-13 23:19:24 +00:00
Uriel
e9aacb8ff4 Brown papperbag bug: do not include html headers in rss/atom feeds! 2009-02-13 13:23:19 +00:00
Uriel
9604018c42 Add blog header and rss/atom feed links, and fix a bug for agregated blog dirs. 2009-02-12 22:03:57 +00:00
Uriel
7151777d9b Add conf_enable_app to add items to $enabled_apps, used from conf_enable_xxx functions so one doesn't need to both add stuff to $eanbled_apps and then call conf_enable_xxx, and to avoid enabling the same app twice.
New conf_enable_wiki function to follow the interface of other apps.
2009-02-08 00:22:46 +00:00
Uriel
64e3d86654 Display date in post listing. 2009-02-01 20:03:27 +01:00
Uriel
86af4c88d2 Add tempalte for blog posting via web interface. 2009-01-25 16:53:21 +01:00
Uriel
5755022405 Move blagh feed templates to app dir, be smarter when enabling 'implicit' blogs, and upgrade the web interface for blog posting. 2009-01-25 16:52:19 +01:00
Uriel
7028e84bf0 Simplify init code to take advantage of the new blagh_root variable. Fix and cleanup various things. 2009-01-23 16:44:42 +01:00
Uriel
af5a82774d Add conf_enable_blog function to blagh to be used to setup a blog. 2009-01-22 09:23:20 +01:00
Uriel
f2bfe0d665 Fix display of individual blog posts. 2009-01-20 09:06:28 +00:00
Uriel
d4ecd11693 Blagh: improve handler setup for atom/rss feeds, also filter out blog posts with non-url-allowed path elements. 2009-01-13 03:19:45 +01:00
Uriel
ae20a466a3 Various small cleanups: remove unused code, clarity and reliability fixes here and here, move code to more appropriate locations, improve some comments. 2009-01-12 02:07:31 +01:00
Uriel
889e844d73 Fix blah to work with new handler interfaces.
Remove outdated app-framework code.
Clanup some of the fallback handler setting code.
2009-01-11 04:40:40 +01:00
Uriel
d7edcd7bd9 Minnor change, merge two lines and add a comment from the old blog code. 2009-01-02 16:49:44 +01:00
Uriel
8b4b34c62d Minor code simplificaton. 2008-12-31 00:16:17 +01:00
Uriel
56a5fd5fa6 Fix blagh_init to fail when we should fail. 2008-12-28 23:43:15 +01:00
Uriel
7f7da84b09 Further progress with blagh app, atom feeds and rss feeds are mostly working. 2008-12-28 21:37:03 +01:00
Uriel
9745991ff9 Minor comment cleanups. 2008-12-28 11:51:03 +01:00