WordPress.org

Ready to get started?Download WordPress

Forums

one blog streaming multiple smaller ones? (14 posts)

  1. sepp88
    Member
    Posted 5 years ago #

    hi there, i'm pretty new to wordpress and so i've no idea if it's possible to create the thing i'm looking for.

    i'm want to create a website for a sports-association with six clubs (like football, tennix, ski, etc.) ...every club wants to have their own "little" blog with news, and the main SPORTS-ASSOCIATION site should kinda stream all other club-blogs. so if you visit the main SPORTS-ASSOCIATIONS site, you should see all blogposts of the six different CLUBS normally sorted by date! if you klick them you maybe jump directly to this CLUB-blog and can read the full post.

    have you guys any idea how to solve that? is there even a way for it? i heard there might be a plugin out there, which is able to stream the RSS-feed of other blogs. is that the best solution? what would you suggest?

    thank you for your help.
    regards matt

  2. sepp88
    Member
    Posted 5 years ago #

    okay, i think i found the best solution for my problem. the plugin is called "RSS-stream". i can only recommend it. only thing i don't know is: i'm currently testing this plugin locally (localhost) with some arbitrary blogs. of course the plugin needs to call every single server to load in the FEEDS, so the loading times are rather long.

    in my case, i'm only referring to 6 different feeds all coming from the same server. so actually i might even be able to link to them relatively. in my case there wont be long loading times, right?

  3. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    i'm want to create a website for a sports-association with six clubs (like football, tennix, ski, etc.) ...every club wants to have their own "little" blog with news, and the main SPORTS-ASSOCIATION site should kinda stream all other club-blogs.

    IMHO, the ideal set up would be to use WordPress Multi-User (WPMU) instead, where each club (football, tennis, etc) would have their own sub-blog with own authors/users. The main site, i.e. Sports Association, can aggregate all the information you want from all your 6 or more sub-blogs on the main site's front page. Two sports sites made with WPMU are http://footballnationblogs.com and http://seahawknationblog.com/ and each has simplepress forum integrated.

    However, if WPMU is too complicated at this time, you could set up the site in single WordPress and use categories to set up the "clubs" (football, tennis, etc) and remind users/authors to click on specific category they are posting in. Front page of the single WP site can be laid out in grids where latest posts from each club/sport is listed using query_posts.

  4. sepp88
    Member
    Posted 5 years ago #

    thank you that's a great tipp.
    however before i go further trying to set up wpmu on my localhost (tried two hours now and it won't work)...i just want to ask if it's actually the same as the normal WP? can i normally implement all themes and plugins? or is it a completely different thing?

    thank you

  5. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    trying to set up wpmu on my localhost

    There are different ways to set up WPMU in localhost and it depends on what OS you're using. I would suggest that you search WPMU forums and also search via Google to find the correct configuration for your system. WPMU is not as easy to set up as single WP and most themes and most plugins work, not all. Also queries to aggregate info from different blogs is quite a lot different.

    I didn't mean to sidetrack you by mentioning WPMU. I will suggest that you build up your content (content is king) in single WP along with multiple authors with regular DB and file backups. It is definitely do-able with single WP. When you've had more time to read up on WPMU and ready to expand, then you can migrate your WP to different WPMU sub-blogs via XML export of authors or by sports/categories

  6. sepp88
    Member
    Posted 5 years ago #

    i finally managed to run WPMU on my localhost on my mac. woot. wpmu looks really cool, thanks for your recomendation. although i'm still one glimpse away from the thing i want: i downloaded this plugin: works actually great, if i set up a new "sub-blog" to get all global posts. the thing i want to achieve is, that i have one MAIN-BLOG that gets all posts from all subblogs. if install this plugin, i'm able to create this new blog that kind of collects all posts, but i want my MAIN-ADMIN-BLOG to collect all the posts. so there is an option in this plugin:

    Post to main blog
    Create posts in your main blog. All posts will appear on the front page of your site. Remember to to add a post loop to home.php in the theme directory if it exists.

    if i tick the box in front of it and update the settings nothing happens to my MAIN-BLOG. of course, because it's written that "Remember to to add a post loop to home.php in the theme directory if it exists."...

    sooo...if i look in my themes folder under my current theme i can find a _home.php file (with underscore in front of it)...

    and that's the code inside of it:

    <?php get_header(); ?>
    
    <div id="homebody"> <span style="text-transform: uppercase;">
      <?php bloginfo('description'); ?>
      </span>
      <!-- To use this optional home page, rename this file to home.php. You'll need to edit the following by hand. Replace [category name] with the name of a category you want to display on the home page. You can copy the block $my_query block as many times as you like. -->
      <?php $my_query = new WP_Query('category_name=[category name]&showposts=1');
      while ($my_query->have_posts()) : $my_query->the_post();
      $do_not_duplicate = $post->ID; ?>
      <span class="cat">
      <?php the_category('&nbsp;') ?>
      </span> <a href="<?php the_permalink() ?>" rel="bookmark">
      <?php the_title(); ?>
      </a>
      <?php endwhile; ?>
      <a href="about" title="About">ABOUT</a> FACE. DIVE INTO THE <a href="archives" title="Archives">ARCHIVES</a>. DON&rsquo;T MISS A TRICK: <a href="<?php bloginfo('rss2_url'); ?>" class="subscribe">SUBSCRIBE.</a> </div>
    <!-- end homebody -->
    <?php get_footer(); ?>

    may anybody please be so kind and tell me what to change in this code, to set all my posts to the MAIN-BLOG???

    thank you very much

  7. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    First of all, sepp88, well done on the local installation and diving into WPMU! You did your homework and went even further. I feel like a proud young mama :-)

    Ok then, changes to be done:
    1) Main blog's theme - theme name and if it had an admin options panel, have you set it to default home page or is it set to something else? If set up then rename a _home.php to home.php in your main blog's theme folder
    2) Open up your theme's new home.php and see some basic changes from <?php $my_query ... to <?php endwhile; ?>:

    <h1>Latest Posts</h1>
    <?php $my_query = new WP_Query('showposts=50');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate = $post->ID; ?>
    <div class="latest-posts">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    <p><?php the_excerpt(); ?></p>
    </div>
    <?php endwhile; ?>

    the above code limits number of posts to 50. Or, it could be as simple as code below which takes the number of posts shown on index that you set in your Site Admin > Settings > Reading

    <h1>Latest Posts</h1>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="latest-posts">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    <p><?php the_excerpt(); ?></p>
    </div>
    <?php endwhile; ?>

    P.S Now that you're into WPMU ...
    the WPMU forums - http://mu.wordpress.org/forums/
    More info and discussion about Donncha's Sitewide tags pages in WPMU search results:
    http://mu.wordpress.org/search/Sitewide+Tags+Pages?forums=1

    Cheers ;-)

  8. sepp88
    Member
    Posted 5 years ago #

    thanks man, you're awesome.

    i managed to set the home.php to my blogs-startpage. and i copied your code into it. it almost works. for testing i have now my MAIN-BLOG and one sublog. if i post a BLOGPOST from my MAIN-BLOG it immediately appears on my home.php -page. however, if i post a BLOGPOST from my subblog it doesn't.

    i'll try furthermore. thanks for your help anyway. really great.

  9. You don't really need the home.php. THe instructions said "if" it existed. If you just have a regular blog theme, it will show all the posts.

    ( a filename with an underscore in front of it is hidden, so in your case, it wasn't using home.php anyway)

    if it's not pulling up one of the sub-blogs, make sure the sub-blog is set to Public (under Settings -> Privacy).

    Really, you don't need all this code to get it to work.

    And under site admin -> Options, did you setup the tags blog to the MAIN blog? If you don't they go to a blog called "tags".

  10. sepp88
    Member
    Posted 5 years ago #

    thanks for your reply but i can't manage to get it work: i put back the underscore in front of my _home.php so that it's "invisible" again. i've one subblog for testing now, and this one is set to public
    privacy settings i find this in my subblogs backend.

    and this is what i see if i visit the site-admin/options in my main blog: options

    but i only get the updates of my main-blog on my frontpage. if i add a blogpost in my subblog it doesn't appear on my frontpage.

  11. matt1
    Member
    Posted 5 years ago #

    This is great, I have been looking for this for a long time, I am going to try and put it into operation soon as I get home from work.

  12. matt1
    Member
    Posted 5 years ago #

    Sep88, did you end up getting this working ?

  13. sepp88
    Member
    Posted 5 years ago #

    no i didn't! didn't try it for a week now. had to lay aside this project for a week. will try to get it work over the next week.

    i simply can't manage to get all my posts shown on my index.php in my mainblog. i've currently deactivated the _home.php as andrea_r (above) said. moreover i think she's right because why would there be an option for "POST TO MAIN BLOG".

    anyway, i can't get it to work. my post's don't appear on my main blog, even though my subblog is set to public in my PRIVACY Settings.

    have you guys any ideas?

  14. 347343493874
    Member
    Posted 4 years ago #

    andrea_r :

    I'm not sure what I'm doing wrong. You say it should just work automatically, but I get zero results, besides getting a /tags/ directory made when I set it up for that option.

    Are you saying it really is as simple as using a regular theme, and making sure things set up correctly in the options and privacy settings? No coding needed, really?

    I did all I could to test with making sub-blogs, with admin and different test users, with and without tags, but still no results.

    sadface.

Topic Closed

This topic has been closed to new replies.

About this Topic