Fixed to use posts_per_rss. See http://wordpress.org/support/3/419
git-svn-id: https://develop.svn.wordpress.org/trunk@302 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6e668e1fce
commit
8ab54d6833
@ -1,5 +1,6 @@
|
|||||||
<?php /* RDF 1.0 generator, original version by garym@teledyn.com */
|
<?php /* RDF 1.0 generator, original version by garym@teledyn.com */
|
||||||
$blog = 1; // enter your blog's ID
|
$blog = 1; // enter your blog's ID
|
||||||
|
$doing_rss=1;
|
||||||
header('Content-type: text/xml');
|
header('Content-type: text/xml');
|
||||||
include('blog.header.php');
|
include('blog.header.php');
|
||||||
add_filter('the_content', 'trim');
|
add_filter('the_content', 'trim');
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<?php /* These first lines are the first part of a CaféLog template.
|
<?php /* These first lines are the first part of a CaféLog template.
|
||||||
In every template you do, you got to copy them before the CaféLog 'loop' */
|
In every template you do, you got to copy them before the CaféLog 'loop' */
|
||||||
$blog = 1; // enter your blog's ID
|
$blog = 1; // enter your blog's ID
|
||||||
|
$doing_rss=1;
|
||||||
header('Content-type: text/xml');
|
header('Content-type: text/xml');
|
||||||
include('blog.header.php');
|
include('blog.header.php');
|
||||||
if (!isset($rss_language)) { $rss_language = 'en'; }
|
if (!isset($rss_language)) { $rss_language = 'en'; }
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<?php /* These first lines are the first part of a WordPress template.
|
<?php /* These first lines are the first part of a WordPress template.
|
||||||
In every template you do, you got to copy them before the CafeLog 'loop' */
|
In every template you do, you got to copy them before the CafeLog 'loop' */
|
||||||
$blog=1; // enter your blog's ID
|
$blog=1; // enter your blog's ID
|
||||||
|
$doing_rss=1;
|
||||||
header('Content-type: text/xml');
|
header('Content-type: text/xml');
|
||||||
include('blog.header.php');
|
include('blog.header.php');
|
||||||
if (!isset($rss_language)) { $rss_language = 'en'; }
|
if (!isset($rss_language)) { $rss_language = 'en'; }
|
||||||
|
@ -41,7 +41,10 @@ $b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search
|
|||||||
@header ("X-Pingback: $siteurl/xmlrpc.php");
|
@header ("X-Pingback: $siteurl/xmlrpc.php");
|
||||||
|
|
||||||
/* Getting settings from db */
|
/* Getting settings from db */
|
||||||
$posts_per_page = get_settings('posts_per_page');
|
if ($doing_rss == 1)
|
||||||
|
$posts_per_page=get_settings('posts_per_rss');
|
||||||
|
if ($posts_per_page == 0)
|
||||||
|
$posts_per_page = get_settings('posts_per_page');
|
||||||
$what_to_show = get_settings('what_to_show');
|
$what_to_show = get_settings('what_to_show');
|
||||||
$archive_mode = get_settings('archive_mode');
|
$archive_mode = get_settings('archive_mode');
|
||||||
$dateformat = stripslashes(get_settings('date_format'));
|
$dateformat = stripslashes(get_settings('date_format'));
|
||||||
|
Loading…
Reference in New Issue
Block a user