The MU forums have moved to

Aggregating feeds / adding links to the front page (4 posts)

  1. Farms
    Posted 17 years ago #

    I'm the king of asking for things, tell me to shuddup if you want :O)

    I think that a critical feature we c ould have would be the automated inclusion of new blogs to a front page (through a smarty command?)

    Essentially what I'd like is that everytime a new blog is created it's added to a list which is generated on the front page.

    I'm also really interested in how we can implement a river-of -news aggregator into this (here are some options I posted about yesterday:

    Any thoughts or solutions would be really cool, I know that there are a couple of funky WordPress based aggregators:

    could these be possible avenues?

    Cheers, James

  2. NetAndif
    Posted 17 years ago #

    What about the CG-Feedread plugin from David Chait?
    It is well suited for aggregating feeds and has several powerful features. I'm using it succesfully for my friends page (thanks again to AndrewB for the 'friends' idea)

    For getting a bloglist, in wpmu there is included the wpmu_getBlogs() function. You could use it then to make a list of feed urls from your blogs. Make a page which loops through them using a feed aggregator.
    For example: index.php fetches the index.html and wp-layout files. So you could make your own php and template files for the feed aggregating page.
    Also, you could make a script which periodically updates the feeds from a cronjob.
    All this is possible, but then relying on a third-party plugin...
    I know, there is a feed function included in wordpress.
    But i assume it would not fit well in this case.

  3. Farms
    Posted 17 years ago #

    Cool, good stuff... still need to figure out this cron stuff but in the meantime I tried inserting wpmu_getBlogs in my sidebar but got this error:

    Fatal error: Smarty error: [in index.html line 48]: syntax error: unrecognized tag 'wpmu_getBlogs' (Smarty_Compiler.class.php, line 580) in /home/james/public_html/wp-inst/Smarty.class.php on line 1088

    Any hints?

  4. NetAndif
    Posted 17 years ago #

    Oh, this function is not a smarty plugin
    You would have to write a php script using it.
    It is only a function giving an array of blog names. Not more.

About this Topic

  • Started 2024 years ago by Farms
  • Latest reply from NetAndif