Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Changing the Default RSS Feed (Sitewide Activity)


  • Marky F.
    Participant

    @markyf

    Why is it that site-wide activity (mydomain.com/activity/feed) is set as the default RSS feed in BuddyPress? Most feed followers do not care to receive updates on newly registered members, who friended who, or even newly created groups for that matter. Instead, they are looking for updates on meaningful news content, which predominantly will come from your main feed (mydomain.com/feed)

    A user searching for my feed (whether it’s on Feedly, Google reader, or whatever) is prompted to subscribe to the sitewide activty feed rather than my main news feed. IMO this is a huge problem.

    I would like to keep mydomain.com/activity/feed active, but make mydomain.com/feed the default RSS Feed for my followers. Is there currently any way to do this with BuddyPress?

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

  • r-a-y
    Keymaster

    @r-a-y

    BP should be adding its Sitewide Activity Feed last in the HTML source.

    You can verify this by checking the HTML source and looking at the <head> tag. Search for “feed” and BP’s feed should be listed last after the main site’s post feed and comment feed.

    Let us know if this isn’t the case.


    Marky F.
    Participant

    @markyf

    After checking I found:

    <link rel=”alternate” type=”application/rss+xml” title=”MobilMe Marketing Community | Site Wide Activity RSS Feed” href=”https://mobilmemarketing.com/activity/feed/”&gt;

    is coming before…

    <link rel=”alternate” type=”application/rss+xml” title=”MobilMe Marketing Community » Feed” href=”https://mobilmemarketing.com/feed/”&gt;

    How shall I correct this?


    r-a-y
    Keymaster

    @r-a-y

    It’s probably something to do with your OneCommunity Themeforest theme.

    I’m guessing that the theme author put bp_head() before wp_head(). Pass that tidbit to the theme author or adjust it yourself by moving bp_head() below wp_head() in header.php.

    If you switch to another theme like Twenty Twelve or Twenty Thirteen, you should see that the Sitewide Activity feed is placed last.


    Marky F.
    Participant

    @markyf

    So I am very new at coding, html, and the like. I am not sure if I am doing this correctly. Here is my header.php code:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo( ‘html_type’ ) ?>; charset=<?php bloginfo( ‘charset’ ) ?>” />
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0″ />
    <title><?php wp_title( ‘|’, true, ‘right’ ); bloginfo( ‘name’ ); ?></title>
    <link rel=”shortcut icon” href=”<?php echo of_get_option(‘favicon_path’, ‘http://www.demo1.diaboliquedesign.com/4/favicon.gif&#8217; ); ?>” />
    <?php do_action( ‘bp_head’ ) ?>

    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ) ?>” />
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />

    <?php
    if ( is_singular() && bp_is_blog_page() && get_option( ‘thread_comments’ ) )
    wp_enqueue_script( ‘comment-reply’ );

    wp_head();
    ?>

    I tried moving wp_head(); to different places above <?php do_action( ‘bp_head’ ) ?> and it’s not working.

    I test the results by putting in my domain name at Feed Validator (http://validator.w3.org/) and it keeps returning the activity feed as my main feed.

    I will get in touch with the theme developer as you suggested, or if you know what I am doing wrong here could you let me know.

    Thanks for your help on this one.


    Marky F.
    Participant

    @markyf

    Update: I seem to have found a good spot to put <?php do_action( ‘bp_head’ ) ?> where it will not be confused for the main feed on my site.

    You can mark as solved. Thanks again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Changing the Default RSS Feed (Sitewide Activity)’ is closed to new replies.
Skip to toolbar