Questions tagged [feed]

A feed is a function of special software that allows feedreaders to access a site, automatically looking for new content and then posting the information about new content and updates to another site. This provides a way for users to keep up with the latest and hottest information posted on different blogging sites.

Filter by
Sorted by
Tagged with
-2
votes
2answers
41 views

Is fech_feed() use lots of server resourses?

I have a custom post type called blogs (blog URL is saved as custom field). There are nearly 250 blog custom post types. When a custom post type (blogs) load I use fetch_feed() to get the recent posts ...
0
votes
1answer
932 views

How fetch_feed() works?

I would like to know that how fetch_feed() works extactly? From the Codex: fetch_feed() caches results for 12 hours by default. That means if I use fetch_feed( 'howtogeek.com' ), it reads the ...
2
votes
1answer
661 views

Two RSS feeds, different items limit?

I have two RSS feed on my Wordpress blog: mydomain.com/feed/ mydomain.com/feed/anotherfeed/ Is it possible to set different items limits on these? I want to show 10 items for the first feed, but the ...
13
votes
3answers
1k views

How to show page content in feed?

I want to show the whole content of every page in feed .I search for it and found some plugin but I could not solve my problem. I want when I enter http://swissaudio.com/craftsmanship/feed it ...
0
votes
1answer
90 views

Hide a specific post from Archive Feed

I want to remove a custom post type post from it's archive feed only. But keep in the main feed. Like is I have 1) main feed: myexample/feed 2) Custom post type Archive Feed: myexample/...
0
votes
1answer
98 views

A custom RSS feed link, how do I modify the XML structure?

I'm working on this website and I can not find where I can modify it. It has a different link, than regular RSS feed links. While a normal RSS feed looks like this websiteaddress.com/?feed=rss ...
3
votes
2answers
2k views

Custom RSS feed forces download

I'm trying to implement a custom RSS feed that is formatted for podcasting and pulls in the audio file from an Advanced Custom Field. Basically I've been working off of the example provided here: ...
3
votes
1answer
3k views

Disable links in header (feeds and such)

I want to disable feeds and things like that (rpc, pingbacks, wlwmanifest, prev/next). Reason is that the website is not a blog, so these are of no use. I wrote the following in a plugin: ...
1
vote
2answers
760 views

How to remove CPT comment feed from head?

In a custom post type I have set has_archive to false. In the head of a CPT page however I still find a link to a feed like this: <link … title="Page Title | Comments Feed" href="domain/cpt/slug/...
0
votes
1answer
388 views

RSS/Atom feeds invalid, “Mismatched tag” errors

We are having trouble getting our feeds to validate on either Feed Validator or the W3C Feed Validation Service. When I enter any of the common URI's: [siteurl]/feed [siteurl]/feed/atom [siteurl]/...
0
votes
1answer
40 views

Malformed RSS feed

