RSS Post Importer - Version 2.0.1

Version Description

Download this release

Release Info

Developer feedsapi
Plugin Icon 128x128 RSS Post Importer
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0 to 2.0.1

app/assets/img/rss-post-importer_280x600.jpg CHANGED
Binary file
app/class-rss-post-importer.php CHANGED
@@ -79,7 +79,8 @@ class rssPostImporter {
79
 
80
  // initialise admin and cron
81
  $this->cron = new rssPICron();
82
-
 
83
  $this->admin = new rssPIAdmin();
84
  $this->admin->init();
85
  }
79
 
80
  // initialise admin and cron
81
  $this->cron = new rssPICron();
82
+ $this->cron->init();
83
+
84
  $this->admin = new rssPIAdmin();
85
  $this->admin->init();
86
  }
app/classes/helpers/class-rss-pi-parser.php CHANGED
@@ -29,7 +29,6 @@ class rssPIParser {
29
 
30
  // do all the replacements
31
  $parsed_content = preg_replace('/\{\$content\}/i', $c, $post_template);
32
- $parsed_content = preg_replace('/\{\$permalink\}/i', '<a href="' . esc_url($item->get_permalink()) . '" target="_blank">' . $item->get_title() . '</a>', $parsed_content);
33
  $parsed_content = preg_replace('/\{\$feed_title\}/i', $feed_title, $parsed_content);
34
  $parsed_content = preg_replace('/\{\$title\}/i', $item->get_title(), $parsed_content);
35
 
@@ -40,6 +39,9 @@ class rssPIParser {
40
  if ($strip_html == 'true') {
41
  $parsed_content = strip_tags($parsed_content);
42
  }
 
 
 
43
 
44
  $parsed_content = apply_filters('after_rss_pi_parse_content', $parsed_content);
45
 
29
 
30
  // do all the replacements
31
  $parsed_content = preg_replace('/\{\$content\}/i', $c, $post_template);
 
32
  $parsed_content = preg_replace('/\{\$feed_title\}/i', $feed_title, $parsed_content);
33
  $parsed_content = preg_replace('/\{\$title\}/i', $item->get_title(), $parsed_content);
34
 
39
  if ($strip_html == 'true') {
40
  $parsed_content = strip_tags($parsed_content);
41
  }
42
+
43
+ $parsed_content = preg_replace('/\{\$permalink\}/i', '<a href="' . esc_url($item->get_permalink()) . '" target="_blank">' . $item->get_title() . '</a>', $parsed_content);
44
+
45
 
46
  $parsed_content = apply_filters('after_rss_pi_parse_content', $parsed_content);
47
 
index.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin URI: https://wordpress.org/plugins/rss-post-importer/
6
  Description: This plugin lets you set up an import posts from one or several rss-feeds and save them as posts on your site, simple and flexible.
7
  Author: feedsapi
8
- Version: 2.0
9
  Author URI: https://www.feedsapi.org/
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -28,7 +28,7 @@ if (!defined('RSS_PI_BASENAME')) {
28
  }
29
 
30
  if (!defined('RSS_PI_VERSION')) {
31
- define('RSS_PI_VERSION', '2.0');
32
  }
33
 
34
  if (!defined('RSS_PI_LOG_PATH')) {
5
  Plugin URI: https://wordpress.org/plugins/rss-post-importer/
6
  Description: This plugin lets you set up an import posts from one or several rss-feeds and save them as posts on your site, simple and flexible.
7
  Author: feedsapi
8
+ Version: 2.0.1
9
  Author URI: https://www.feedsapi.org/
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
28
  }
29
 
30
  if (!defined('RSS_PI_VERSION')) {
31
+ define('RSS_PI_VERSION', '2.0.1');
32
  }
33
 
34
  if (!defined('RSS_PI_LOG_PATH')) {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: rss, feeds, import, feed, autoblog, feed aggregation, rss-feed, aggregatio
5
  RSSImport, yahoo pipes, WP Pipes, Import XML feed , FeedSyndicate, RSSpost, RSS in Page
6
  Requires at least: 3.5
7
  Tested up to: 4.0
8
- Stable tag: 2.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -13,7 +13,7 @@ RSS Post Importer is the Most Powerful & Easy to use WordPress RSS Aggregator pl
13
 
14
  == Description ==
15
 
16
- **This is the Best WordPress Plugin for Syndicating, Importing, Merging and Displaying Full Text RSS and Atom feeds on your WordPress Blog.**
17
 
18
 
19
 
@@ -75,6 +75,10 @@ WP-o-Matic , WP-o-Matic, RSSImport, FeedWordPress, Syndicate Press, FeedWeb, RSS
75
 
76
  == Change Log ==
77
 
 
 
 
 
78
  = Version 2.0 =
79
  * Re-factored and rewritten almost all code
80
  * Fixed featured image and shortcode placeholders
5
  RSSImport, yahoo pipes, WP Pipes, Import XML feed , FeedSyndicate, RSSpost, RSS in Page
6
  Requires at least: 3.5
7
  Tested up to: 4.0
8
+ Stable tag: 2.0.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
13
 
14
  == Description ==
15
 
16
+ **This is the Best WordPress Plugin for Syndicating, Importing, Curating, Merging and Displaying Full Text RSS and Atom feeds with Featured Images on your WordPress Blog.**
17
 
18
 
19
 
75
 
76
  == Change Log ==
77
 
78
+ = Version 2.0.1 =
79
+ * Fixed cron error
80
+ * Fixed permalink placeholder truncation
81
+
82
  = Version 2.0 =
83
  * Re-factored and rewritten almost all code
84
  * Fixed featured image and shortcode placeholders