RSSImport - Version 4.4.14

Version Description

Download this release

Release Info

Developer took77
Plugin Icon wp plugin RSSImport
Version 4.4.14
Comparing to
See all releases

Code changes from version 4.4.13 to 4.4.14

Files changed (3) hide show
  1. languages/rssimport-de_DE.po +1 -1
  2. readme.txt +76 -67
  3. rssimport.php +85 -13
languages/rssimport-de_DE.po CHANGED
@@ -314,7 +314,7 @@ msgstr "Ausgabe/Rückgabe:"
314
  #: rssimport.php:0
315
  #@ rssimport
316
  msgid "Import and display Feeds in your blog, use the function RSSImport(), a Widget or Shortcode [RSSImport]. Please see the new <a href=\"http://wordpress.org/extend/plugins/rss-import/\">possibilities</a>."
317
- msgstr "Importiert und stellt eine Feed in deinem Blog dar, nnutze die Funktion RSSImport(), ein Widget oder den Shortcode [RSSImport]. Bitte schaue dir die <a href=\"http://wordpress.org/extend/plugins/rss-import/\">Möglichkeiten</a> an."
318
 
319
  #. translators: plugin header field 'Name'
320
  #: rssimport.php:0
314
  #: rssimport.php:0
315
  #@ rssimport
316
  msgid "Import and display Feeds in your blog, use the function RSSImport(), a Widget or Shortcode [RSSImport]. Please see the new <a href=\"http://wordpress.org/extend/plugins/rss-import/\">possibilities</a>."
317
+ msgstr "Importiert und stellt eine Feed in deinem Blog dar, nutze die Funktion RSSImport(), ein Widget oder den Shortcode [RSSImport]. Bitte schaue dir die <a href=\"http://wordpress.org/extend/plugins/rss-import/\">Möglichkeiten</a> an."
318
 
319
  #. translators: plugin header field 'Name'
320
  #: rssimport.php:0
readme.txt CHANGED
@@ -1,77 +1,79 @@
1
  === RSSImport ===
2
- Contributors: Bueltge, inpsyde, novaclic
3
- Plugin URI: http://bueltge.de/wp-wartungsmodus-plugin/101/
4
  Author: Frank B&uuml;ltge
5
  Author URI: http://bueltge.de/
6
  Donate link: http://bueltge.de/wunschliste/
7
  Tags: rss, post, content, post, feed
8
  Requires at least: 1.5
9
- Tested up to: 3.7-alpha
10
- Stable tag: 4.4.13
11
 
12
- Import and display Feeds in your blog, use PHP or the Shortcode.
13
 
14
  == Description ==
