Solved

Display ALL posts in an RSS Feed in Wordpress

Posted on 2012-03-26
3
516 Views
Last Modified: 2012-04-04
I've been asked to provide either an API or RSS feed of ALL my posts (reviews) from my movie-review site.  I'm using Wordpress.  This doesn't have to be a public feed, rather it's just used to populate another site's review database.

But, I'm stumped and can't find any solution to my issue.

I don't want to alter my default setting of 10 for my current RSS feed (i.e. www.sitename.com/feed).

Any ideas?

I can even use PHP code to connect to my DB and just make a stand alone page, but don't know the code for that.
0
Comment
Question by:freezilla
3 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 37770758
0
 

Author Comment

by:freezilla
ID: 37771998
Yeah, I found that one but it looks like the solution was to change the default feed length from 10 to 99999, which would affect my main feed (and I don't want to do that).  What I want to do is create a custom feed for a site so that it can grab my reviews and add it to their database.
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 37774897
One way to do it would be to create a second feed template, change the loop for it so it pulls all posts instead of whatever is set in the Settings and then point whatever you need to it.

Here's a tutorial that describes the process better:

http://yoast.com/custom-rss-feeds-wordpress/
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question