Solved

Display ALL posts in an RSS Feed in Wordpress

Posted on 2012-03-26
3
518 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
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…

735 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