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

Remote RSS feeds block: Difference between revisions

From MoodleDocs
No edit summary
(→‎See also: RSS feeds bug)
 
(36 intermediate revisions by 14 users not shown)
Line 1: Line 1:
'''''shamelessly unedited hence unfinished'''''
{{Blocks}}The '''RSS feeds''' block enables [[RSS]] feeds from external websites to be displayed within Moodle. As the information on the other site (for example, news headlines or recently added documents) is changed the block will update to show the latest information. 


[[File:Rssexample.png]]


RSS is a technology where visitors to your site can choose to have the site send new postings to an RSS reader. RSS allows a user to build a custom news service. When users “subscribe” to your RSS-enabled page, they will get new postings from Forums and/or new entries in Glossaries, without having to visit your Moodle. Moodle has an RSS aggregator (collector) for these modules.
The end user does need a way to display the news-feed. Windows and Macintosh RSS news readers can be found at:
• http://www.bloglines.com/ (web based)
• http://www.fastbuzz.com/main.jsp (web based)
- or you can put RSS into a search engine to find more.


Why use RSS? If you normally try to keep updated on what is happening on say 10 or 15 different websites, RSS can help. If all these web pages are RSS enabled, then you can put all 15 RSS feeds into your RSS news-reader, and see all the new things going on in one place.
One or more RSS feeds can be added to a course by selecting them from an existing list. Site and course home pages are common places to place an RSS feed block(s).  


RSS Feeds Moodle supports outgoing (out of Moodle) RSS feeds. This option needs to be enabled by your Moodle administrator. Once enabled, RSS is available in the Forum and Glossary modules.
==Configuring RSS feeds block==


After adding an RSS feed block, select the edit icon on the Remote News Feed block.  The default will open up the '''Configure this block''' tab. 


RSS RSS is a technology where visitors to your site can choose to have the site send new postings to an RSS aggregator (a collector). RSS allows a user to build a custom news service. When users “subscribe” to your RSS-enabled page, they will get new postings from forums and/or new entries in glossaries without having to visit your Moodle site every day. The end user does need a way to collect the news-feed, called an aggregator. Some aggregators can be found at: http://www.bloglines.com/ (web based) http://www.fastbuzz.com/main.jsp (web based) or you can put RSS into a search engine to find more.  
;Display each link's description?
:Choose yes or no from the drop-down menu to determine whether the block will display a description of each article, or just the title of the article. Both the title and description are generated by the external feed.


Why use RSS? If you normally try to keep updated on what is happening on 10 or 15 different webpages, RSS can help. If all 15 pages are RSS enabled, then you can put all 15 RSS feeds into your one aggregator, and can see all the new things going on in all the pages, but you only have to look one place.  
;Max number of entries to show per block
:Determines how many articles will be displayed. The most recent will be displayed first.


;Choose the feeds to make available
:Check the box next to each feed you would displayed in this block. You can have more than one instance of the RSS feed block if you would like to break them up.


3.2 RSS in Forums When RSS is enabled, you will see two new questions in the Forum setup:
;Title
- RSS feed for this activity: This turns RSS on or off for this forum. When set to “None,” RSS is disabled. When set to “Discussions,” the RSS feed will send out new discussions to subscribers. When set to “Posts,” the RSS feed will send out any new posts to subscribers. - Number of RSS recent articles: This number sets the number of articles that go out via RSS. If this number is set to 5, then the 5 most recent articles will be sent to subscribers. As new posts (or discussions) get added, the oldest post/discussion gets replaced on the RSS feed. If your forum gets a lot of posts every day, you will want to set this number high. When you enable RSS in your forum, your users will see an orange RSS button on the main page of the forum (in the upper right-hand side): Notice the forum description tells the users about RSS. I do that in case students are not familiar with RSS. If you click on the RSS button, you will get taken to a page that looks something like this:
:Enter a title for the block. If you leave this blank a title will be taken from the RSS feeds, which can be confusing if there are multiple feeds in one block.
The stuff on the page is not important to you or your users (but Moodle needs it!). For the purposes of RSS feeds, you (or the user) would copy the URL (the web address) from the top of the browser, like this: You (or your user) would then paste this address into an RSS aggregator. When I put the address into my test account at bloglines.com, it looks like this: Now you (or your user) can get the latest posts or discussions along with all the other RSS (news) feeds that you are subscribed to.


;Display a link?
:Each article headline should link to the full article, but you can also display a link to the original site where available.


