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
1
vote
1answer
2k views

How to use filter hook “the_posts” with a function that refers to $this?

I'm using Carbon Fields to manage event-related metadata (such as event dates) for certain posts on my site, but I want to make sure that past events do not show up in my site's feeds. I need to use ...
1
vote
0answers
59 views

Posts gathered from WPEMatico feeds are being mixed in different languages. Polylang is used for language separation

I have set up RSS feeds in WPEMatico in different campaigns, each one gathering news in different languages. The campaigns are then connected to different Post Categories, each of which is set up in a ...
0
votes
0answers
32 views

How can I force fetch_feed to return real URL?

For Some websites fetch_feed return feedburner or similar URL. How can I force it to return real URL? Or is there any other way to get the real URL?
0
votes
0answers
202 views

Default Wordress RSS Widget does not work on a subdomain site, works when I move it

I'm having problems with the default RSS Widget that takes in a RSS feed and spits it out to the viewer. I created an RSS feed on my main domain. I know it works because I'm use the w3 feed ...
0
votes
1answer
953 views

How to add filter in custom rss feed

I have this code for my 2 custom rss feeds: add_action( 'init', 'custom_feeds' ); function custom_feeds() { foreach( array( 'custom1', 'custom2' ) as $name ) { add_feed( $name, ...
1
vote
1answer
1k views

Custom RSS feed with custom url

I'm trying to create custom RSS feed that will contain one post type and posts there from just one category. URL to this feed should be /rss. I tried some plugins but didn't found any that will help ...
1
vote
1answer
317 views

Adding a featured image to atom feed

I'm using my own theme for a blog. In my functions.php file I added a function: function featuredImageToRSS($content) { global $post; if (has_post_thumbnail($post->ID)) { $content =...
0
votes
0answers
89 views

Expire Header for custom XML feed

We have created a custom XML feed, using a Wordpress page template, to load in custom posts. Here is our page: https://www.kortingvandedag.be/feed-copernica/ We use this for our email marketing. But ...
0
votes
0answers
154 views

Fetch feed from multiple sources

I'm trying to build a shortcode that would display latest feed items from multiple sources. The problem I'm facig is that I cannot get it to work as it isn't displaying anything. I take the feeds ...
1
vote
1answer
519 views

Custom taxonomy in custom post RSS feed

I'm trying to add a custom taxonomy (Topics) from my custom post-type to the proper post-type RSS feed. ex: ?post_type=custom_post_type I'm pulling the RSS feed from my main site to another site ...
0
votes
1answer
47 views

Feed cache fallback - A feed could not be found

Trying to refactor a feed plugin to fallback on cache if source is unavailable (ex: for maintenance). Started using fetch_feed($url); which affords more flexibility in terms of cache. But unsure of ...
0
votes
2answers
163 views

Second page of RSS feed

I have a my default feed url https://tocanerd.com.br/feed/, but i set it up to show a x number of posts. I'd like to know how to see the other posts in a second page or something like this.
0
votes
0answers
85 views

WordPress PHP error getting posts from another wordpress blog

I'm using this code in the template-blog.php page of my website, to get posts from my first WP blog to the second WP blog, different websites using the same blog posts. this code has been working ...
0
votes
2answers
170 views

Theme's functions.php not called when rendering RSS feed

I'm trying to add some custom elements to a site's RSS feed. I thought it would be as simple as adding something like this to the active theme's functions.php: function ...
1
vote
0answers
558 views

Is there a way to fetch RSS feed by date range rather than number of items?

I'm currently using fetch_feed() to pull in RSS feeds of calendar events that live in an external, non-WP site. Once I pull in those feeds, I display each feed's events in a calendar view. The ...
0
votes
1answer
46 views

Change conditionally a variable value for different feeds

I need to change conditionally a variable value for different feeds. I can't find a function for this. These are my custom feeds: function my_custom_rss_init(){ add_feed('fc_md', 'my_custom_rss');...
-3
votes
1answer
506 views

How to fetch all the movie details from IMDB

I am working on wordpress website and want to fetch all movies/tv data from imdb by using movie/tv id E.G tt2527336. I wanna fetch everything, i mean Director, Stars, Release Date, genre, storyline, ...
0
votes
1answer
464 views

For a multisite WordPress site, how can I access a tag feed across all subsites?

For example, I can access the feed for my-tag on subsite foo-site at URL: https://my-multisite-blog.com/foo-site/tag/my-tag/feed/ I'd like to access posts tagged my-tag for all subsites at: https://...
0
votes
1answer
50 views

How do I get an RSS feed to work

Edited to clarify: When I changed my WordPress theme to TwentyTen, my RSS feed stopped working. I had it set up to feed new blog posts (my WP site) to my primary website. I tried doing a number of ...
-1
votes
1answer
58 views

Create media library feed

How can I create a xml feed for the media library? That is, a feed that will be updated each time a new file is uploaded to the media library.
0
votes
1answer
81 views

Modify RSS feed to change iframe structure

I have a website that is listed in UCnews. They are asking me to change the regular <iframe> structure to <res-iframe type="video" data-src="video address" data-title="title"></res-...
3
votes
1answer
2k views

How can I remove certain HTML tags from the RSS feed?

One news aggregator wants to have RSS feed without any links into the <description> field. So I try to use this code in functions.php to remove <a href></a> tags, but it doesn’t work....
0
votes
1answer
101 views

Use fetch_feed(); Totally Outside of WordPress?

I have used fetch_feed() many times with WordPress Project. Now I am working on non WP site. So is there way to use fetch_feed() totally Outside of WordPress? What WordPress Core files should I ...
0
votes
1answer
258 views

Best way to duplicate specific page content across two sites?

I have two sites that are both wordpress based but on separate servers. I would like the content of a specific page to be published in a format that can be included into another site's page. Basically ...
1
vote
1answer
180 views

Transient feeds and caching error

On our production and staging servers, we're seeing the "WordPress News" feed show an error: After poking around in the WP codebase a bit, I've discovered that this is stored in the wp_options table ...
0
votes
2answers
92 views

How do I modify the 'more' link in a feed

I use a function to modify the 'read more' link for posts. function modify_read_more_link() { return '<p class="read-more"><a href="' . get_permalink() . '">CONTINUE READING &raquo<...
0
votes
1answer
930 views

remove enclosure url from feed

I searched the whole internet, including this website, but there is no written way on how to remove the enclosure url from the WordPress feed. I want to remove it because FeedBurner is adding the ...
1
vote
1answer
513 views

404 in custom post type feed with mistake permalink

I have a wordpress site that uses this custom post type : "movie" in theme. I changed permalinks to "%postname%. Every things is ok but google gives a toll 404 error for any custom post type ...
2
votes
0answers
1k views

How to add custom fields in rss feed

I have a custom field called argument. I'm trying to add it in RSS feed using the following code, but it's not working. Am I missing something? function acf_feed($content) { if(is_feed()) { ...
0
votes
1answer
58 views

How to fetch custom post types with its full data on wordpress?

I used this feed to get custom post types: http://example.com/feed/?post_type=directory_types But, it is fetching only title, time, author, url, description. How to fetch all the data like images, ...
0
votes
1answer
8k views

Why is my RSS feed not working?

I have the following blog on a WordPress site. The RSS feed does not contain a list of the posts. Any thoughts on what is going on? UPDATE I noticed that my blog index page was located at http://www....
1
vote
1answer
916 views

Showing Post ID on RSS

How to showing Post ID on RSS? This my code: $rss = new DOMDocument(); $rss->load('https://www.ciusan.com/feed'); $feed = array(); foreach ($rss->getElementsByTagName('item') as $node) ...
1
vote
3answers
2k views

How to add image in rss?

I want to add image from post content in my rss feed but all the tutorials that I find are only for featured image. I want image from post content and not featured image. How can I do this?
3
votes
1answer
3k views

Multiple category RSS feeds

Taken from WordPress Feeds: You can include posts from one of multiple categories or tags in a feed by comma-separating their values. For example: http://www.example.com/category/cat1,cat2/...
0
votes
1answer
18 views

Pull new posts using feed

How can I query new posts from a website using the RSS/ATOM feed? I mean how can I structure the query URL to do that (say bring me all new posts from the last 10 days)? Thank you
0
votes
0answers
447 views

RSS Feed cURL error 52?

Has anyone every encountered this error when trying to publish a feed onto another site? The feed appears fine say within Reeder or a browser, but when it comes to showing it on another site it fails....
1
vote
1answer
486 views

WordPress - Sync wordpress post with JSON feed

I hope you all are doing well. I need to ask something, I tried searching for this but unable to get any relevant answer. I have a JSON feed and using that feed I want to create posts and want to ...
0
votes
0answers
106 views

How to make shortcode enabled in JSON Feeds?

I was creating an Android App for my WordPress website and it shows posts through JSON feeds. So I use the WordPress plugin JSON API as well. Everything work except the shortcodes. I have viral quiz ...
1
vote
2answers
42 views

how improve website mainpage loading

I'm using [feed to post RSS Aggregator] and get posts from 44 sites. main page loading is too slow. I checked GTmetrix and it seems good but I don't know how can I improve my website loading. http://...
1
vote
0answers
29 views

ERROR: Your feed is invalid (after update WP4.7) in custom types

i have created a new custom type “companias” with pods framework plugin , this custom type have this own website with its feed news, and other custom post types i have created. For example “fercam” ...
0
votes
1answer
75 views

fetch_feed Performance Issue

I am creating site very similar to alltop.com My home page use fetch_feed function 20 times for 20 different blogs. Using wp_feed_cache_transient_lifetime I have set cache time to 2 hours. My ...
0
votes
2answers
599 views

Update postdata without creating duplicate on wp_insert_post from RSS feed

I am importing an rss feed from a job listing site and creating a post for each listing i import with wp_insert_post to save the data and display expired listings in an archive later. I need a ...
0
votes
1answer
47 views

WordPress feed only shows first page of category

I'm having an issue with the WordPress feed for a custom post type I have. When I go to my feed at: www.mysite.com/feed/?post_type=type I get only the first 10 posts, not the full list. I basically ...
1
vote
1answer
496 views

Add ![CDATA] to permalink rss

in the next part of adding ![CDATA] to title tag as you can see by the link below WordPress Add [cdata] to title tag in rss feed now i am trying to add ![CDATA] to the link tag using ...
1
vote
1answer
898 views

WordPress Add [cdata] to title tag in rss feed

i have this feed http://www.jobseeker.gr/?feed=job_feed and i want to adding [CDATA] to title tag. I try to add this to functions.php but with no luck. add_filter('the_title_rss', '...
0
votes
2answers
1k views

Dynamically Create Posts Via XML File

I'm new to wordpress/php and I'm trying to create new posts dynamically through a xml file. The xml I'm working with is this one. The file get updated periodically during the day in a FILO fashion (...
0
votes
1answer
200 views

How to generate feed for custom template

I created a custom template with its own custom query. Use case: a page for just sticky posts. Added sticky.php to the theme with /** * Template Name: Sticky */ and the following loop: $query = ...
3
votes
1answer
2k views

How to remove published date <pubDate> from RSS feed

I've removed dates from my theme because all of my content is evergreen. The dates aren't visible to visitors or search engine crawlers on the site. But people can still see dates in my RSS feed with ...
1
vote
0answers
38 views

Server stressed by /feed

I'm debugging a website that my friend has hosted on a VPS that should be perfectly capable of handling a Wordpress installation that gets ~2m monthly visitors. During the last few months, his uptime ...
3
votes
1answer
3k views

How to get the last updated date of a post from a WP RSS feed?

I have a third party tool which extracts feed content from our WordPress site, via our RSS feed: http://ontariotravelblog.com/feed The feed provides me with everything I need, except for the last ...

1
2
3 4 5
8