15
- Import and display Feeds in your blog, use PHP, a Widget or the Shortcode. The plugin use the standards of WordPress, non extra library; use [MagpieRSS](http://magpierss.sourceforge.net/) or [SimplePie](http://simplepie.org/) for parse feeds.
 
 
16
 
17
- Use following code with a PHP-Plugin or in a template, example `sidebar.php` or `single.php`, for WordPress:
18
 
19
  _Example:_
20
  `&lt;?php RSSImport(10, 'http://bueltge.de/feed/'); ?&gt;`
21
 
22
- This is smallest code for use the plugin with your own feed-url. The plugin have many parameters for custom import of content form a feed. See the list of parameters. You can also use all parameters with shorcode in posts and pages.
23
-
24
- _Example for Shortcode:_
25
- [RSSImport display="5" feedurl="http://bueltge.de/feed/"]
26
-
27
- For all boolean parameter it is possible to use the string `true` or `false` or the integer value `0` or `1`.
28
-
29
- 1. `display` - How many items, Default is `5`
30
- 1. `feedurl` - Feed-Adress, Default is `http://bueltge.de/feed/`
31
- 1. `before_desc` - string before description, Default is `empty`
32
- 1. `displaydescriptions` - (bool) true or false for display description of the item, Default is `false`
33
- 1. `after_desc` - string after description, Default is `empty`; you can use the follow strings for custom html `%title%` for title of entry and `%href%` for link of entry
34
- 1. `html` - (bool) display description include HTML-tags, Default is `false`
35
- 1. `truncatedescchar` - truncate description, number of chars, Default is `200`, set the value to empty `''` for non truncate
36
- 1. `truncatedescstring` - string after truncate description, Default is ` ... `
37
- 1. `truncatetitlechar` - (int) truncate title, number of chars, Default is `empty`, set a integer `50` to the value for truncate
38
- 1. `truncatetitlestring` - string after truncate title, Default is `' ... '`
39
- 1. `before_date` - string before date, Default is ` <small>`
40
- 1. `date` - (bool) return the date of the item, Default is `false`
41
- 1. `after_date` - string after the date, Default is `</small>`
42
- 1. `date_format`- your format for the date, leave empty for use format of your WordPress installation, alternativ give the php date string, Example: `F j, Y`; see also [doku in Codex](http://codex.wordpress.org/Formatting_Date_and_Time)
43
- 1. `before_creator` - string before creator of the item, Default is ` <small>`
44
- 1. `creator` - (bool) return the creator of th item, Default is `false`
45
- 1. `after_creator` - string after creator of the item, Default is `</small>`
46
- 1. `start_items` - string before all items, Default is `<ul>`
47
- 1. `end_items` - string after all items, Default is `</ul>`
48
- 1. `start_item` - string before the item, Default is `<li>`
49
- 1. `end_item` - string after the items, Default is `</li>`
50
- 1. `target` - string with the target-attribut, Default is `empty`; use `blank`, `self`, `parent`, `top`
51
- 1. `rel` - string with the rel-attribut, Default is `empty`, use string, `nofollow`, `follow`
52
- 1. `desc4title` - Use description for the title-attribut on the title-link, Default is `false`
53
- 1. `charsetscan` - Scan for charset-type, load slowly; use this for problems with strings on the return content, Default is `false`
54
- 1. `debug` - activate debug-mode, echo the array of Magpie-Object; Default is `false`, Use only for debug purpose
55
- 1. `before_noitems` - HTML or string before message, when the feed is empty, Default is `<p>`
56
- 1. `noitems`- Message, when the feed is empty, Default is `No items, feed is empty.`
57
- 1. `after_noitems` - HTML or string before message, when the feed is empty, Default is `</p>`
58
- 1. `before_error` - HTML or string before message, when the feed have an error, Default is `<p>`
59
- 1. `error` - Errormessage, Default is `Error: Feed has a error or is not valid`
60
- 1. `after_error` - HTML or string before message, when the feed have an error, Default is `</p>`
61
- 1. `paging` - Pagination on, set `TRUE`, Default is `FALSE`
62
- 1. `prev_paging_link` - Linkname for previous page, Default is `&laquo; Previous`
63
- 1. `next_paging_link` - Linkname for next page, Default is `Next &raquo;`
64
- 1. `prev_paging_title` - Title for the link of previous page, Default is `more items`
65
- 1. `next_paging_title` - Title for the link of next page, Default is `more items`
66
- 1. `use_simplepie`- Use the class SimplePie for parse the feed; SimplePie is include with WordPress 2.8 and can parse RSS and ATOM-Feeds, Default is `false`
67
- 1. `view` - echo or return the content of the function `RSSImport`, Default is `true`; Shortcode Default is `false`
68
-
69
- The pagination function add a div with the class `rsspaging` for design with CSS. Also youcan style the previous and next link with the classes: `rsspaging_prev` and `rsspaging_next`.
70
-
71
- All parameters it is possible to use in the function, only in templates with PHP, and also with the Shortcode in posts and pges.
 
72
 
73
  = Examples: =
74
- _The function with many parameters:_
75
 
76
  RSSImport(
77
  $display = 5, $feedurl = 'http://bueltge.de/feed/',
@@ -83,25 +85,32 @@ _The function with many parameters:_
83
  $start_item = '<li>', $end_item = '</li>'
84
  )
85
 
86
- _The shortcode with a lot of parameters:_
 
 
87
 
88
  [RSSImport display="10" feedurl="http://your_feed_url/"
89
  displaydescriptions="true" html="true"
90
- start_items="<ol>" end_items="</ol>" paging="true" ]
91
 
92
 
93
  == Installation ==
94
- 1. Unpack the download-package
95
- 1. Upload all files to the `/wp-content/plugins/` directory
96
- 1. Activate the plugin through the 'Plugins' menu in WordPress
97
- 1. Create a new site in WordPress or edit your template
98
- 1. Copy the code in site-content or edit templates
99
 
100
 
101
  == Screenshots ==
102
  1. Widget support
103
 
104
  == Changelog ==
 
 
 
 
 
105
  = v4.4.13 (08/22/2013) =
106
  * Set simplepie to default settings; is the default way of WP since lot of versions
107
  * Fix for Quicktag on Post/Page Editor; use now the core functions, there we have since WP 3.3
@@ -183,8 +192,8 @@ Thanks to [Dave Wolf](http://www.davewolf.net, "Dave Wolf") for the idea, to [Th
183
  * Lithuanian translation files by [Vincent G](http://www.host1plus.com)
184
  * Portuguese translation files by [Miguel Patricio Angelo](http://www.miguelpatricio.com/)
185
 
186
- = Licence =
187
- Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you can thank me and leave a [small donation](http://bueltge.de/wunschliste/ "Wishliste and Donate") for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)
188
 
189
  = Translations =
190
  The plugin comes with various translations, please refer to the [WordPress Codex](http://codex.wordpress.org/Installing_WordPress_in_Your_Language "Installing WordPress in Your Language") for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the sitemap.pot file which contains all defintions and may be used with a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) (Windows).
1
  === RSSImport ===
2
+ Contributors: Bueltge, inpsyde, novaclic, took77
3
+ Plugin URI: http://bueltge.de/wp-rss-import-plugin/55/
4
  Author: Frank B&uuml;ltge
5
  Author URI: http://bueltge.de/
6
  Donate link: http://bueltge.de/wunschliste/
7
  Tags: rss, post, content, post, feed
8
  Requires at least: 1.5
9
+ Tested up to: 3.9.2
10
+ Stable tag: 4.4.14
11
 
12
+ Import and display feeds on your blog, using PHP in your templates or Shortcode in your posts and pages.
13
 
14
  == Description ==
15
+ Import and display feeds in your blog, using PHP, a Widget or Shortcode. The plugin uses only standard WordPress functionality, so no external libraries are required. For older versions of Wordpress, the built-in [MagpieRSS library](http://magpierss.sourceforge.net/) is used. For WordPress 2.8 and newer, there is a setting available to enable the built-in [SimplePie library](http://simplepie.org/) for parsing feeds.
16
+
17
+ You can insert the following code into a PHP plugin or in a template, for example `sidebar.php` or `single.php`:
18
 
 
19
 
20
  _Example:_
21
  `&lt;?php RSSImport(10, 'http://bueltge.de/feed/'); ?&gt;`
22
 
23
+ This is the minimal code needed for using the plugin. The plugin accepts a number of parameters for customizing the feed content import. See below for the full list of available parameters. You can also use any of the parameters with Shortcode in posts and pages.
24
+
25
+ _Example Shortcode:_
26
+ `[RSSImport display="5" feedurl="http://bueltge.de/feed/"]`
27
+
28
+ For all (bool) parameters you can either use the strings `true` and `false` or the integer values `1` and `0`.
29
+
30
+
31
+ 1. `display` - The number of items to display. Default is `5`.
32
+ 1. `feedurl` - The feed address. Default is `http://bueltge.de/feed/`.
33
+ 1. `before_desc` - The HTML or string to insert before the description. Default is `empty`.
34
+ 1. `displaydescriptions` - (bool) When set to true, the description for each entry will be displayed. Default is `false`.
35
+ 1. `after_desc` - The HTML or string to insert after the description. Default is `empty`. You can use the following variables which will be replaced: `%title%` for the title of the entry and `%href%` for the entry's URL.
36
+ 1. `html` - (bool) When set to true, the description can include HTML tags. Default is `false`.
37
+ 1. `truncatedescchar` - The maximum number of characters allowed in descriptions. If the description is longer than this length, it will be truncated to the given length. Default is `200`, set the value to empty quotes `''` to never truncate descriptions.
38
+ 1. `truncatedescstring` - The HTML or string to insert at the end of a description after it has been truncated. Default is ` ... `
39
+ 1. `truncatetitlechar` - The maximum number of characters allowed in titles. If the title is longer than this value, it will be truncated to the given length. Default is `''`, which means never truncate titles.
40
+ 1. `truncatetitlestring` - The HTML or string to insert at the end of a title after it has been truncated. Default is `' ... '`.
41
+ 1. `before_date` - The HTML or string to insert before the date. Default is ` <small>`.
42
+ 1. `date` - (bool) If true, display the date of the item. Default is `false`.
43
+ 1. `after_date` - The HTML or string to insert after the date. Default is `</small>`.
44
+ 1. `date_format`- The date format string. Leave empty to use the format of your WordPress installation. If a different date format is desired, specify a PHP date string, for example: `F j, Y`. See also [the date and time formatting page in the WordPress Codex](http://codex.wordpress.org/Formatting_Date_and_Time).
45
+ 1. `before_creator` - The HTML or string to insert before the creator of the item. Default is ` <small>`.
46
+ 1. `creator` - (bool) If true, display the creator of the item. Default is `false`.
47
+ 1. `after_creator` - The HTML or string to insert after creator of the item. Default is `</small>`.
48
+ 1. `start_items` - The HTML or string to insert before the list of items. Default is `<ul>`.
49
+ 1. `end_items` - The HTML or string to insert after the list of items. Default is `</ul>`.
50
+ 1. `start_item` - The HTML or string to insert before each item. Default is `<li>`.
51
+ 1. `end_item` - The HTML or string to insert after each item. Default is `</li>`.
52
+ 1. `target` - The string to use for the `target` attribute on links. Default is `empty`. Valid options are `blank`, `self`, `parent`, `top`.
53
+ 1. `rel` - The string to use for the `rel` attribute on links. Default is `empty`. Valid options are `nofollow` and `follow`.
54
+ 1. `desc4title` - The description to use in the `title` attribute on item title links. Default is `false`.
55
+ 1. `charsetscan` - (bool) If true, scan the feed content for the correct character set. This may cause the content to load more slowly. Use this option if you're having problems with feed content being displayed with stranged characters. Default is `false`.
56
+ 1. `debug` - (bool) If true, activate debug-mode, which will echo the Magpie object as an array. Default is `false`. Only use this option for debugging.
57
+ 1. `before_noitems` - The HTML or string to insert before the no items message. Default is `<p>`.
58
+ 1. `noitems`- The message to display when the feed is empty. Default is `No items, feed is empty.`.
59
+ 1. `after_noitems` - The HTML or string to insert before the no items message. Default is `</p>`.
60
+ 1. `before_error` - The HTML or string to insert before the error message. Default is `<p>`.
61
+ 1. `error` - Error message displayed when there is an error loading or displaying the feed. Default is `Error: Feed has a error or is not valid`.
62
+ 1. `after_error` - The HTML or string to insert before the error message. Default is `</p>`.
63
+ 1. `paging` - (bool) If true, enable pagination. Default is `false`.
64
+ 1. `prev_paging_link` - The name of the previous page link. Default is `&laquo; Previous`.
65
+ 1. `next_paging_link` - The name next page link. Default is `Next &raquo;`.
66
+ 1. `prev_paging_title` - The title attribute of the previous page link. Default is `more items`.
67
+ 1. `next_paging_title` - The title attribute of the next page link. Default is `more items`.
68
+ 1. `use_simplepie`- (bool) If true, use SimplePie to parse the feed. SimplePie is included in WordPress 2.8 and newer and can parse both RSS and ATOM feeds. Default is `false`.
69
+ 1. `view` - (bool) If true, calling the `RSSImport()` function will print the rendered HTML directly to the output. If false, the rendered HTML will be returned by the function as a string value and nothing will be output. Default when using PHP code is `true`. Default when using Shortcode is `false`.
70
+
71
+ If pagination is enabled, it adds a `div` with the class `rsspaging` to enable easier styling with CSS. You can also style the previous and next links, which have the classes: `rsspaging_prev` and `rsspaging_next`.
72
+
73
+ You can use any of the parameters in the php function `RSSImport()` in your templates or with the Shortcode `[RSSImport]` in posts and pages.
74
 
75
  = Examples: =
76
+ _Using the PHP function with many parameters:_
77
 
78
  RSSImport(
79
  $display = 5, $feedurl = 'http://bueltge.de/feed/',
85
  $start_item = '<li>', $end_item = '</li>'
86
  )
87
 
88
+ Please note that the parameters are expected in the order in which they are defined in the above list. Thus if you skip one parameter, you will also have to skip all of the subsequent parameters.
89
+
90
+ _Using Shortcode with several parameters:_
91
 
92
  [RSSImport display="10" feedurl="http://your_feed_url/"
93
  displaydescriptions="true" html="true"
94
+ start_items="<ol>" end_items="</ol>" paging="true"]
95
 
96
 
97
  == Installation ==
98
+ 1. Unpack the download package.
99
+ 1. Upload all files to the `/wp-content/plugins/` directory.
100
+ 1. Activate the plugin through the 'Plugins' menu in WordPress.
101
+ 1. Create a new site in WordPress or edit your template.
102
+ 1. Copy the code into the site content or add it to your templates.
103
 
104
 
105
  == Screenshots ==
106
  1. Widget support
107
 
108
  == Changelog ==
109
+ = v4.4.14 (07/08/2014) =
110
+ * Fix typo in readme
111
+ * Fix a bug with `%href%` and `%title%` in after_desc
112
+ * Shortened some over-long lines in the code
113
+
114
  = v4.4.13 (08/22/2013) =
115
  * Set simplepie to default settings; is the default way of WP since lot of versions
116
  * Fix for Quicktag on Post/Page Editor; use now the core functions, there we have since WP 3.3
192
  * Lithuanian translation files by [Vincent G](http://www.host1plus.com)
193
  * Portuguese translation files by [Miguel Patricio Angelo](http://www.miguelpatricio.com/)
194
 
195
+ = License =
196
+ Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you can thank me by leaving a [small donation](http://bueltge.de/wunschliste/ "Wish lists and donations") for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)
197
 
198
  = Translations =
199
  The plugin comes with various translations, please refer to the [WordPress Codex](http://codex.wordpress.org/Installing_WordPress_in_Your_Language "Installing WordPress in Your Language") for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the sitemap.pot file which contains all defintions and may be used with a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) (Windows).
rssimport.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * @package WP-RSSImport
4
  * @author Frank B&uuml;ltge &amp; Novaclic
5
- * @version 4.4.12
6
  */
7
 
8
  /**
@@ -11,10 +11,10 @@
11
  * Text Domain: rssimport
12
  * Domain Path: /languages
13
  * Description: Import and display Feeds in your blog, use the function RSSImport(), a Widget or Shortcode [RSSImport]. Please see the new <a href="http://wordpress.org/extend/plugins/rss-import/">possibilities</a>.
14
- * Author: Frank B&uuml;ltge, novaclic
15
- * Version: 4.4.13
16
  * License: GPLv3
17
- * Last change: 04/04/2012
18
  */
19
 
20
  /*
@@ -317,10 +317,10 @@ function RSSImport(
317
  if ( isset($creator) && $creator && $creator != '' )
318
  $echo .= $before_creator . $creator . $after_creator;
319
  if ( isset($desc) && $displaydescriptions && $desc != '' ) {
320
- $after_desc = stripslashes_deep( $after_desc );
321
- $after_desc = str_replace('%title%', $title, $after_desc);
322
- $after_desc = str_replace('%href%', $href, $after_desc);
323
- $echo .= $before_desc . $desc . $after_desc;
324
  }
325
  $echo .= $end_item;
326
  } else {
@@ -376,8 +376,65 @@ function isodec($s_String) {
376
  function all_convert($s_String) {
377
 
378
  // Array for entities
379
- $umlaute = array('„','“','–',' \&#34;','&#8211;','&#8212;','&#8216;','&#8217;','&#8220;','&#8221;','&#8222;','&#8226;','&#8230;' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�',utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),chr(128),chr(129),chr(130),chr(131),chr(132),chr(133),chr(134),chr(135),chr(136),chr(137),chr(138),chr(139),chr(140),chr(141),chr(142),chr(143),chr(144),chr(145),chr(146),chr(147),chr(148),chr(149),chr(150),chr(151),chr(152),chr(153),chr(154),chr(155),chr(156),chr(157),chr(158),chr(159),chr(160),chr(161),chr(162),chr(163),chr(164),chr(165),chr(166),chr(167),chr(168),chr(169),chr(170),chr(171),chr(172),chr(173),chr(174),chr(175),chr(176),chr(177),chr(178),chr(179),chr(180),chr(181),chr(182),chr(183),chr(184),chr(185),chr(186),chr(187),chr(188),chr(189),chr(190),chr(191),chr(192),chr(193),chr(194),chr(195),chr(196),chr(197),chr(198),chr(199),chr(200),chr(201),chr(202),chr(203),chr(204),chr(205),chr(206),chr(207),chr(208),chr(209),chr(210),chr(211),chr(212),chr(213),chr(214),chr(215),chr(216),chr(217),chr(218),chr(219),chr(220),chr(221),chr(222),chr(223),chr(224),chr(225),chr(226),chr(227),chr(228),chr(229),chr(230),chr(231),chr(232),chr(233),chr(234),chr(235),chr(236),chr(237),chr(238),chr(239),chr(240),chr(241),chr(242),chr(243),chr(244),chr(245),chr(246),chr(247),chr(248),chr(249),chr(250),chr(251),chr(252),chr(253),chr(254),chr(255),chr(256));
380
- $htmlcode = array('&bdquo;','&ldquo;','&ndash;',' &#34;','&ndash;','&mdash;','&lsquo;','&rsquo;','&ldquo;','&rdquo;','&bdquo;','&bull;' ,'&hellip;','&euro;','&sbquo;','&fnof;','&bdquo;','&hellip;','&dagger;','&Dagger;','&circ;','&permil;','&Scaron;','&lsaquo;','&OElig;','&#x017D;','&lsquo;','&rsquo;','&ldquo;','&rdquo;','&bull;','&ndash;','&mdash;','&tilde;','&trade;','&scaron;','&rsaquo;','&oelig;','&#x017E;','&Yuml;','&iexcl;','&cent;','&pound;','&curren;','&yen;','&brvbar;','&sect;','&uml;','&copy;','&ordf;','&laquo;','&not;','&reg;','&macr;','&deg;','&plusmn;','&sup2;','&sup3;','&acute;','&micro;','&para;','&middot;','&cedil;','&supl;','&ordm;','&raquo;','&frac14;','&frac12;','&frac34;','&iquest;','&Agrave;','&Aacute;','&Acirc;','&Atilde;','&Auml;','&Aring;','&AElig;','&Ccedil;','&Egrave;','&Eacute;','&Ecirc;','&Euml;','&Igrave;','&Iacute;','&Icirc;','&Iuml;','&ETH;','&Ntilde;','&Ograve;','&Oacute;','&Ocirc;','&Otilde;','&Ouml;','&times;','&Oslash;','&Ugrave;','&Uacute;','&Ucirc;','&Uuml;','&Yacute;','&THORN;','&szlig;','&agrave;','&aacute;','&acirc;','&atilde;','&auml;','&aring;','&aelig;','&ccedil;','&egrave;','&eacute;','&ecirc;','&euml;','&igrave;','&iacute;','&icirc;','&iuml;','&eth;','&ntilde;','&ograve;','&oacute;','&ocirc;','&otilde;','&ouml;','&divide;','&oslash;','&ugrave;','&uacute;','&ucirc;','&uuml;','&yacute;','&thorn;','&yuml;','&euro;','&sbquo;','&fnof;','&bdquo;','&hellip;','&dagger;','&Dagger;','&circ;','&permil;','&Scaron;','&lsaquo;','&OElig;','&#x017D;','&lsquo;','&rsquo;','&ldquo;','&rdquo;','&bull;','&ndash;','&mdash;','&tilde;','&trade;','&scaron;','&rsaquo;','&oelig;','&#x017E;','&Yuml;','&iexcl;','&cent;','&pound;','&curren;','&yen;','&brvbar;','&sect;','&uml;','&copy;','&ordf;','&laquo;','&not;','&reg;','&macr;','&deg;','&plusmn;','&sup2;','&sup3;','&acute;','&micro;','&para;','&middot;','&cedil;','&supl;','&ordm;','&raquo;','&frac14;','&frac12;','&frac34;','&iquest;','&Agrave;','&Aacute;','&Acirc;','&Atilde;','&Auml;','&Aring;','&AElig;','&Ccedil;','&Egrave;','&Eacute;','&Ecirc;','&Euml;','&Igrave;','&Iacute;','&Icirc;','&Iuml;','&ETH;','&Ntilde;','&Ograve;','&Oacute;','&Ocirc;','&Otilde;','&Ouml;','&times;','&Oslash;','&Ugrave;','&Uacute;','&Ucirc;','&Uuml;','&Yacute;','&THORN;','&szlig;','&agrave;','&aacute;','&acirc;','&atilde;','&auml;','&aring;','&aelig;','&ccedil;','&egrave;','&eacute;','&ecirc;','&euml;','&igrave;','&iacute;','&icirc;','&iuml;','&eth;','&ntilde;','&ograve;','&oacute;','&ocirc;','&otilde;','&ouml;','&divide;','&oslash;','&ugrave;','&uacute;','&ucirc;','&uuml;','&yacute;','&thorn;','&yuml;','&euro;','','&sbquo;','&fnof;','&bdquo;','&hellip;','&dagger;','&Dagger;','&circ;','&permil;','&Scaron;','&lsaquo;','&OElig;','','&#x017D;','','','&lsquo;','&rsquo;','&ldquo;','&rdquo;','&bull;','&ndash;','&mdash;','&tilde;','&trade;','&scaron;','&rsaquo;','&oelig;','','&#x017E;','&Yuml;','&nbsp;','&iexcl;','&iexcl;','&iexcl;','&iexcl;','&yen;','&brvbar;','&sect;','&uml;','&copy;','&ordf;','&laquo;','&not;','�&shy;','&reg;','&macr;','&deg;','&plusmn;','&sup2;','&sup3;','&acute;','&micro;','&para;','&middot;','&cedil;','&supl;','&ordm;','&raquo;','&frac14;','&frac12;','&frac34;','&iquest;','&Agrave;','&Aacute;','&Acirc;','&Atilde;','&Auml;','&Aring;','&AElig;','&Ccedil;','&Egrave;','&Eacute;','&Ecirc;','&Euml;','&Igrave;','&Iacute;','&Icirc;','&Iuml;','&ETH;','&Ntilde;','&Ograve;','&Oacute;','&Ocirc;','&Otilde;','&Ouml;','&times;','&Oslash;','&Ugrave;','&Uacute;','&Ucirc;','&Uuml;','&Yacute;','&THORN;','&szlig;','&agrave;','&aacute;','&acirc;','&atilde;','&auml;','&aring;','&aelig;','&ccedil;','&egrave;','&eacute;','&ecirc;','&euml;','&igrave;','&iacute;','&icirc;','&iuml;','&eth;','&ntilde;','&ograve;','&oacute;','&ocirc;','&otilde;','&ouml;','&divide;','&oslash;','&ugrave;','&uacute;','&ucirc;','&uuml;','&yacute;','&thorn;','&yuml;');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  //$s_String = str_replace($umlaute, $htmlcode, $s_String);
382
  if ( version_compare(phpversion(), '5.0.0', '>=') )
383
  $s_String = utf8_encode( html_entity_decode( str_replace($umlaute, $htmlcode, $s_String) ) );
@@ -589,7 +646,14 @@ function RSSImport_insert_button() {
589
  */
590
  var id = 'rssimport',
591
  text = '<?php _e( 'RSSImport', FB_RSSI_TEXTDOMAIN ); ?>',
592
- start = '[RSSImport display="5" feedurl="http://feedurl.com/" before_desc="<br />" displaydescriptions="TRUE" after_desc=" " html="FALSE" truncatedescchar="200" truncatedescstring=" ... " truncatetitlechar=" " truncatetitlestring=" ... " before_date=" <small>" date="FALSE" after_date="</small>" date_format="" before_creator=" <small>" creator="FALSE" after_creator="</small>" start_items="<ul>" end_items="</ul>" start_item="<li>" end_item="</li>" target="" rel="" desc4title="" charsetscan="FALSE" debug="FALSE" before_noitems="<p>" noitems="No items, feed is empty." after_noitems="</p>" before_error="<p>" error="Error: Feed has a error or is not valid" after_error="</p>" paging="FALSE" prev_paging_link="&laquo; Previous" next_paging_link="Next &raquo;" prev_paging_title="more items" next_paging_title="more items" use_simplepie="FALSE"]',
 
 
 
 
 
 
 
593
  end = '',
594
  access = 'r',
595
  title = '<?php _e( 'Import a feed with RSSImport', FB_RSSI_TEXTDOMAIN ); ?>';
@@ -611,13 +675,21 @@ function RSSImport_insert_button_old() {
611
  //<![CDATA[
612
  if ( typeof edButtons != \'undefined\' ) {
613
  var length = edButtons.length;
614
- edButtons[length] = new edButton(\'RSSImport\', \'$context\', \'[RSSImport display="5" feedurl="http://feedurl.com/" before_desc="<br />" displaydescriptions="TRUE" after_desc=" " html="FALSE" truncatedescchar="200" truncatedescstring=" ... " truncatetitlechar=" " truncatetitlestring=" ... " before_date=" <small>" date="FALSE" after_date="</small>" date_format="" before_creator=" <small>" creator="FALSE" after_creator="</small>" start_items="<ul>" end_items="</ul>" start_item="<li>" end_item="</li>" target="" rel="" desc4title="" charsetscan="FALSE" debug="FALSE" before_noitems="<p>" noitems="No items, feed is empty." after_noitems="</p>" before_error="<p>" error="Error: Feed has a error or is not valid" after_error="</p>" paging="FALSE" prev_paging_link="&laquo; Previous" next_paging_link="Next &raquo;" prev_paging_title="more items" next_paging_title="more items" use_simplepie="FALSE"]\', \'\', \'\');
 
 
 
 
 
 
 
615
  function RSSImport_tag(id) {
616
  id = id.replace(/RSSImport_/, \'\');
617
  edInsertTag(edCanvas, id);
618
  }
619
  jQuery(document).ready(function() {
620
- content = \'<input id="RSSImport_\'+length+\'" class="ed_button" type="button" value="' . __( 'RSSImport', FB_RSSI_TEXTDOMAIN ) . '" title="' . __( 'Import a feed with RSSImport', FB_RSSI_TEXTDOMAIN ) . '" onclick="RSSImport_tag(this.id);" />\';
 
621
  jQuery("#ed_toolbar").append(content);
622
  });
623
  }
2
  /**
3
  * @package WP-RSSImport
4
  * @author Frank B&uuml;ltge &amp; Novaclic
5
+ * @version 4.4.14
6
  */
7
 
8
  /**
11
  * Text Domain: rssimport
12
  * Domain Path: /languages
13
  * Description: Import and display Feeds in your blog, use the function RSSImport(), a Widget or Shortcode [RSSImport]. Please see the new <a href="http://wordpress.org/extend/plugins/rss-import/">possibilities</a>.
14
+ * Author: Frank B&uuml;ltge, novaclic, took77
15
+ * Version: 4.4.14
16
  * License: GPLv3
17
+ * Last change: 08/07/2014
18
  */
19
 
20
  /*
317
  if ( isset($creator) && $creator && $creator != '' )
318
  $echo .= $before_creator . $creator . $after_creator;
319
  if ( isset($desc) && $displaydescriptions && $desc != '' ) {
320
+ $after_desc_temp = stripslashes_deep( $after_desc );
321
+ $after_desc_temp = str_replace('%title%', $title, $after_desc_temp);
322
+ $after_desc_temp = str_replace('%href%', $href, $after_desc_temp);
323
+ $echo .= $before_desc . $desc . $after_desc_temp;
324
  }
325
  $echo .= $end_item;
326
  } else {
376
  function all_convert($s_String) {
377
 
378
  // Array for entities
379
+ $umlaute = array('„','“','–',' \&#34;','&#8211;','&#8212;','&#8216;','&#8217;','&#8220;','&#8221;','&#8222;','&#8226;','&#8230;' ,
380
+ '' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,
381
+ '�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�' ,'�','�','�','�','�','�','�','�','�',
382
+ '�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�',
383
+ '�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�',
384
+ '�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�',utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
385
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
386
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
387
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
388
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
389
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
390
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
391
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
392
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
393
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
394
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
395
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
396
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
397
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
398
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),
399
+ utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),utf8_encode('�'),chr(128),chr(129),chr(130),
400
+ chr(131),chr(132),chr(133),chr(134),chr(135),chr(136),chr(137),chr(138),chr(139),chr(140),chr(141),chr(142),chr(143),chr(144),chr(145),
401
+ chr(146),chr(147),chr(148),chr(149),chr(150),chr(151),chr(152),chr(153),chr(154),chr(155),chr(156),chr(157),chr(158),chr(159),chr(160),
402
+ chr(161),chr(162),chr(163),chr(164),chr(165),chr(166),chr(167),chr(168),chr(169),chr(170),chr(171),chr(172),chr(173),chr(174),chr(175),
403
+ chr(176),chr(177),chr(178),chr(179),chr(180),chr(181),chr(182),chr(183),chr(184),chr(185),chr(186),chr(187),chr(188),chr(189),chr(190),
404
+ chr(191),chr(192),chr(193),chr(194),chr(195),chr(196),chr(197),chr(198),chr(199),chr(200),chr(201),chr(202),chr(203),chr(204),chr(205),
405
+ chr(206),chr(207),chr(208),chr(209),chr(210),chr(211),chr(212),chr(213),chr(214),chr(215),chr(216),chr(217),chr(218),chr(219),chr(220),
406
+ chr(221),chr(222),chr(223),chr(224),chr(225),chr(226),chr(227),chr(228),chr(229),chr(230),chr(231),chr(232),chr(233),chr(234),chr(235),
407
+ chr(236),chr(237),chr(238),chr(239),chr(240),chr(241),chr(242),chr(243),chr(244),chr(245),chr(246),chr(247),chr(248),chr(249),chr(250),
408
+ chr(251),chr(252),chr(253),chr(254),chr(255),chr(256));
409
+ $htmlcode = array('&bdquo;','&ldquo;','&ndash;',' &#34;','&ndash;','&mdash;','&lsquo;','&rsquo;','&ldquo;','&rdquo;','&bdquo;','&bull;' ,
410
+ '&hellip;','&euro;','&sbquo;','&fnof;','&bdquo;','&hellip;','&dagger;','&Dagger;','&circ;','&permil;','&Scaron;','&lsaquo;','&OElig;',
411
+ '&#x017D;','&lsquo;','&rsquo;','&ldquo;','&rdquo;','&bull;','&ndash;','&mdash;','&tilde;','&trade;','&scaron;','&rsaquo;','&oelig;',
412
+ '&#x017E;','&Yuml;','&iexcl;','&cent;','&pound;','&curren;','&yen;','&brvbar;','&sect;','&uml;','&copy;','&ordf;','&laquo;','&not;',
413
+ '&reg;','&macr;','&deg;','&plusmn;','&sup2;','&sup3;','&acute;','&micro;','&para;','&middot;','&cedil;','&supl;','&ordm;','&raquo;',
414
+ '&frac14;','&frac12;','&frac34;','&iquest;','&Agrave;','&Aacute;','&Acirc;','&Atilde;','&Auml;','&Aring;','&AElig;','&Ccedil;','&Egrave;',
415
+ '&Eacute;','&Ecirc;','&Euml;','&Igrave;','&Iacute;','&Icirc;','&Iuml;','&ETH;','&Ntilde;','&Ograve;','&Oacute;','&Ocirc;','&Otilde;',
416
+ '&Ouml;','&times;','&Oslash;','&Ugrave;','&Uacute;','&Ucirc;','&Uuml;','&Yacute;','&THORN;','&szlig;','&agrave;','&aacute;','&acirc;',
417
+ '&atilde;','&auml;','&aring;','&aelig;','&ccedil;','&egrave;','&eacute;','&ecirc;','&euml;','&igrave;','&iacute;','&icirc;','&iuml;',
418
+ '&eth;','&ntilde;','&ograve;','&oacute;','&ocirc;','&otilde;','&ouml;','&divide;','&oslash;','&ugrave;','&uacute;','&ucirc;','&uuml;',
419
+ '&yacute;','&thorn;','&yuml;','&euro;','&sbquo;','&fnof;','&bdquo;','&hellip;','&dagger;','&Dagger;','&circ;','&permil;','&Scaron;',
420
+ '&lsaquo;','&OElig;','&#x017D;','&lsquo;','&rsquo;','&ldquo;','&rdquo;','&bull;','&ndash;','&mdash;','&tilde;','&trade;','&scaron;',
421
+ '&rsaquo;','&oelig;','&#x017E;','&Yuml;','&iexcl;','&cent;','&pound;','&curren;','&yen;','&brvbar;','&sect;','&uml;','&copy;','&ordf;',
422
+ '&laquo;','&not;','&reg;','&macr;','&deg;','&plusmn;','&sup2;','&sup3;','&acute;','&micro;','&para;','&middot;','&cedil;','&supl;',
423
+ '&ordm;','&raquo;','&frac14;','&frac12;','&frac34;','&iquest;','&Agrave;','&Aacute;','&Acirc;','&Atilde;','&Auml;','&Aring;','&AElig;',
424
+ '&Ccedil;','&Egrave;','&Eacute;','&Ecirc;','&Euml;','&Igrave;','&Iacute;','&Icirc;','&Iuml;','&ETH;','&Ntilde;','&Ograve;','&Oacute;',
425
+ '&Ocirc;','&Otilde;','&Ouml;','&times;','&Oslash;','&Ugrave;','&Uacute;','&Ucirc;','&Uuml;','&Yacute;','&THORN;','&szlig;','&agrave;',
426
+ '&aacute;','&acirc;','&atilde;','&auml;','&aring;','&aelig;','&ccedil;','&egrave;','&eacute;','&ecirc;','&euml;','&igrave;','&iacute;',
427
+ '&icirc;','&iuml;','&eth;','&ntilde;','&ograve;','&oacute;','&ocirc;','&otilde;','&ouml;','&divide;','&oslash;','&ugrave;','&uacute;',
428
+ '&ucirc;','&uuml;','&yacute;','&thorn;','&yuml;','&euro;','','&sbquo;','&fnof;','&bdquo;','&hellip;','&dagger;','&Dagger;','&circ;',
429
+ '&permil;','&Scaron;','&lsaquo;','&OElig;','','&#x017D;','','','&lsquo;','&rsquo;','&ldquo;','&rdquo;','&bull;','&ndash;','&mdash;',
430
+ '&tilde;','&trade;','&scaron;','&rsaquo;','&oelig;','','&#x017E;','&Yuml;','&nbsp;','&iexcl;','&iexcl;','&iexcl;','&iexcl;','&yen;',
431
+ '&brvbar;','&sect;','&uml;','&copy;','&ordf;','&laquo;','&not;','�&shy;','&reg;','&macr;','&deg;','&plusmn;','&sup2;','&sup3;',
432
+ '&acute;','&micro;','&para;','&middot;','&cedil;','&supl;','&ordm;','&raquo;','&frac14;','&frac12;','&frac34;','&iquest;','&Agrave;',
433
+ '&Aacute;','&Acirc;','&Atilde;','&Auml;','&Aring;','&AElig;','&Ccedil;','&Egrave;','&Eacute;','&Ecirc;','&Euml;','&Igrave;','&Iacute;',
434
+ '&Icirc;','&Iuml;','&ETH;','&Ntilde;','&Ograve;','&Oacute;','&Ocirc;','&Otilde;','&Ouml;','&times;','&Oslash;','&Ugrave;','&Uacute;',
435
+ '&Ucirc;','&Uuml;','&Yacute;','&THORN;','&szlig;','&agrave;','&aacute;','&acirc;','&atilde;','&auml;','&aring;','&aelig;','&ccedil;',
436
+ '&egrave;','&eacute;','&ecirc;','&euml;','&igrave;','&iacute;','&icirc;','&iuml;','&eth;','&ntilde;','&ograve;','&oacute;','&ocirc;',
437
+ '&otilde;','&ouml;','&divide;','&oslash;','&ugrave;','&uacute;','&ucirc;','&uuml;','&yacute;','&thorn;','&yuml;');
438
  //$s_String = str_replace($umlaute, $htmlcode, $s_String);
439
  if ( version_compare(phpversion(), '5.0.0', '>=') )
440
  $s_String = utf8_encode( html_entity_decode( str_replace($umlaute, $htmlcode, $s_String) ) );
646
  */
647
  var id = 'rssimport',
648
  text = '<?php _e( 'RSSImport', FB_RSSI_TEXTDOMAIN ); ?>',
649
+ start = '[RSSImport display="5" feedurl="http://feedurl.com/" before_desc="<br />" displaydescriptions="TRUE" after_desc=" " ' +
650
+ 'html="FALSE" truncatedescchar="200" truncatedescstring=" ... " truncatetitlechar=" " truncatetitlestring=" ... " ' +
651
+ 'before_date=" <small>" date="FALSE" after_date="</small>" date_format="" before_creator=" <small>" creator="FALSE" ' +
652
+ 'after_creator="</small>" start_items="<ul>" end_items="</ul>" start_item="<li>" end_item="</li>" target="" rel="" ' +
653
+ 'desc4title="" charsetscan="FALSE" debug="FALSE" before_noitems="<p>" noitems="No items, feed is empty." ' +
654
+ 'after_noitems="</p>" before_error="<p>" error="Error: Feed has a error or is not valid" after_error="</p>" ' +
655
+ 'paging="FALSE" prev_paging_link="&laquo; Previous" next_paging_link="Next &raquo;" prev_paging_title="more items" ' +
656
+ 'next_paging_title="more items" use_simplepie="FALSE"]',
657
  end = '',
658
  access = 'r',
659
  title = '<?php _e( 'Import a feed with RSSImport', FB_RSSI_TEXTDOMAIN ); ?>';
675
  //<![CDATA[
676
  if ( typeof edButtons != \'undefined\' ) {
677
  var length = edButtons.length;
678
+ edButtons[length] = new edButton(\'RSSImport\', \'$context\', \'[RSSImport display="5" feedurl="http://feedurl.com/"'.
679
+ ' before_desc="<br />" displaydescriptions="TRUE" after_desc=" " html="FALSE" truncatedescchar="200" truncatedescstring=" ... "'.
680
+ ' truncatetitlechar=" " truncatetitlestring=" ... " before_date=" <small>" date="FALSE" after_date="</small>"'.
681
+ ' date_format="" before_creator=" <small>" creator="FALSE" after_creator="</small>" start_items="<ul>" end_items="</ul>"'.
682
+ ' start_item="<li>" end_item="</li>" target="" rel="" desc4title="" charsetscan="FALSE" debug="FALSE" before_noitems="<p>"'.
683
+ ' noitems="No items, feed is empty." after_noitems="</p>" before_error="<p>" error="Error: Feed has a error or is not valid"'.
684
+ ' after_error="</p>" paging="FALSE" prev_paging_link="&laquo; Previous" next_paging_link="Next &raquo;"'.
685
+ ' prev_paging_title="more items" next_paging_title="more items" use_simplepie="FALSE"]\', \'\', \'\');
686
  function RSSImport_tag(id) {
687
  id = id.replace(/RSSImport_/, \'\');
688
  edInsertTag(edCanvas, id);
689
  }
690
  jQuery(document).ready(function() {
691
+ content = \'<input id="RSSImport_\'+length+\'" class="ed_button" type="button" value="' . __( 'RSSImport', FB_RSSI_TEXTDOMAIN ) .
692
+ '" title="' . __( 'Import a feed with RSSImport', FB_RSSI_TEXTDOMAIN ) . '" onclick="RSSImport_tag(this.id);" />\';
693
  jQuery("#ed_toolbar").append(content);
694
  });
695
  }