Does anyone know how to get the total number of articles from an RSS feed served by Wordpress?
If I got your question right, to get to know (& even edit the value) that how many number of RSS articles/posts are being served via RSS feed by your WordPress site, in the Dashboard:: Settings -> Reading
Third settings is which specify the RSS items number which is labeled as: "Syndication feeds show the most recent ---"
Related
My latest RSS feed shows 20 posts for example, but I want to include a certain category no matter how old the post is (for example, my 'featured' post category), and also just get 1 latest post from this category.
I've been trying to look for plugins, but I'm not exactly sure what it would be called. Any help would be appreciated.
Try WP RSS Aggregator plugin, it has many options that i think it will help you for example :
-Set the name of the feed source
-Select number of posts per feed you want to show and store
and more.
(This isn't strictly programming so let me know if there's a better place I could be putting this.)
I'm using an RSS feed to import job listings into a WordPress site. For example, this feed listed here gives me the name of the institution and the salary. However, the site also gives more information in its own listings. Is there a way of bringing that in as well or is the nature of RSS that you can only take what you're offered?
N.B. I have Settings -> Reading > For each article in a feed, show set to Full text.
In your own feeds you can choose whether to publish your full content or not.
If the site you're referring to chose not to do so, you won't be able to access it. At least not via RSS
I am building a mobile app for my wordpress site. I am planning to read the RSS feed from the website and display it using the mobile app. For this first I need a list of categories to be displayed on the home page and when the user selects a category, the posts in the category is displayed. I know how to get category specific RSS feed, but couldn't find a way so that I can get a list of all categories available on the website. Are there any plugins available which does this?
Any help will will be appreciated!
I personally prefer JSON over RSS feed.
To enable Wordpress output JSON just install this plugin
Then you can use it to browse categories and then posts on categories. For example on my own blog:
Categories
http://www.tapanila.net/api/get_category_index/
Posts from category Index 1
http://www.tapanila.net/api/get_category_posts?category_id=1
Whole documentation
I've been using the RSS feed of my personal site to export its posts to a Wordpress installation, using the plugin FeedWordPress.
In its current state, when a post is deleted from my personal site, it also disappears from the RSS feed, but remains on the Wordpress installation (an undesirable behavior). There is an option in the FeedWordPress plugin to retain only the posts that are currently in the RSS, but then I have a different problem, because only the latest 50 entries are stored in the RSS at any time, so older posts would be deleted as well.
The most promising lead for a solution came from another option for the plugin, which goes:
Allow Feeds to Delete Posts: Yes. If a feed indicates that one of its
posts has been deleted, delete the local copy syndicated to this
website.
How would I go about adding such a deletion indication/signal in my RSS feed?
I would use the built in option in feedpress or create a category and add the unwanted posts there and exclude them from the feed.
Turns out it was referring to tombstones (deleted-entry elements) in Atom.
https://www.rfc-editor.org/rfc/rfc6721
I like giving my users the full text RSS feed, but I also have a few sites which pull the RSS feed and link to us from it. They want me to provide the excerpt/blurbs for the articles rather than the full text. Can anyone give me some direction on how to make this happen?
It should be possible. Wordpress has multiple feed types (see WordPress Feeds) and there are hooks for each feed type (see Feed Actions API). This suggests that you should be able to set up one feed type as a partial feed, and another as a full-text feed. Basically, you'd just be re-writing one of these feed types to ignore the setting you indicated on the "Reading Settings" admin screen.
I bet this could be done w/ a pretty simple plug-in.