Solved

Display ALL posts in an RSS Feed in Wordpress

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

746 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

13 Experts available now in Live!

Get 1:1 Help Now