Welcome to WebmasterWorld Guest from 54.159.250.110

Forum Moderators: ergophobe

Message Too Old, No Replies

Help Creating A RSS Feed Page for Wordpress

   
11:44 pm on Nov 5, 2010 (gmt 0)

5+ Year Member



Does anyone know of a plugin or how to create a page of multiple feeds just like this [wisebread.com...]

I need the feed to appear on a specific page only and post the latest post excerpts from newest to oldest with the image and website URL exactly like in the link above.

Thanks
3:47 pm on Nov 6, 2010 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Plugin - [wordpress.org...]

You can also create a custom page to include the same. The tags for building this page can be found here: [codex.wordpress.org...]
6:25 pm on Nov 6, 2010 (gmt 0)

5+ Year Member



Thanks lorax. I tried the first plugin already and couldn't get it to do what I wanted but I will check out the second option.
6:57 pm on Nov 8, 2010 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



What didn't it do for you?
9:08 pm on Nov 8, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



maybe you could look into creating your own feed. its actually very easy to do - easy peasy.
all you have to do is add a new function to the function.php file in your theme's folder.
something like this:

function name_of_your_feed() {

header('Content-Type: text/xml; charset='.get_option('blog_charset'), true);

echo '<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

// insert all the feed stuff you want here

</rss>';

add_feed('name_of_your_feed', 'name_of_your_feed');


you can then access the feed at
http://www.example.com/?feed=name_of_your_feed
10:08 pm on Nov 13, 2010 (gmt 0)

5+ Year Member



Thanks guys I figured it out this is what I started with if anyone is interested

<?php
include_once $_SERVER['DOCUMENT_ROOT'].'/php/simplepie.inc'; // path to include script

$feed = new SimplePie(); // bake a new pie
$feed->set_feed_url('http://domain.tld/your-feed/'); // specify feed url
$feed->set_cache_duration (999); // specify cache duration in seconds
$feed->handle_content_type(); // text/html utf-8 character encoding
$check = $feed->init(); // script initialization check
?>

<h1><a href="<?php echo $feed->get_permalink(); ?>"><?php echo $feed->get_title(); ?></a></h1>
<p><?php echo $feed->get_description(); ?></p>

<?php if ($check) : ?>
<?php foreach ($feed->get_items(0, 7) as $item) : ?>

<h2><a href="<?php echo $item->get_permalink(); ?>"><?php echo $item->get_title(); ?></a></h2>
<p><?php echo $item->get_description(); ?></p>
<p><small>Posted on <?php echo $item->get_date('j F Y @ g:i a'); ?></small></p>

<?php endforeach; ?>
<?php else : ?>

<h2>Feeds currently not available</h2>
<p>Please try again later</p>

<?php endif; ?>
12:21 am on Nov 14, 2010 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Thanks for posting a follow up. I'm glad you got it sorted!