121 Commits

Author SHA1 Message Date
dhawes
947becc731 feed titles are stored and displayed again - silly bug 2005-01-24 02:58:19 +00:00
dhawes
b2262aa90a fix for bug reported by Dan Marsden - feeds can be added again :) 2005-01-23 23:21:42 +00:00
dhawes
c307266c76 Fixed error discovered by Gustav - after updating to use newest magpie I failed to update all instances of rss fetching. 2005-01-23 19:40:33 +00:00
dhawes
2965682a21 latest changes to rss_client block. Now uses latest magpie file for fetch, parse and cache. Still caches the result string as well to avoid excessive file reads and network hits. Fixed bug where non-admin users were not seeing the add/edit feeds link within the block when all users are allowed to edit. Now uses moodles' format_text function on entire block contents. 2005-01-23 16:16:28 +00:00
dhawes
37fe05a345 added in an extra layer of cache. The rendered string is now cached in block's config. If the config settings are changed the config entry is overwritten and the cached string is lost - which is perfect - it gets rebuilt to the new specifications on next page load. If the filesystem cache has expired then the stored config string is ignored and a fresh read is sought. 2005-01-21 03:23:26 +00:00
dhawes
6cee965c7a minor spacing cleanup 2005-01-21 03:20:56 +00:00
dhawes
d6501ee371 if there are multiple feeds within a single block the title of each feed is shown with a horizontal rule between feeds 2005-01-20 01:32:58 +00:00
dhawes
53034e080a now displays a link to the full error text if there is a problem loading a feed (and debug is on) rather than display the full text inline 2005-01-19 23:59:21 +00:00
dhawes
7530140579 I couldn't find a way to do this so I added this file. When an RSS feed fails to load and debug is on the rendered page could get quite ugly. I now capture the error into a string and simply show the user a 'load feed error' link pointing to this new error page. This new error page simply displays the full error message with more detail about why that particular feed failed to load (from file or url, etc) 2005-01-19 23:55:25 +00:00
mjollnir_
b2597e0bad Initial support for postgres for rss client block table 2005-01-18 21:58:28 +00:00
dhawes
221a85301e using localized string instead of hard coded english for print header functioncall 2005-01-17 23:22:16 +00:00
stronk7
f516e2b9cf Changed required templib.php to rsslib.php. This will, at least, allow to
install and use 1.5dev. Not completely, but usable...
2005-01-17 17:12:24 +00:00
moodler
c2a75e442c Some HTML tidyups 2004-12-31 08:51:21 +00:00
moodler
839bbd4d10 This block now works without blog 2004-12-31 07:42:22 +00:00
dhawes
9723afd1d0 bug fixes 2004-12-31 03:38:22 +00:00
dhawes
fd6360ecac minor bug fixes 2004-12-31 03:11:03 +00:00
dhawes
e999246f3f bug fixes - had let a blog specific function sneak back in 2004-12-31 02:22:30 +00:00
dhawes
92ce1eb2ef Updated for better reporting when loading from remote url fails. Now displays error when adding URL when it cannot load even when ->debug is off. Added new feature - select multiple feeds to display in each block instance. 2004-12-30 18:08:38 +00:00
dhawes
a7c17aa0c7 fixed lang string reference and added link to add/edit feeds from admin page 2004-12-17 03:39:10 +00:00
dhawes
12a33d9ff6 oops, this should have been put in the moodle/lang folder. moving 2004-12-14 18:10:48 +00:00
dhawes
72035d793e first add of new rss client block. please take a moment to test its features and provide feedback 2004-12-14 18:09:20 +00:00