From 1b7f0aa88a4765ddca4c38311e69b41a288cb88a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 15 Dec 2009 17:57:36 +0000 Subject: [PATCH] - web: bb2html() previously generated HTML that assumed the BOINC stylesheet (main.css) was included. This is no good if we're exporting the HTML. Add an option to generate generic HTML. - web: add options to the forum RSS feed: 1) threads_only: just show threads (i.e. 1st post in each thread) 2) truncate: truncate posts to 256 chars. If this is not set, convert post from BBcode to generic HTML, and put this (XML-encoded) in item.description This is preparation for using the forum code for project news, and for displaying forum RSS feeds in the manager. svn path=/trunk/boinc/; revision=19915 --- checkin_notes | 19 +++++++++ doc/index.php | 1 + html/inc/text_transform.inc | 84 +++++++++++++++++++++++++------------ html/user/forum_rss.php | 70 +++++++++++++++++++++---------- 4 files changed, 126 insertions(+), 48 deletions(-) diff --git a/checkin_notes b/checkin_notes index baa089a62d..73b27eadb7 100644 --- a/checkin_notes +++ b/checkin_notes @@ -10076,3 +10076,22 @@ David 14 Dec 2009 client/ cs_scheduler.cpp + +David 15 Dec 2009 + - web: bb2html() previously generated HTML that assumed + the BOINC stylesheet (main.css) was included. + This is no good if we're exporting the HTML. + Add an option to generate generic HTML. + - web: add options to the forum RSS feed: + 1) threads_only: just show threads (i.e. 1st post in each thread) + 2) truncate: truncate posts to 256 chars. + If this is not set, convert post from BBcode to generic HTML, + and put this (XML-encoded) in item.description + This is preparation for using the forum code for project news, + and for displaying forum RSS feeds in the manager. + + html/ + inc/ + text_transform.inc + user/ + forum_rss.php diff --git a/doc/index.php b/doc/index.php index b097f19e00..372ac337a0 100644 --- a/doc/index.php +++ b/doc/index.php @@ -214,6 +214,7 @@ function language_form() { ."