3.3 RSS in Glossaries Moodle’s RSS feed works almost the same in the glossary module as it does in the forum module (see 3.2 for RSS in forums). If RSS is enabled, you will see two additional fields under the glossary setup page: - RSS feed for this activity: This turns RSS on or off. When set to “None,” the RSS feed is disabled. When set to “Concepts with authors,” the RSS feed will send out the glossary entries with the name of the author. When set to “Concepts without authors,” the RSS feed sends out glossary entries without the name of the author. - Number of RSS recent articles: This number sets the number of entries that go out via RSS. If this number is set to 5, then the 5 most recent articles will be sent to subscribers. As new entries get added, the oldest entry gets replaced on the RSS feed. If your glossary gets a lot of posts every day, you will want to set this number high. When RSS is enabled for your glossary, an orange RSS button appears on the main page (in the upper right-hand side): Notice the glossary description tells the users about RSS. I do that in case students are not familiar with RSS. When you click on the RSS button, you should see a page something like this:
;Show channel image?
The stuff on the page is not important to you or your users (but Moodle needs it!). For the purposes of RSS feeds, you (or the user) would copy the URL (the web address) from the top of the browser, like this: You (or your user) would then paste this address into an RSS aggregator. When I put the address into my test account at bloglines.com, it looks like this: Now you (or your user) can get the latest posts or discussions along with all the other RSS (news) feeds that you are subscribed to.
:Some feeds supply an image or logo from the original site which you can choose to display when available.


==Add/Manage all RSS feeds ==
All the Moodle site's RSS feeds can be managed on the ''Manage all my feeds'' tab in the RSS News Feed edit menu. The site administrator may give other roles permission to use this tab.  This tab creates a list of RSS feeds that can be selected for display in every course on the Moodle site.


RSS in Forums
Copy and paste (or type) the URL address of the RSS feed in the space provided. This the generating site's actual RSS page address. For example here is a Moodle RSS feed address : http://moodle.org/rss/file.php/1/1/forum/1/rss.xml
When RSS is enabled, two new properties in Forum setup appear (Fig. 45).
• RSS feed for this activity: This turns RSS on or off for this forum. When set to “None,” RSS is disabled.
When set to “Discussions,” the RSS
feed will send out new discussions to subscribers. When set to “Posts,” the RSS feed will
send out any new posts to subscribers.
• Number of RSS recent articles: This number sets the number of articles that go out via
RSS. If this number is set to 5, then the 5 most recent articles will be sent to subscribers.
As new posts (or discussions) get added, the oldest post/discussion gets replaced on the
RSS feed. If your forum gets a lot of posts every day, you will want to set this number
high.
When you enable RSS in your Forum, your users will see an orange RSS button on the main
page of the forum (in the upper right-hand side), as shown in Fig. 46. If you click on the RSS
button you will get taken to a page that looks something like Fig. 47.
The stuff on the page is not important to you or your users (but Moodle needs it!). For the
purposes of RSS feeds, you (or the user) would copy the URL (the web address) from the top
of the browser, and paste this address into an RSS news-reader. Now you (or your students)
can get the latest posts or discussions along with all the other RSS (news) feeds that you are
subscribed to.


Adding a custom title will take the place of the one supplied by the generating site.There is a validation tool included to confirm the feed URL is accurate.


When checked, the Shared Feed checkbox makes the feed available (although not necessarily visible) to all courses on the Moodle site.  This would be useful, for example, when a college has an urgent announcements feed that would be of interest to all students, regardless of the Moodle course in which they are enrolled.  Leave unchecked if the feed is of interest only to a single course.


More about RSS in Glossaries you will find [[RSS in Glossaries|here]]
Click the ''Add'' button to submit the feed.


More about RSS in Forums you will find [[RSS in Forums|here]]
==Site administration settings==


The RSS feeds block has some settings which may be changed by an administrator in ''Settings > Site administration > Plugins > Blocks > RSS client''.


* ''block_rss_client_num_entries'' - The default number of entries to show per feed shown in the block. This can be overridden when you actually set up a block in a course.
* ''block_rss_timeout'' - The time in minutes between a reread of the feed by Moodle. Since some feeds on busy sites can take long to load, it can slow down the load of your course page. Therefore it is wise to set this time rather high, so only every now and then a visitor of your course is the victim of the slow remote server. Time is in minutes here.


Moodle’s RSS feed works almost the same in the
==See also==
Glossary module as it does in the Forum module.
 
