WordPress.org

Ready to get started?Download WordPress

Forums

RSSImport
[resolved] Syntax error when showing the rss on a php page ([shortcode] is working) (1 post)

  1. FabioCarretti
    Member
    Posted 2 years ago #

    when I try to display:
    <?php echo do_shortcode('[RSSImport display="1" feedurl="http://www.ilsole24ore.com/rss/finanza-e-mercati.xml" displaydescriptions="true" html="true" truncatedescchar="100" truncatedescstring="..." truncatetitlechar="50" truncatetitlestring="..." start_items="<div class="home-news1-content-blocks">" end_items="</div>" start_item="<p>" end_item="</p>" paging="false"]'); ?>

    or simply
    <?php RSSImport(10, 'http://bueltge.de/feed/'); ?>

    i notice this error:
    Parse error:
    syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/hipband7/public_html/sidercenter/wp-content/themes/SiderCenter/home.php on line 71

    any suggestions?
    thx,
    fabio

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.