Moodle Community Sites

Create a RSS feed of recently rated useful posts

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Component/s: moodle.org
  • Labels:
    None

Description

Quote from Martin:

  • Produce a custom RSS feed for moodle.org which just shows recently rated helpful posts across all forums. This would probably be quite a useful feed to tap into for anybody interested in what's new and interesting within the mass of posts.
  • Have a documentation team (paid and/or volunteers) to monitor this same feed looking for things that they can use to update the docs (for helpful descriptions) or tracker (for helpful code patches) as necessary. When they do, they could reply to the original discussion with something like "I've added this information to the docs on http://docs.moodle.org/en/XXX, thank you" or "This is now in the tracker as MDL-1234 - thanks". Obviously anyone else can do this at any time if they feel inclined.

http://moodle.org/mod/forum/discuss.php?d=89722#p449096

Activity

Hide
Martin Dougiamas added a comment -

To help me get started, does anyone have any ideas on a good algorithm for deciding which posts to select? Do we want to include all recent rated posts? Just ones with more than 1 vote? How far back should we look?

Show
Martin Dougiamas added a comment - To help me get started, does anyone have any ideas on a good algorithm for deciding which posts to select? Do we want to include all recent rated posts? Just ones with more than 1 vote? How far back should we look?
Hide
Martin Dougiamas added a comment -

Should the PHM group be factored into the equation?

Show
Martin Dougiamas added a comment - Should the PHM group be factored into the equation?
Hide
Martin Dougiamas added a comment -

I've put a quick version here for looking at:

http://moodle.org/useful.php

Currently works like this:

  • only looks at the Using Moodle course
  • finds all the ratings from the last two weeks
  • prints all those posts in order of rating date, newest ratings first, duplicates are removed.

The advantage of this sorting is that new things will always be added to the top, so it's good for RSS.

Is this enough? it basically means if ANYONE flags a post as useful it gets in the feed immediately.

Show
Martin Dougiamas added a comment - I've put a quick version here for looking at: http://moodle.org/useful.php Currently works like this:
  • only looks at the Using Moodle course
  • finds all the ratings from the last two weeks
  • prints all those posts in order of rating date, newest ratings first, duplicates are removed.
The advantage of this sorting is that new things will always be added to the top, so it's good for RSS. Is this enough? it basically means if ANYONE flags a post as useful it gets in the feed immediately.
Hide
Helen Foster added a comment -

I think http://moodle.org/useful.php is perfect just as it is (a page to browse).

Thanks a lot Martin

Show
Helen Foster added a comment - I think http://moodle.org/useful.php is perfect just as it is (a page to browse). Thanks a lot Martin
Hide
Sharon Goodson added a comment -

I like it too! How difficult would it be to create the same type of page for each forum category/subcategory? Say one for Getting Started..., one for Core Code Activity Modules. Core Code Other Components (or simply Core Code), Contributed...etc.

Since posters probably return the same few forums on a regular basis, it might make sorting through posts a little easier and avoid the possibility that users would get overwhelmed or bored.

But then again, seeing useful posts from forums you don't usually visit might encourage more involvement in those areas....Can we have cake and eat it too? lol

Show
Sharon Goodson added a comment - I like it too! How difficult would it be to create the same type of page for each forum category/subcategory? Say one for Getting Started..., one for Core Code Activity Modules. Core Code Other Components (or simply Core Code), Contributed...etc. Since posters probably return the same few forums on a regular basis, it might make sorting through posts a little easier and avoid the possibility that users would get overwhelmed or bored. But then again, seeing useful posts from forums you don't usually visit might encourage more involvement in those areas....Can we have cake and eat it too? lol
Hide
Martin Dougiamas added a comment -

While we think about how it can be more complicated, I made the current one more efficient:

http://moodle.org/useful/

(It's generated once every 30 minutes from the guest POV).

I also added a simple RSS feed:

http://moodle.org/useful/rss.xml

Show
Martin Dougiamas added a comment - While we think about how it can be more complicated, I made the current one more efficient: http://moodle.org/useful/ (It's generated once every 30 minutes from the guest POV). I also added a simple RSS feed: http://moodle.org/useful/rss.xml
Hide
Daniele Cordella added a comment -

Thursday February 5, 12:24 in Italy... 20:24 to you I believe.
At http://moodle.org/useful/

I get:
Content-type: text/html X-Powered-By: PHP/4.3.9

Error: Database connection failed.

It is possible that the database is overloaded or otherwise not running properly.

The site administrator should also check that the database details have been correctly specified in config.php

I don't think it is overloaded!!!

Show
Daniele Cordella added a comment - Thursday February 5, 12:24 in Italy... 20:24 to you I believe. At http://moodle.org/useful/ I get: Content-type: text/html X-Powered-By: PHP/4.3.9 Error: Database connection failed. It is possible that the database is overloaded or otherwise not running properly. The site administrator should also check that the database details have been correctly specified in config.php I don't think it is overloaded!!!
Hide
Sharon Goodson added a comment -

Now I get the same message as Daniele, though the rss feed works great!
(Sorry, Martin, I guess I get carried away with cool stuff lol)

Show
Sharon Goodson added a comment - Now I get the same message as Daniele, though the rss feed works great! (Sorry, Martin, I guess I get carried away with cool stuff lol)
Hide
Martin Dougiamas added a comment -

OK, fixed the main display so that it will never be updated if there are database troubles.

Show
Martin Dougiamas added a comment - OK, fixed the main display so that it will never be updated if there are database troubles.
Hide
Helen Foster added a comment -

The recently rated posts block in the Using Moodle course which uses the RSS feed looks great! Thanks Martin

Show
Helen Foster added a comment - The recently rated posts block in the Using Moodle course which uses the RSS feed looks great! Thanks Martin

People

Vote (2)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: