Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter r11

    (@r11)

    argh.. I still cant seem to get other variables (description, author, etc…) to show. Any suggestions?

    Thread Starter r11

    (@r11)

    <!-- RSS feed from Rojo -->
    
    <?php
     if (is_page('RSS Syndication') ){
      require_once(ABSPATH . WPINC . '/rss.php');
      wp_rss('feedurl.com/feed.rss', 10);
     }
    ?>
    
    <!-- End of feed -->

    Woop wOOp! This seems to work for me. I hope this helps someone else. now to embed a player to play podcast feeds back to back like a streaming audio channel with other peoples bandwidth! hehe. Let me know if you figure this one out.

    What does your code look like? I am doing the same thing. Check out my other post to see my code.

    <!-- RSS feed as a page by r11 -->
    
    			<?php
    				if (is_page('RSS Syndication') ){
    					require_once(ABSPATH . WPINC . '/rss.php');
    						$rss = fetch_rss('https://www.server.com/externalfeed.rss');
    
    						for( $i=0; $i<25; $i++ ) {
    							$item=$rss->items[$i];
    							$pubdate=substr($item['pubdate'], 0, 16);
    							echo '
    
    <a href="'.$item['link'].'" title=" '.$item['title'].'"><b>'.$item['title'].'</b></a>
    
    <i>'.$pubdate.'</i>
    '.$item['content'].' content
    '.$item['summary'].' summary
    '.$item['title'].' title
    '.$item['content'].' content
    
    <a href="'.$item['link'].'">more...</a>
    
    							';
    
    						}
    				}
    			?>
    <!-- End of feed -->

    I am not sure why but not all of the information gets parsed. Maybe someone could help me. Anyway, if you put this into the page.php file of your template, as long as “is_page(???)” is set to the page ??? (name of your page), then it will run the parser. I hope this helps, now we can go and figure out how to get more information from the feed to display.

Viewing 4 replies - 1 through 4 (of 4 total)