If RSS is enabled, you will see two additional
*[http://www.youtube.com/watch?v=wiwSZNgXuzo RSS feeds and how to add them to your course video]
fields in Glossary setup (Fig. 48).
*[http://tracker.moodle.org/browse/MDL-31599 RSS feeds on front page not working]
RSS feed for this activity: This turns RSS on or off. When set to “None,” the RSS feed is
 
disabled. When set to “Concepts with authors,” the RSS feed will send out the glossary
[[Category:RSS]]
entries with the name of the author. When set to “Concepts without authors,” the RSS feed
[[Category:Site administration]]
sends out glossary entries without the name of the author.
 
• Number of RSS recent articles: This number sets the number of entries that go out via
[[de:RSS-Client-Block]]
RSS. If this number is set to 5, then the 5 most recent articles will be sent to subscribers.
[[eu:RSS_jarioak_blokea]]
As new entries get added, the oldest entry gets replaced on the RSS feed. If your glossary
[[fr:Bloc Fil RSS]]
gets a lot of posts every day, you will want to set this number high.
When RSS is enabled for your
Glossary, an orange RSS button
appears on the main page (Fig. 49),
just like when the Forum is enabled.
Create a Glossary description that
tells students about RSS. When a
user clicks on the RSS button, they
see the XML code displayed
(Fig. 47), needed by the news-reader.
Once a user has the RSS news-feed
link, adding it to a reader (Fig. 50) is
simple and will then display Forum
and Glossary aggregated information,
along with other information they
subscribe to.
Bloglines is an example of an online web-based RSS news-reader.
Fig. 48
Fig. 49
Fig. 50
Course Management
39 http://moodle.org
Fig. 55
Learner Management Features
In this section of the manual you will be introduced to Moodle’s features for managing learner
activity, including:
• Groups
• Activities block
• Administration block

Latest revision as of 08:07, 2 August 2012

The RSS feeds block enables RSS feeds from external websites to be displayed within Moodle. As the information on the other site (for example, news headlines or recently added documents) is changed the block will update to show the latest information.

Rssexample.png


One or more RSS feeds can be added to a course by selecting them from an existing list. Site and course home pages are common places to place an RSS feed block(s).

Configuring RSS feeds block

After adding an RSS feed block, select the edit icon on the Remote News Feed block. The default will open up the Configure this block tab.

Display each link's description?
Choose yes or no from the drop-down menu to determine whether the block will display a description of each article, or just the title of the article. Both the title and description are generated by the external feed.
Max number of entries to show per block
Determines how many articles will be displayed. The most recent will be displayed first.
Choose the feeds to make available
Check the box next to each feed you would displayed in this block. You can have more than one instance of the RSS feed block if you would like to break them up.
Title
Enter a title for the block. If you leave this blank a title will be taken from the RSS feeds, which can be confusing if there are multiple feeds in one block.
Display a link?
Each article headline should link to the full article, but you can also display a link to the original site where available.
Show channel image?
Some feeds supply an image or logo from the original site which you can choose to display when available.

Add/Manage all RSS feeds

All the Moodle site's RSS feeds can be managed on the Manage all my feeds tab in the RSS News Feed edit menu. The site administrator may give other roles permission to use this tab. This tab creates a list of RSS feeds that can be selected for display in every course on the Moodle site.

Copy and paste (or type) the URL address of the RSS feed in the space provided. This the generating site's actual RSS page address. For example here is a Moodle RSS feed address : http://moodle.org/rss/file.php/1/1/forum/1/rss.xml

Adding a custom title will take the place of the one supplied by the generating site.There is a validation tool included to confirm the feed URL is accurate.

When checked, the Shared Feed checkbox makes the feed available (although not necessarily visible) to all courses on the Moodle site. This would be useful, for example, when a college has an urgent announcements feed that would be of interest to all students, regardless of the Moodle course in which they are enrolled. Leave unchecked if the feed is of interest only to a single course.

Click the Add button to submit the feed.

Site administration settings

The RSS feeds block has some settings which may be changed by an administrator in Settings > Site administration > Plugins > Blocks > RSS client.

  • block_rss_client_num_entries - The default number of entries to show per feed shown in the block. This can be overridden when you actually set up a block in a course.
  • block_rss_timeout - The time in minutes between a reread of the feed by Moodle. Since some feeds on busy sites can take long to load, it can slow down the load of your course page. Therefore it is wise to set this time rather high, so only every now and then a visitor of your course is the victim of the slow remote server. Time is in minutes here.

See also