Am I missing something? Is this a block that replaces the RSSFeeds block that worked in 1.4.2+, but doesn't work in 1.5? If so, please see the attached. There is no way to add feeds to this interface.
If not, is someone out there trying to get the RSSFeeds block to work again? I get an error at the top of the page that indicates the block uses old code that must be edited by a programmer.
I almost had the random_quote block fixed, but I get a "Must specify glossary ID or course module ID" error. Any ideas? The block registers in the admin, but the information is not tied to a course id so that the glossary will load into the module.
Marc
Hi Marc,
each instance of the block can have it's own rss feeds - add the block to a page, and turn editing on, and a link will show inside the block, enabling you to add rss feeds.
Dan
Thank you. I grabbed the files you suggested from CVS and I almost have it working. Please see the attached image. I was able to add a couple of Feeds, but I could not Validate them using the validate link. They are valid, however, because I copied and pasted them from the old RSSFeeds block.
I am able to select the Feeds below, but I am unable to see them in the block. No errors appear, however.
The other aesthetic things that appears is a frame within a frame. The image shows this perfectly.
Hope this helps.
Marc
I'm not sure what this screen shot is showing me.
What feed URL are you trying to validate? What is the full validation URL?
The image shows the page where you can select which feed(s?) to place in the block. When I add this feed http://feeds.feedburner.com/uis/edtech to the list I cannot validate it. Hence, when I get to the page that I displayed above, select the appropriate feed, the feed is not visible in the block.
Also, it appears that this block will not have similar functionality to the RSSFeed Plus block I had been using; the user being able to select from a drop down menu of available feeds (http://webclassroom.gis4u.com)
I hope this is a little more clear.
Marc
http://feedvalidator.org/check.cgi?url=http://feeds.feedburner.com/uis/edtech
So I suppose that the validation link is being created wrong - I'll look into that.
Are you sure that your server is able to access the URL, no proxies or other obstructions in the way for the server itself?
* It will no longer stop loading a page if a failure occurs.
* It will fail back on an existing cached local file properly if the remote feed cannot be loaded for some reason (which it should have done in the first place : ).
* It will now display a message if there was a problem loading the remote rss feed at the time the feed is added to the system - even if debugging is off.
* You can now select multiple feeds per block instance. All selected feeds will be displayed inside the same block.
I got problems with Hungarian language in RSS sources.
Here is an example:
Hi Martin!
Yes, the course is Hungarian and the default charset in php.ini is iso-8859-2.
I have problems with special hungarian charaters only in the RSS feeds.
Ps.: Happy New Year and thank you for this fantastic Moodle
The hungarian charset problem is OK now.
After I started to translate (to hungarian) the block_rss_client.php the incorrecct characters changed well.
I don't know why but it's working. I'm happy.
Thank You!
magpie use UTF-8 as it internal encoding (for the reason of xml module in php). All the encoding except UTF-8, US-ASCII and ISO-8859-1 will be converted to UTF-8 by calling iconv() or mb_convert_encoding() , then parse. The output encoding is determinated by MAGPIE_OUTPUT_ENCODING. Before call fetch_rss(), use
020202 define('MAGPIE_OUTPUT_ENCODING', get_string('thischarset'));
can make the output to be the site's default charset. But for the limit of xml parser provided by php, only three charsets mentioned above can work. I tested it in zh_cn_utf8.
If we want it to support more charsets, should do something inside magpierss.
HI. I have similar problems with Japanese in RSS client block.
I'm using Japanese EUC as character encoding to display and to keep strings in MySQL database. But almost RSS feed of Japanese news sites are using UTF-8.
I'm feeling that it is difficult to change the Moodle internal encoding. So it is necessary to change the character code when these strings are displayed . Is this a peculiar problem to Japanese?
I am expecting this wonderful function to come to be able to be used without problems.