Forums

Display rss feeds on pages. Any recommendation? (9 posts)

  1. Felix J
    Member
    Posted 7 months ago #

    Hello

    I need a wordpress plugin that displays rss feeds of your own choice on a page.

    Any recommendation?

    (I tried a plugin called "NewsPage", but I didn't like it.)

    Thanks

  2. Chris_K
    Administrator
    Posted 7 months ago #

  3. Felix J
    Member
    Posted 6 months ago #

    Thanks for the tips. However they wasn't exacly what I was looking for.

    Anyone got any more suggestions?

    Thanks

  4. Chris_K
    Administrator
    Posted 6 months ago #

    It might be helpful if you either elaborated a bit on why they don't fit the need or shared some more details on what the need really is.

  5. Felix J
    Member
    Posted 6 months ago #

    I dont know how to explain it, but I hope it's understandble anyway.

    I need a plugin which you can use to add the rss news to a page or post with a simple "tag code" that you insert in your page or post.

    My idea was to have rss news of a site under the screenshot thumbnail or on a completely new page I am not sure yet...

    Here a example: of a post there I maybe want to have it, like in a new square under "RSS":

    http://xn--bokmrken-3za.net/archives/211

    The RSS square is just linking to the rss pages of the site that the post is about but I also want to show live rss news maybe in the post, in a new square directly under "RSS" or in a new page as said.

    Note: I am not looking after a plugin that will only work as a widget in the sidebar.

  6. Felix J
    Member
    Posted 6 months ago #

    I am happy for any suggestion!

    Thanks

  7. Felix J
    Member
    Posted 6 months ago #

    Will try this one: http://wordpress.org/extend/plugins/simple-feed-list/

    and see how it goes... Nope not what I hoped...

  8. Felix J
    Member
    Posted 6 months ago #

    There must be atleast one plugin that fits my need.... Anyone got a recommendation? Please...

  9. dakranii
    Member
    Posted 2 months ago #

    Felix,

    What you probably need to use is a plugin that allows you to execute PHP in posts, pages, and widgets.

    I have an RSS feed running on a page using this method.

    Download and use either the PHP-Execution or the Exec-PHP plugin. After you have that installed and activated, use the following code in your Page or Post where you want the feed to go:

    <?php
    include_once(ABSPATH.WPINC.'/rss.php'); // path to include script
    $feed = fetch_rss('http://domain.tld/your-feed/'); // specify feed url
    $items = array_slice($feed->items, 0, 7); // specify first and last item
    ?>
    
    <?php if (!empty($items)) : ?>
    <?php foreach ($items as $item) : ?>
    
    <h2><a href="<?php echo $item['link']; ?>"><?php echo $item['title']; ?></a></h2>
    <p><?php echo $item['description']; ?></p>
    
    <?php endforeach; ?>
    <?php endif; ?>

    You can get more info on that code here: http://perishablepress.com/press/2009/04/26/import-and-display-rss-feeds-in-wordpress/

Reply

You must log in to post.

About this Topic