Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: RSS feeds 2.0.

RSS feeds 2.0: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 3: Line 3:
Moodle can both produce and consume RSS feeds.
Moodle can both produce and consume RSS feeds.


=Producing RSS feeds=
==Producing RSS feeds==


Typically the RSS feeds produced by Moodle are accessed by saving the address of a RSS feed to an application called an RSS feed reader which periodically requests the feed to see if there have been any new items added. The feed reader then alerts you of the new items within your Moodle.
Typically the RSS feeds produced by Moodle are accessed by saving the address of a RSS feed to an application called an RSS feed reader which periodically requests the feed to see if there have been any new items added. The feed reader then alerts you of the new items within your Moodle.


==Activities that produce RSS feeds==
===Activities that produce RSS feeds===
* Blog
* Blog
* Database
* Database
Line 13: Line 13:
* Glossary
* Glossary


==Enabling RSS Feeds==
===Enabling RSS Feeds===
#Enable RSS feeds for the site at Site administration -> Advanced features.
#Enable RSS feeds for the site at Site administration -> Advanced features.
#Enable RSS feeds for the relevant activity module at, for example, Site administration -> Plugins -> Activity modules -> Database.
#Enable RSS feeds for the relevant activity module at, for example, Site administration -> Plugins -> Activity modules -> Database.
#In the settings for the individual activity select the number of entries you would like included in the RSS feed.
#In the settings for the individual activity select the number of entries you would like included in the RSS feed.


==Restricting access to RSS feeds==
===Restricting access to RSS feeds===
To ensure security and privacy RSS feed URLs contain a special token that identifies the user they are for. This prevents users from accessing areas of Moodle they shouldn't have access to via RSS feeds.
To ensure security and privacy RSS feed URLs contain a special token that identifies the user they are for. This prevents users from accessing areas of Moodle they shouldn't have access to via RSS feeds.


Users have this token automatically created for them the first time they access an area of Moodle that produces an RSS feed. If a user feels that their RSS feed token has been compromised in some way they can request a new one by going to My profile settings -> Security keys and clicking the Reset link next to the RSS key.
Users have this token automatically created for them the first time they access an area of Moodle that produces an RSS feed. If a user feels that their RSS feed token has been compromised in some way they can request a new one by going to My profile settings -> Security keys and clicking the Reset link next to the RSS key.


=Consuming RSS feeds=
==Consuming RSS feeds==
To consume an externam RSS feed within Moodle:
#Add the feed to Moodle by going to Site administration -> Plugins -> Blocks -> RSS client and click on "Add/Edit Feeds".
#Add the Remote RSS Feeds block to a page.
[https://docs.moodle.org/en/RSS_feeds_block More information about settings up RSS feed blocks]


==See also==
==See also==

Revision as of 02:06, 24 September 2010

Moodle 2.0

RSS (really simple syndication) feeds in Moodle 2.0 onwards enable people to stay up to date with forum posts, glossary entries and other events within Moodle. RSS is a data format for delivering frequently changing content. More information about RSS

Moodle can both produce and consume RSS feeds.

Producing RSS feeds

Typically the RSS feeds produced by Moodle are accessed by saving the address of a RSS feed to an application called an RSS feed reader which periodically requests the feed to see if there have been any new items added. The feed reader then alerts you of the new items within your Moodle.

Activities that produce RSS feeds

  • Blog
  • Database
  • Forum
  • Glossary

Enabling RSS Feeds

  1. Enable RSS feeds for the site at Site administration -> Advanced features.
  2. Enable RSS feeds for the relevant activity module at, for example, Site administration -> Plugins -> Activity modules -> Database.
  3. In the settings for the individual activity select the number of entries you would like included in the RSS feed.

Restricting access to RSS feeds

To ensure security and privacy RSS feed URLs contain a special token that identifies the user they are for. This prevents users from accessing areas of Moodle they shouldn't have access to via RSS feeds.

Users have this token automatically created for them the first time they access an area of Moodle that produces an RSS feed. If a user feels that their RSS feed token has been compromised in some way they can request a new one by going to My profile settings -> Security keys and clicking the Reset link next to the RSS key.

Consuming RSS feeds

To consume an externam RSS feed within Moodle:

  1. Add the feed to Moodle by going to Site administration -> Plugins -> Blocks -> RSS client and click on "Add/Edit Feeds".
  2. Add the Remote RSS Feeds block to a page.

More information about settings up RSS feed blocks

See also