diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-07-11 23:36:24 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-07-11 23:36:24 +0200 |
commit | 4ab889ea63838db0bbb33dd0d316eac03ab69cf2 (patch) | |
tree | a65c09a7a415718463a1ed3bdbd82dc3f5ce7081 /lib/plugins | |
parent | 8fe3bb00af38a1790e3c2b30eb655fec12e19653 (diff) | |
download | rpg-4ab889ea63838db0bbb33dd0d316eac03ab69cf2.tar.gz rpg-4ab889ea63838db0bbb33dd0d316eac03ab69cf2.tar.bz2 |
improved feed creation
The feed now can export diff views (unified and HTML) as well as full HTML
page content.
Some things might be broken. Everybody please test it!
darcs-hash:20070711213624-7ad00-49359417127fdbd6e31374738509110271b6b351.gz
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/config/lang/en/lang.php | 16 | ||||
-rw-r--r-- | lib/plugins/config/settings/config.metadata.php | 3 |
2 files changed, 14 insertions, 5 deletions
diff --git a/lib/plugins/config/lang/en/lang.php b/lib/plugins/config/lang/en/lang.php index 932a00b05..e0b9a95af 100644 --- a/lib/plugins/config/lang/en/lang.php +++ b/lib/plugins/config/lang/en/lang.php @@ -128,6 +128,7 @@ $lang['broken_iua'] = 'Is the ignore_user_abort function broken on your system? $lang['rss_type'] = 'XML feed type'; $lang['rss_linkto'] = 'XML feed links to'; +$lang['rss_content'] = 'What to display in the XML feed items?'; $lang['rss_update'] = 'XML feed update interval (sec)'; $lang['recent_days'] = 'How many recent changes to keep (days)'; $lang['rss_show_summary'] = 'XML feed show summary in title'; @@ -175,10 +176,17 @@ $lang['gdlib_o_1'] = 'Version 1.x'; $lang['gdlib_o_2'] = 'Autodetection'; /* rss_type options */ -$lang['rss_type_o_rss'] = 'RSS 0.91'; -$lang['rss_type_o_rss1'] = 'RSS 1.0'; -$lang['rss_type_o_rss2'] = 'RSS 2.0'; -$lang['rss_type_o_atom'] = 'Atom 0.3'; +$lang['rss_type_o_rss'] = 'RSS 0.91'; +$lang['rss_type_o_rss1'] = 'RSS 1.0'; +$lang['rss_type_o_rss2'] = 'RSS 2.0'; +$lang['rss_type_o_atom'] = 'Atom 0.3'; +$lang['rss_type_o_atom1'] = 'Atom 1.0'; + +/* rss_content options */ +$lang['rss_content_o_abstract'] = 'Abstract'; +$lang['rss_content_o_diff'] = 'Unified Diff'; +$lang['rss_content_o_htmldiff'] = 'HTML formatted diff table'; +$lang['rss_content_o_html'] = 'Full HTML page content'; /* rss_linkto options */ $lang['rss_linkto_o_diff'] = 'difference view'; diff --git a/lib/plugins/config/settings/config.metadata.php b/lib/plugins/config/settings/config.metadata.php index 9c3d16e1c..f8e2c35ce 100644 --- a/lib/plugins/config/settings/config.metadata.php +++ b/lib/plugins/config/settings/config.metadata.php @@ -164,8 +164,9 @@ $meta['hidepages'] = array('string'); $meta['send404'] = array('onoff'); $meta['compression'] = array('multichoice','_choices' => array('0','gz','bz2')); $meta['sitemap'] = array('numeric'); -$meta['rss_type'] = array('multichoice','_choices' => array('rss','rss1','rss2','atom')); +$meta['rss_type'] = array('multichoice','_choices' => array('rss','rss1','rss2','atom','atom1')); $meta['rss_linkto'] = array('multichoice','_choices' => array('diff','page','rev','current')); +$meta['rss_content'] = array('multichoice','_choices' => array('abstract','diff','htmldiff','html')); $meta['rss_update'] = array('numeric'); $meta['recent_days'] = array('numeric'); $meta['rss_show_summary'] = array('onoff'); |