WordPress.org

Ready to get started?Download WordPress

Forums

RSSImport
Shortcode Formatting (6 posts)

  1. RevelationTravis
    Member
    Posted 3 years ago #

    The formatting for the shortcode seems to be rather picky. If I add in commas to separate the variables, it reverts to an RSS feed in German. Same goes for if I put each variable on a new line. Even certain variables seem to trigger the bug. The shortcode is basically very limited in it's functionality.

    http://wordpress.org/extend/plugins/rss-import/

  2. RevelationTravis
    Member
    Posted 3 years ago #

    Okay, I found a fix for my issue - do not use quotes and do not use commas. The whole shortcode must still be on one line, it cannot be separated into multiple lines. It's a fix for the most part and the page for this plugin should be updated to reflect the fact that quotes and commas should not be used. A note about the necessity of it all being on a single line should probably also be made.

  3. pokinwilly
    Member
    Posted 3 years ago #

    Thanks, I had the same issue.

    The plugin description on wordpress.org is thus wrong, comma should not be used to isolate various parameters. However, quotes are ok on my side.

  4. Mark Costlow
    Member
    Posted 3 years ago #

    I had the same issue, with the current version (4.4.1.0). Same solution: don't use commas. Quotes did not tickle the bug for me.

    However, I'm still having a problem with the shortcode -- I can't get before_date to work. I tried this:

    [RSSImport display="5" feedurl="http://members.swcp.com/webdev/feed/rss2" date="1" before_date="<small>"]

    On the page, it displays the text "<small>" instead of leaving the tag there to have the intended effect. (I.e. the HTML source contains the escaped tag with ampersands)

    I didn't find any notes about needing to escape tags. I tried several things to do that, but failed. Any ideas?

    Thanks

  5. cadfile
    Member
    Posted 2 years ago #

    I was using another plugin where I needed to use the <small> tag and it kept getting stripped out.

    I believe that WordPress’s KSES function won't allow the <small> tag.

    I had to use a selector - in my case the a anchor and change that through CSS

  6. novaclic
    Member
    Plugin Author

    Posted 2 years ago #

    To my knowledge, the issue of having <small> replaced by <small> and thus making it "printed" instead of "interpreted" is linked to the WYSIWYG editor: as long as you edit/save in "HMTL" view, the formating is kept.

    I'm suggesting to "de-html_convert" all parameters in shortcode mode. However, there may be some side-effects... Any opinion?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags