To fix on php 7, edit the rss-importer.php plugin, line 72 from:
set_magic_quotes_runtime(0);
to:
if(get_magic_quotes_runtime()) {
set_magic_quotes_runtime(0);
}
set_magic_quotes_runtime was deprecated in PHP 7 hence the breaking of the plugin, hopefully someone can release an update for it.
]]>I ran the PHP Compatibility Checker for PHP 7 and found this plugin had an error and warning. Can you please help me address and resolve the issue or recommend another to replace it if this plugin will no longer be supported? The following is the error and warning details on the report:
FILE: /home2/pruppel/public_html/wp-content/plugins/rss-importer/rss-importer.php
———————————————————————————————————–
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
———————————————————————————————————–
71 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
212 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
———————————————————————————————————–
Thank You
Pat
[Signature links removed by moderator per forum guidelines.]
Receive the following warning followed by a very long list of files even on a freshly downloaded version of WordPress from the repository.
hashes-4.8.php missing
The file containing hashes of all WordPress core files appears to be missing; modified core files will no longer be detected and a lot more suspicious strings will be detected
Here’s the error:
Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /path/to/site/wp-content/plugins/rss-importer/rss-importer.php:71
Stack trace: #0 /path/to/site/wp-content/plugins/rss-importer/rss-importer.php(177): RSS_Import->get_posts()
#1 /path/to/site/wp-content/plugins/rss-importer/rss-importer.php(203): RSS_Import->import()
#2 /path/to/site/wp-admin/admin.php(308): RSS_Import->dispatch()
#3 {main} thrown in /path/to/site/wp-content/plugins/rss-importer/rss-importer.php on line 71
Based on this StackOverflow thread, I updated that line to the following snippet and the plugin ran ok:
if (version_compare(PHP_VERSION, '5.3.0', '<')) {
set_magic_quotes_runtime(0);
}
With that change, the plugin did appear to work ??
]]>Hi ,
I just want to share the solution to my problem.
When i import the rss…
The categories were created but the title stayed empty.
I modified the code like this and it worked fine.
You just need to find this line foreach ($categories as $category) {
under the line you should find and replace the line $categories[$cat_index] = $wpdb->escape( html_entity_decode( $category ) );
by this one : $categories[$cat_index] = str_replace(array('<![CDATA[', ']]>'), '', $wpdb->escape( trim($category) ));
Hope this can help.
Cécile
I’m using RSS Importer in my website and I get the following:
Warning: getimagesize(https://www.wprost.pl/F/pic.php?w140=1&T=news&P=309932): failed to open stream: no suitable wrapper could be found in /home/mhd-01/www.turkawka.com/htdocs/wp/wordpress/wp-content/plugins/wp-rss-retriever/wp-rss-retriever.php on line 155
Any ideas of the problem?
]]>Deprecated: Function set_magic_quotes_runtime() is deprecated in /wp-content/plugins/rss-importer/rss-importer.php on line 71
]]>Hi, our requirement is different,
directly import in woocommerce as product
please let me know can we direct import product in woo-commerce via RSS/XML/JSON ?
Or Import product in woo-commerce from other websites with same base on woocommerce other platform like magento,opencart,prestashop?
or please add this feature in next version, its our suggestion
]]>Hi,
How to import custom RSS Tag ? I want to import <tor:note>
Thanks !
]]>When I click on Settings under installed plugins RSS Post Importer the plugin will not open. This happens any way I try to open the settings.
]]>Step 1 of the readme.txt install instructions is missing an opening backtick before the name of the plugin directory.
]]>I’m using the latest version of Firefox. ON this page:
https://thealexandriahouse.com/prices/
The down arrow reveals more content on the first group of articles. When I click “show more content” the “reveal-arrow” doesn’t function on the newly loaded content.
Also it would be very handy if I could alter the “show more content” text in the admin panel.
]]>Is this plugin safe. The last update was in 2012. Will we get an update soon?
]]>I’m wondering what tags I would need to provide in my RSS feed so that I can import the Creatores and Categories metadata into my WordPress site along with the posts.
I can’t seem to find any documentation for this.
Philip
]]>I would like to delete a category, but can not figure out how. Is that even possible?
]]>Hi there,
I’m having trouble importing a large RSS file into WordPress (1000 complete articles), using this RSS tool.
Even though the <link> I want to preserve is specified in the XML file, WP simply adds its default URL, e.g. ?p=6 URL at the end.
All the rest of the content is imported perfectly.
Any ideas how I can preserve the current URLs on import?
Many thanks!
]]>Is there a way to disable all the links in the feed. All of them, including the very first one that leads to the feed source?
It would be a plus if it could also still keep the html form.
Cheers.
JL
Hi,
This question has been asked before but I’ve got a solution.
Open the rss-importer.php and find the line that says
$post_author = 1
And replace with this code:
preg_match('|<dc:creator>(.*?)</dc:creator>|is', $post, $get_post_author);
$post_author_name = sanitize_user($wpdb->escape( html_entity_decode( trim( $get_post_author[1] ) ) ));
$post_author = username_exists( $post_author_name );
if (!$post_author) {
$random_password = wp_generate_password( $length=12, $include_standard_special_chars=false );
$post_author = wp_create_user( $post_author_name, $random_password, $post_author_name."@xxxxxxx.com");
}
It’ll create a new user for each distinct username passed, with a fake email address.
]]>Hello,
I’m working on migrating my custom website to WordPress. I create RSS from my database, and use RSS Importer to import the content to WP.
However, some items in the RSS can not be imported. I think the problem is the excessive size of the article. Is there a maximum size limit for the <description> tag?
thanks for your great work!
]]>Where are the imports (xml files located) using Rss Importer…I can’t find my imports, the importer, it just said have fun an disappeared!!
]]>I am trying to transfer my old blog posts from Webs.com (about 300 posts) to my new WordPress blog but I used the RSS importer and only the last 10 showed up. Is there a way to transfer all of it?
]]>(1) I have an RSS feed w/ Google feedburner.
(2) I exported an opml file of my feed.
(3) I saved it on my computer.
(4) I installed the “RSS Importer” plugin.
(5) I clicked “Import”, then clicked “RSS Importer”
(6) I choose the opml file
(7) I clicked the “Upload and Import” button.
(8) A screen shows up w/ the following message: “All Done. Have Fun”.
(9) I clicked on “All Posts” only to see nothing!
(10) I installed the “Improved RSS Importer” plugin.
(11) I clicked “Import”, then clicked “Improved RSS Importer”
(12) I choose the opml file
(13) I clicked the “Upload and Import” button.
(14) A screen shows up w/ the following message: “All Done. Have Fun”.
(15) I clicked on “All Posts” only to see NOTHING!
Am I missing something? These plugins have been downloaded thousands of times, yet there are few complaints about them in the forum. This leads me to believe that lots of people have been successful in using them.
Can someone please explain what I’m doing wrong?
Thanks.
]]>The plugin author “wordpressdotorg” has several plugins listed. The plugin “RSS Importer” has a very poor description, and I’d expect much better if this is an official plugin.
Is the author really associated with www.remarpro.com?
]]>Hi folks,
Just wondering if there is any way I can put the new posts as “pending review” when the RSS feed is imported??
]]>Halts after upload, with no error message, when uploading a 1.2M rss feed. Fresh install, no other plugins are active, 30M php mem limit.
]]>Trying to import using a FeedBurner generated feed, all posts are completely ignored. It says “All done… Enjoy!” but there is nothing done and nothing to enjoy ;(
]]>I have translated the latest version of this plugin to Spanish and want to know how I can send the author for inclusion in the next version
]]>Currently this will assign all posts to author 1 — but the rss file has a creator tag in it — can that be used to create users and assign the posts?
]]>