I am trying to connect my site's RSS feed to Mailchimp, but my feed doesn't pass basic RSS validation (http://testrtc.com/feed). The reason for that is 3 empty lines at the beginning of the feed, ...
2
votes
2answers
3k views

How can we disable a custom post type archive page but enable its feed?

To disable a custom post types archive page, we should use the following code: $args = array( 'has_archive' => false, ); But when we use false for has_archive, the feeds page (like : name.com/...
1
vote
0answers
93 views

What is best way to prevent access to Custom Post Types unless authenticated when the post type has an archive and is publicly queryable?

What is best way to prevent access to Custom Post Types unless authenticated when the post type has an archive and is publicly_queryable? Is code below enough to keep the content secure and prevent ...
1
vote
1answer
310 views

Insert Featured image from Feed

I am importing products through a feed programmatically as follows: $request = wp_remote_get('myapiurl'); $response = wp_remote_retrieve_body( $request ); // decode the json $json = json_decode($...
1
vote
0answers
181 views

RSS Feed Empty in Firefox

I recently noticed that when accessing the RSS feeds for the blog I am currently working, no items appear in Firefox. If I look in Chrome, I see an unformatted xml file, but I don't seem to get ...
0
votes
0answers
142 views

Can I use wp_widget_rss_output to show my site's feed in the dashboard?

I have a dashboard widget working and I'm trying to use wp_widget_rss_output to display the site's rss feed in that area. The problem is that the only thing showing up is an error. ...
0
votes
1answer
1k views

How to make an RSS feed to show most viewed posts for last 24 hours?

I need to submit my site in somewhere and they're asking for a link to the rss of my most viewed posts during last day. But WordPress by default doesn't support such an option. Is there any way to ...
1
vote
1answer
43 views

How to get feed for pages?

I have a question about WordPress feeds. I know that the default feed: http://www.example.com/feed/ is for the post post type. However, I would like to create a new feed, only for the page post ...
0
votes
1answer
148 views

WordPress RSS feed?

We just started our new blog and we need to submit our RSS feed to some directories, but we do not know what is our new site RSS feed. Do we need to install any plugin or tool to generate RSS feed? ...
1
vote
1answer
154 views

get_the_content_feed with paginated posts

I have a wordpress site and i have been working on it's feed. I noticed that when a post has been paginated with , it only renders the first page of the post. What i need to do is get all the content ...
-1
votes
1answer
230 views

How to show random feed from DB and show content in my site

I try to get more than 3 feed from other web site and show it in my site like : function fw_shortcode( $atts ) { global $wpdb, $feedtable; $result=mysql_query("SELECT * FROM " . $feedtable . ...
4
votes
1answer
2k views

Feed 404 Errors

Before you say this has been dealt with before, please read the whole issue. I have Google'ed and Stackoverflowed myself to death on this. In WMT I see 404 errors for /feed on specific posts. e.g. ...
1
vote
1answer
395 views

How do I fetch feed info from cache instead of directly from feed?

I have been using SimplePie to fetch items from a feed and display them on an aside section on my site. I didn't notice before, but this was increasing the load time of the site by over 10 seconds. ...
1
vote
1answer
208 views

Adding regex filter to feedwordpress

I'm trying to write a plugin for Feedwordpress that filters html from the incoming feeds. So far I have managed to hook it to the right place, but the function completely wipes all content (and it ...
0
votes
1answer
320 views

Password-protect feed and make it usable in major aggregators

A WordPress site I'm on uses WordPress's default cookie-based authentication. This means that the RSS feed of the page is password-protected and can only be read when the cookie is available. ...
1
vote
1answer
927 views

Feed could not be found

The Facebook feed seems to be down on our website http://www.pcrg.org (in the footer- at the bottom of each page). We receive the following error: Unable to fetch the feed Error : A feed could not ...
2
votes
3answers
842 views

Change of query var in pre_get_posts not maintained

I'm creating a plugin that adds a custom feed. I am using a pre_get_posts filter to change the posts_per_page query var to -1 (to get all items of a custom post type). However, if I dump the $wp_query ...
1
vote
1answer
949 views

w3 total cache keeps minifying my feeds

When I deactivate w3 total cache my feed is not minify. But when I bring it back it does. Even when I uncheck: Cache feeds: site, categories, tags, comments. In Page Cache setting of the plugin. Is ...
1
vote
1answer
1k views

Feed, RSS not able to clear the cache and cannot change the limit of cache life time

The WordPress Feed system is EXTREMELY complex for no reason. I have been going around and around and around in circles. I am using: function do_not_cache_feeds(&$feed) { $feed->...
3
votes
4answers
8k views

Where to remove <link> from comment's feed?

I can't seem to find where to delete/comment the line that prints: <link rel="alternate" type="application/rss+xml" title="[site title] [single title] RSS de los comentarios" href="[site_url]/...
0
votes
0answers
157 views

Adding a second RSS feed

I have a Wordpress 4.Current blog with a RSS feed for the most recent 10 posts. I would like to have a second RSS feed that has ALL my posts. I have tried a few plugins, but none do what I want. ...
1
vote
1answer
983 views

A function to fetch blog content via rss feed

I am trying to make a function which take an rss fedd URL and fetches the most recent 2 posts. I have tried to remake the snippet from here to a full function in funtions.php as following. I don't ...
0
votes
1answer
175 views

Display child pages on homepage template

I thought this would be a simple case of following the Codex but apparently not. I'm trying to display child pages of a particular page on my homepage using a custom made template. So far I've managed ...
10
votes
1answer
730 views

How to get SimplePie fetch_feed without stripping iframe code?

I'm grabbing a remote feed in my plugin and some entries have iframe code I want to keep. However, SimplePie fetch_feed keeps stripping it out. Here is my code and what I've tried already: ...
4
votes
4answers
3k views

Why does Simplepie return feed items in a wrong order?

I have this feed from picasa (correct but arbitrary, desired order). The result is messed up Also, with this feed, for example. It's fine in regular, sorted by date feeds, but not these. In the ...
2
votes
1answer
270 views

How to add more than one RSS Feed Link for wordpress

I'm using code to change Rss Feed Link for my wordpress site, it's working but I don't know how to add more than one rss link appear when someone click on browser Rss Icon, I need these links to ...
0
votes
1answer
501 views

My RSS feed is not working

I run my website on wordpress 4.1 and my website feed is not working. Feed page shows this error message. (This page contains the following errors: error on line 399 at column 105: Input is not ...
1
vote
0answers
79 views

force feed readers to pick atom version

The reason i want to do this is Feed versions of my Front-page (rss and atom) are different! that's right. i have placed a function code to put preview images in feed but looks like it only effect on ...
1
vote
1answer
579 views

How to delete transients written by fetch_feed()?

I'm using fetch_feed() to cache external rss sources displayed in a widget. in case the widget (or, more likely, the whole plugin) is deleted/deactivated, i want to manually delete all related ...
3
votes
2answers
1k views

feed links for custom post type pages

I have a WP based site with a lot of pages based on custom post type. But I see a lot of 404-links in the Google Webmasters finished with /feed. It looks like default WP function, when WP adds /feed ...
2
votes
1answer
1k views

How to get more than 25 items via Simplepie RSS Feeds?

I have a feed with 50 items but seemingly no matter what I do, it always returns just 25. $feed->set_item_limit(50); or $rss_items = $rss->get_items(0,50); none of these have any effect nor do ...
1
vote
1answer
888 views

fetch_feed works on localhost but not on server

There is one similar question, but I can't seem to get round to what's going on. So any help appreciated... The following code works just fine on localhost, but when on the live site I get the ...
0
votes
0answers
206 views

How to import and parse RSS feed from a WP site to a non-WP if 'allow_url_include' is set to 'off'?

I work in a secure environment where I am trying to import an RSS feed from a wordpress site to a non-wordpress site that resides on a remote server/domain. Unfortunately, this server has the '...
0
votes
1answer
1k views

Googlebot adding /feed at the end of my URLs

I have seen on Google Webmaster that the crawler is searching for URLs by adding /feedat their end. e.g. 4 holiday-fashion-from-daisy-darche/feed/ 404 8/4/14 This obviously leads ...
5
votes
2answers
8k views

How to secure or disable the RSS feeds?

I'm trying to set up WordPress as a CMS. As such, I want to disable the feeds since it's mostly a secured site. I've gone through all the Settings pages but found no setting to tweak or disable the ...
0
votes
1answer
175 views

Check if feed is fetched successfully

I am trying to fetch specific post feed from my one side to another one. every thing works fine, only thing I need to check is that if the feed is not successfully fetched by custom field, it should ...
0
votes
1answer
672 views

Featured Image in RSS Feed

I'm using the following code to add a featured image to my rss feed in wordpress. add_action( 'rss2_item', 'add_post_featured_image_as_rss_item_enclosure' ); function ...
3
votes
1answer
573 views

register_post_type - rewrite / feeds, what's it for?

The codex page for register_post_type seems to suggest that it should be possible to disable feed generation for custom post types: rewrite (boolean or array) (optional) Triggers the handling of ...
1
vote
1answer
2k views

How do I remove featured images and captions from a wordpress RSS feed?

I'm trying to remove featured images and captions from my feed and struggling to do it. As another question has identified it is very difficult to format captions and so as a newsletter feed I want to ...
1
vote
0answers
244 views

Is it possible to have a custom post type with feed but without the archive?

In Wordpress 3.9.2 I couldn't find the way to have a custom post type which would have the feed permalink like this: example.com/custom-post-type/feed/ But didn't show the archive (show 404) for: ...

1 2
3
4 5
8