diff --git a/b2config.php b/b2config.php index 15ad079376..462aa4ac4c 100644 --- a/b2config.php +++ b/b2config.php @@ -154,7 +154,8 @@ $rss_encoded_html = 0; # length (in words) of excerpts in the RSS feed? 0=unlimited # note: in b2rss.php, this will be set to 0 if you use encoded HTML $rss_excerpt_length = 50; - +#use the excerpt field for rss feed. +$rss_use_excerpt = 1; // ** Weblogs.com ping ** @@ -349,4 +350,4 @@ $passsql = $dbpassword; $path = $pathserver; $base = $dbname; -?> \ No newline at end of file +?> diff --git a/b2rdf.php b/b2rdf.php index dad5731f2c..2235612e20 100644 --- a/b2rdf.php +++ b/b2rdf.php @@ -45,7 +45,16 @@ if (!isset($rss_language)) { $rss_language = 'en'; } (mailto:) + + + + ]]> diff --git a/b2rss.php b/b2rss.php index e1670ee1d5..b8f6d9b6c6 100644 --- a/b2rss.php +++ b/b2rss.php @@ -9,26 +9,35 @@ if (!isset($rss_excerpt_length) || ($rss_encoded_html == 1)) { $rss_excerpt_leng ?>\n"; ?> - - <?php bloginfo_rss("name") ?> - - - GMT - http://backend.userland.com/rss092 - - - + + <?php bloginfo_rss("name") ?> + + + GMT + http://backend.userland.com/rss092 + + + - - <?php the_title_rss() ?> + <?php the_title_rss() ?> +"; the_category_unicode(); echo ""; ?> - - - +// echo ""; the_category_unicode(); echo ""; +if ($rss_use_excerpt) { +?> + + + + + + - - + \ No newline at end of file diff --git a/b2rss2.php b/b2rss2.php index 1ad19c888c..ee459af410 100644 --- a/b2rss2.php +++ b/b2rss2.php @@ -37,7 +37,16 @@ if (!isset($rss_excerpt_length) || ($rss_encoded_html == 1)) { $rss_excerpt_leng (mailto:) @ + + + + ]]>