Ongage can’t verify our RSS feed anymore. Getting this error:
Opening and ending tag mismatch error
AI says:
The problem with your RSS feed lies in the XML content, specifically in the <![CDATA[]]>
sections that include <script>
tags.
I have a multi-store e-commerce in a multi-language and when I generate the post feeds for each of the stores, in some countries, such as France. There are characters that are not interpreted correctly and cause them to be displayed incorrectly on the page.
Ex: L’ acide glycolique, un allié de choix pour la peau : qu’ ;est-ce que c’est, et à quoi sert-il
Correct form: L’acide glycolique, un allié de choix pour la peau: qu’est-ce que c’est, et à quoi sert-il
]]>please ask the author if he could make an update of the plugin which I love very much
]]>Dear [Developer’s /Support Team],
I hope this message finds you well. I am currently utilizing your Custom Simple RSS plugin for my WordPress site, which has been instrumental in enhancing my site’s RSS feed functionality. However, I’ve encountered a challenge that I hope to get your assistance with.
My goal is to include specific custom content at the end of each RSS feed item. Specifically, I want to add a section that recommends news and includes hyperlinks to the three latest articles. Additionally, I aim to incorporate a hyperlink to the original article within each RSS feed item.
Despite attempting to integrate this functionality by adding custom code to my theme’s functions.php file, it appears that the Custom Simple RSS plugin is filtering out my customizations. I suspect there might be a conflict or an override happening due to the plugin’s built-in functionalities.
Could you please provide guidance or a method to achieve the following requirements without my custom code being filtered out?
I encountered parameters such as csrp_meta_key
, csrp_meta_value
, csrp_meta_type
, and csrp_meta_compare
in the documentation, which seem relevant but I’m unsure how to apply them effectively for my use case.
Any insights, code snippets, or directions on how to utilize your plugin’s filters (if available) to accommodate these customizations would be greatly appreciated.
Thank you very much for your time and assistance. I look forward to your guidance and continuing to use your excellent plugin on my site.
The function I specified can be displayed normally in WordPress’s preset RSS, but using the custom simple RSS plug-in will filter out my function.
function add_custom_links_to_rss_feed($content) {
if(is_feed()) {
global $post; // 全域變量,用於訪問當前文章的信息
// 初始化自訂內容,添加當前文章的原始連結
$custom_content = $content;
$custom_content .= "<p><a href='" . get_permalink($post->ID) . "'>閱讀原文</a></p>";
$custom_content .= '<h3>看更多 記者爆料網 新聞</h3><ul>';
// 獲取最新的三篇文章
$recent_posts = wp_get_recent_posts(array(
'numberposts' => 3, // 文章數量
'post_status' => 'publish' // 僅已發布的文章
));
// 遍歷這些文章,添加到自訂內容中
foreach($recent_posts as $post) {
$post_id = $post['ID'];
$post_title = esc_html($post['post_title']);
$post_url = get_permalink($post_id);
$custom_content .= "<li><a href='{$post_url}'>{$post_title}</a></li>";
}
$custom_content .= '</ul>';
// 返回包含原始連結和新文章列表的內容
return $custom_content;
} else {
return $content;
}
}
// 將函數掛鉤到RSS feed內容的過濾器
add_filter('the_content_feed', 'add_custom_links_to_rss_feed');
add_filter('call_custom_simple_rss','plugin_action_links');
Best regards,
]]>Hello
I need to have a custom feed for news (so posts feed) and for events (with theeventcalendar plugin”), is it possible ?
For events can I customize the output for published date, start and end date… to have tag ie : <start-date>…</start-date>
Your plugin works on php 8.2… ?
Thanks
]]>I have used the plugin Custom Simple RSS. The below link is working when we set up the plugin settings with custom post type=”post”,
https://stagingstatic.syncfusion.com/web-stories?call_custom_simple_rss=1&csrp_cat=9
when using custom post type =web-story, the above type of link is not working
Please help me to resolve this.
Thanks
Lalitha T.
]]>This plugin was last updated 1 year 11 months ago and tested up to WordPress 5.7.8.
It does seem to sill work.
Will there be a version update soon?
]]>Lots of warnings in the feed after upgrading to php8:
Warning: Trying to access array offset on value of type bool in /home/www/wpbkh/wp-content/plugins/custom-simple-rss/custom-simple-rss.php on line 730
Warning: Trying to access array offset on value of type bool in /home/www/wpbkh/wp-content/plugins/custom-simple-rss/custom-simple-rss.php on line 731
Warning: Trying to access array offset on value of type bool in /home/www/wpbkh/wp-content/plugins/custom-simple-rss/custom-simple-rss.php on line 732
Warning: Cannot modify header information – headers already sent by (output started at /home/www/wpbkh/wp-content/plugins/custom-simple-rss/custom-simple-rss.php:730) in /home/www/wpbkh/wp-content/plugins/custom-simple-rss/custom-simple-rss.php on line 292
]]>Hi buddy. It took me a while to get the hang of it but I made it work. I got most parameters working except the most important, the category parameter! This is what I have which is working https://xtremeplatform.com?call_custom_simple_rss=1&csrp_thumbnail_size=full&csrp_posts_per_page=2 however when I add the post category id, it doesn’t work… https://xtremeplatform.com?call_custom_simple_rss=1&csrp_thumbnail_size=full&csrp_posts_per_page=2&csrp_cat=329
You can verify this category id is valid here https://tinyurl.com/277uktjm – Can you please help??
I want to start by saying this is a great plugin. I’m so happy that I discovered it.
The one minor issue that I wanted to mention is how categories show in the feed. What is shown is <category>82</category>
rather than <category><![CDATA[Crime]]></category>
.
It is not that big of a deal, but the actual name would be more useful.
]]>I’m trying to set up an rss feed that features the standard fields plus ONE custom field.
I can show ALL custom fields easily, but cannot seem to get the just the one.
Any tips?
]]>I’ve been looking for a plugin like this but yours has not been updated in a while. Has this plugin been abandoned?
]]>Hello,
how can I remove […] in RSS feed from description?
Thank you so much
]]>Hello, I’m working with the plugin and see you can specify posts per page – but am unsure of how to get to page #2 (for offsetting the data). Can you help?
eg. I’m using the Google Sheets IMPORTFEED() function which limits to 250. I’d like to figure out how to start at 251 for my second dataset to work around the Google Sheets function limit.
]]>I’ve looked at the php syntax written by the engineer and it’s fine, but the rss display of the pubdate is incomplete. Some of them disappear and only +0800 remains.
Does anyone know what the problem is?
Here is the engineer’s syntax, I have looked at it for a long time and have tried many ways but cannot change it. The company requires the use of pubdate syntax.
Can anyone help me? Thank you.
—————————————————–
<?php
/*
Template Name: xml Feed
*/
header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
echo '<?xml version="1.0" encoding="utf-8"?>';
?>
<rss version="2.0">
<channel>
<title><![CDATA[Wownews RSS 影劇娛樂]]></title>
<language>zh_tw</language>
<link>https://www.wownews.tw</link>
<generator>rss_generator</generator>
<description><![CDATA[Wownews RSS 影劇娛樂]]></description>
<?php $experience= new WP_Query( array ( 'post_type' => 'post','posts_per_page' => 10));?>
<?php while($experience->have_posts()) : $experience->the_post();
$featured_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID, 'thumbnail') );
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' );
$thumb_id = get_post_thumbnail_id();
$thumb_url_array = wp_get_attachment_image_src($thumb_id, 'thumbnail-size', true);
$thumb_url = $thumb_url_array[0];
$imageurl = apply_filters( 'jetpack_photon_url', $thumb_url );
?>
<item>
<title><![CDATA[<?php the_title();?>]]></title>
<description><![CDATA[<?php the_content();?> ]]></description>
<pubDate><?php the_date( 'd, D F Y H:i:s' ); ?> +0800</pubDate>
<link><?php the_permalink();?></link>
<enclosure url="<?php echo $imageurl;?>" />
</item>
<?php endwhile; ?>
</channel>
</rss>
]]>
Hello
If i use option custom feed thumbail to yes
the balise ecnlosure
is OK
But I want to add to tthings : lenght and type like this
<enclosure url=https://www.mywebsite.fr/wp-content/uploads/2016/04/Drapeaux.jpg length=="xxxxx" type="image/jpeg"/>
where xxx is image size
How to do this ?
Thanks a lot
can’t get sorting to work – i’ve tried to orderby different fields and nothing works. trying to get rand to work but doesn’t seem to work for any type of sorting order.
]]>I’m not getting what I expect with a filter after 1 day ago. It’s giving me 10 posts, even though I only put up 6 today. I found that hours works, but if I put 24 hours, it gives me the 10 posts again (even though some are older than 24 hours). If I do 16 hours, it only gives me today.
How does this work?
]]>This plugin does everything I was looking for… except I’m using it to create emails using Zoho Campaigns, that app doesn’t recognize the featured images/thumbnails. I think it’s looking for an img tag in the description and/or content CDATA. (It gets the images when I’m just using a plugin that adds featured images to the generic feed.) Is there any way to get around this?
]]>I have a feed that is displaying the post info fine, but I have custom fields that I need the actual data with file names/content to display and not the metadata ID. Below is what is returned and I am hoping you can let me know how to adjust to get the actual data instead. thanks in advance
<dc:dataset>
<_edit_lock>1634097531:1763</_edit_lock>
<_edit_last>1763</_edit_last>
<_thumbnail_id>68844</_thumbnail_id>
<_ning_settings>a:1:{s:9:”allow_ads”;s:1:”1″;}</_ning_settings>
<_pods_video_news_file>a:1:{i:0;i:68837;}</_pods_video_news_file>
<_pods_video_news_file_captions>a:1:{i:0;i:68830;}</_pods_video_news_file_captions>
<_yoast_wpseo_primary_category>49</_yoast_wpseo_primary_category>
<_yoast_wpseo_content_score>90</_yoast_wpseo_content_score>
<_yoast_wpseo_estimated-reading-time-minutes></_yoast_wpseo_estimated-reading-time-minutes>
<_wp_old_date>2021-10-12</_wp_old_date>
<video_news_file>68837</video_news_file>
<video_news_file_captions>68830</video_news_file_captions>
<post_parent>0</post_parent>
<menu_order>0</menu_order>
</dc:dataset>
Hi there,
I thought I’d let you know that this plugin has problems with PHP 8.0, feeds don’t work properly, and attempts to access the feed result in this error message:
?call_custom_simple_rss=1&csrp_cat=12/ is invalid XML, likely due to invalid characters. XML error: Invalid document end at line 2, column 1
This is a great plugin, I’ve just reverted to PHP7.4 until this is fixed
]]>I am trying to filter my feed by two different meta values, where our site about voter redistricting where we need to filter by a single value in “state” (where state = 85) and where another thing is true (“congressional” = 1).
As I test these links, it seems like the last filter in the string is the one that gets applied, and the other one is ignored.
Congressional first, state second:
https://redistricting.lls.edu/?call_custom_simple_rss=1&csrp_posts_per_page=5&csrp_show_meta=1&csrp_meta_key=congressional&csrp_meta_value=1&csrp_meta_key=states_0_state&csrp_meta_value=85
This returns all updates where state=85, but ignores congressional
State first, congressional second:
https://redistricting.lls.edu/?call_custom_simple_rss=1&csrp_posts_per_page=5&csrp_show_meta=1&csrp_meta_key=states_0_state&csrp_meta_value=85&csrp_meta_key=congressional&csrp_meta_value=1
This one brings in all posts where congressional = 1, but for any state.
How can I “AND” together two different meta_value queries?
]]>Hi,
I would like to use your plugin, but when checking the resulting url, it says that the “Feed does not validate”, and a whole bunch of errors.
Used https://validator.w3.org/feed/ to check the url ../?call_custom_simple_rss=1
How to get valid rss code from your plugin?
Where do I miss?
I try to display posts from the apartment category that is in estate_property cpt, but I see all the estate properties and not just the apartments.
(apartment=465)
(post type= estate_property)
I tried:
?call_custom_simple_rss=1&csrp_tax=465
?call_custom_simple_rss=1&csrp_post_type=estate_property&csrp_tax_name=apartment
?call_custom_simple_rss=1&csrp_post_type=estate_property&csrp_tax=465
]]>Can I use this plugin to create an RSS feed that will display both pages and posts (as well as other content types)?
And, can I add specific pages or specific posts to a feed, by ID?
Thanks,
Gary
Your tool is amazing. Saved me tons of time. One small question. Is it possible to substitute the category ID with the category name?
<channe>
<item>
<title>
<category>266</category>
<category>272</category>
<category>155</category>
with
<category>Name 1</category>
<category>Name 2</category>
<category>Name 3</category>
I want to exclude posts by a tag “norss”. I see how to exclude by category, but not by tag.
I tried this:
?call_custom_simple_rss=1&csrp_tax_name=norss&csrp_tax_term_id=-164
with no luck and I tried the inverse to see if I could pull just that one tag with this:
?call_custom_simple_rss=1&csrp_tax_name=norss&csrp_tax_term_id=164
with no luck
]]>I have tried to use it in woocommerce without success.
is there any way to work with Woocommerce and include in the options the price of the product?
Hi,
I want to know, is it possible with this plugin to create feed for this page of my site? My page isnt a blog. I have some listings and I want to take 10 last published ads and appear them to my other site.
Thanks!
How do I only display title, _company_name, _job_salary, _job_location, category name, and excerpt?
]]>