Skip to:
Content

BuddyPress.org

Ticket #4315: xml-feeds-php-tags.patch

File xml-feeds-php-tags.patch, 4.0 KB (added by fanquake, 13 years ago)
  • bp-activity/feeds/bp-activity-favorites-feed.php

     
    1212
    1313header('Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true );
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
  • bp-activity/feeds/bp-activity-friends-feed.php

     
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
  • bp-activity/feeds/bp-activity-group-feed.php

     
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
  • bp-activity/feeds/bp-activity-mentions-feed.php

     
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
  • bp-activity/feeds/bp-activity-mygroups-feed.php

     
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
  • bp-activity/feeds/bp-activity-personal-feed.php

     
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
  • bp-activity/feeds/bp-activity-sitewide-feed.php

     
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"