Solved

Display ALL posts in an RSS Feed in Wordpress

Posted on 2012-03-26
3
513 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article discusses how to create an extensible mechanism for linked drop downs.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now