Solved

Display ALL posts in an RSS Feed in Wordpress

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

752 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