Different sizes of Feeds
-
hi folks!
i like travelling and thus geo-tagged all my posts. – now it want to work this information a bit more. – i already implemented the gps-data in my feeds. the feeds (tags, date, …) together with google maps give a nice overview of where i’ve been.
anyway, only the last 10 posts are displayed within an feed, what’s good, because my friends actually like to stay up-to-date. nevertheless, this is not an appropriate way to get all geo data into google maps. hence, i tried to make the feed length variable by adding these lines into /wp-includes/feed-rss2.php.
<?php do_action('rss2_head'); ?> /* begin edit */ <?php if (isset($_GET['all'])) { query_posts($query_string.'&posts_per_page=-1'); } ?> /* end edit*/ <?php while( have_posts()) : the_post(); ?>
what i don’t understand is, why the $query_string variable is not processed, because if &all= is set in the url, all posts are displayed, even i select to display only the posts of one tag in the feed.
anybody got an idea what i’m doing wrong?
cheers berny
- The topic ‘Different sizes of Feeds’ is closed to new replies.