Bigbruin.com
Home :: Reviews & Articles ::
Forum :: Info :: :: Facebook :: Youtube :: RSS Feed
Search  :: Register :: Log in
I broke me feed...
heeeeeeeeeelp lol
Post new topic   Reply to topic    Bigbruin.com Forum Index -> Software
View previous topic :: View next topic  
Author Message
FOX
I <3 Quail


Joined: 15 Nov 2004
Posts: 2074
Location: Saint Cloud, MN

PostPosted: Tue, 04 Nov 2008 23:10:54    Post Subject: I broke me feed... Reply with quote View Single Post

heres the error i get...

Warning: Cannot modify header information - headers already sent by (output started at /home/content/f/o/x/foxrcng11/html/wp-content/themes/revolution_blog-10/functions.php:6) in /home/content/f/o/x/foxrcng11/html/wp-includes/feed-rss2.php on line 8

heres the code from those sections:

this is from the functions.php file
Code:
<?php
if ( function_exists('register_sidebars') )
    register_sidebars(2);
?>


heres the feed-rss2 code

Code:
<?php
/**
 * RSS2 Feed Template for displaying RSS2 Posts feed.
 *
 * @package WordPress
 */

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

?>
<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>

<rss version="2.0"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:atom="http://www.w3.org/2005/Atom"
   <?php do_action('rss2_ns'); ?>
>

<channel>
   <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
   <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
   <link><?php bloginfo_rss('url') ?></link>
   <description><?php bloginfo_rss("description") ?></description>
   <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></pubDate>
   <?php the_generator( 'rss2' ); ?>
   <language><?php echo get_option('rss_language'); ?></language>
   <?php do_action('rss2_head'); ?>
   <?php while( have_posts()) : the_post(); ?>
   <item>
      <title><?php the_title_rss() ?></title>
      <link><?php the_permalink_rss() ?></link>
      <comments><?php comments_link(); ?></comments>
      <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
      <dc:creator><?php the_author() ?></dc:creator>
      <?php the_category_rss() ?>

      <guid isPermaLink="false"><?php the_guid(); ?></guid>
<?php if (get_option('rss_use_excerpt')) : ?>
      <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php else : ?>
      <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
   <?php if ( strlen( $post->post_content ) > 0 ) : ?>
      <content:encoded><![CDATA[<?php the_content() ?>]]></content:encoded>
   <?php else : ?>
      <content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded>
   <?php endif; ?>
<?php endif; ?>
      <wfw:commentRss><?php echo get_post_comments_feed_link(); ?></wfw:commentRss>
<?php rss_enclosure(); ?>
   <?php do_action('rss2_item'); ?>
   </item>
   <?php endwhile; ?>
</channel>
</rss>


djsourceinfo.com/feed is url

if someone can figure it out that would be beyond awesome

_________________

http://www.facebook.com/DjFOXDnB
My site where I have my latest mixes! www.DjSourceInfo.com
Back to top
View user's profile Send private message Visit poster's website
Little Bruin
Boo Boo

Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket
FOX
I <3 Quail


Joined: 15 Nov 2004
Posts: 2074
Location: Saint Cloud, MN

PostPosted: Wed, 05 Nov 2008 01:10:48    Post Subject: Reply with quote View Single Post

woot got it fixed ...dont know how i did either
_________________

http://www.facebook.com/DjFOXDnB
My site where I have my latest mixes! www.DjSourceInfo.com
Back to top
View user's profile Send private message Visit poster's website
~*77*~
Xenophobe


Joined: 08 Apr 2003
Posts: 10466
Location: Sshh... I'm Hiding

PostPosted: Wed, 05 Nov 2008 09:12:07    Post Subject: Reply with quote View Single Post

good job! Grin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Bigbruin.com Forum Index -> Software All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Contact Us :: On Facebook :: On Youtube :: Newsletter :: RSS Feed :: FAQ :: Links :: Sponsors :: Privacy Policy
Copyright © 2000 - 2023 Bigbruin.com - All rights reserved