90 Commits

Author SHA1 Message Date
dhawes
29a6bbd1e8 latest magpie. moved from rss folder to lib. 2005-01-23 22:10:06 +00:00
dhawes
800e573926 moving to moodle/lib 2005-01-23 22:02:03 +00:00
dhawes
1ddd7bd00b smarty template file example 2005-01-23 15:58:04 +00:00
dhawes
4445368893 date manipulation script 2005-01-23 15:55:03 +00:00
dhawes
b6442a5e3a magpie templates. SMARTY examplesls 2005-01-23 15:52:52 +00:00
dhawes
ae4b445f6e magpie help files 2005-01-23 15:50:52 +00:00
dhawes
33fa9405b9 magpie's modified version of Snoopy class 2005-01-23 15:48:57 +00:00
dhawes
100ed1cf2b Magpie 0.7.1 - all relevant files. Simplog had been using only one of these files and it was renamed. Simplog had written an Atom feed parser based on magpie and was losing out on much of the magpie functionality because of it. This latest release supports Atom feeds so the need to for separate objects is gone. By using the full release upgrades become easier in the future. We also gain some of magpie's lost feature set such as the use of a modified Snoopy http client for retrieving feeds instead of an fopen() call - which means that php.ini does not need to be modified to turn allow_url_fopen to On. 2005-01-23 15:47:31 +00:00
dhawes
2be9581d65 latest version works with new magpie 0.7.1 files 2005-01-23 15:37:47 +00:00
dhawes
30e953153b RSS and Atom now handled by latest version of magpierss (magpierss.sourceforge.com). class.RSS.php was a renamed include file from magpie which was 2 versions old. I've reworked the code to use the official magpie release which should allow for easier upgrades in the future. 2005-01-23 15:35:45 +00:00
dhawes
79dd93a920 refactored a big scary function a bit. hopefully it is more readable this way. this change also paved the way for extra caching in the block's config structure. 2005-01-21 03:27:38 +00:00
dhawes
bab450a05a cleaned up some quotes. Removed reference to blog for an image, now use the standard rss xml.gif image from moodle install 2005-01-20 01:35:04 +00:00
dhawes
19c6481869 cleaned up a bad copy/paste in a few if statements 2005-01-20 01:01:48 +00:00
dhawes
53195528a1 minor tweak to error output text 2005-01-20 00:10:23 +00:00
dhawes
c7ac239b80 updated rss_client functions to return any errors encountered along the way (assuming that the feed could not be loaded) in an object as ->ERROR. This matches the object that is returned, it would have a ->ERROR string if there was a problem as well. 2005-01-19 23:51:27 +00:00
dhawes
e8181a56b4 moved functions from templib.php to rsslib.php for rss_client block 2005-01-17 18:03:15 +00:00
dhawes
765b5b3586 moved functions into rsslib.php. Passed this by Eloy and got his OK first 2005-01-16 21:20:15 +00:00
gustav_delius
e76640e26e fixed short php tag spotted by Mad Alex 2005-01-11 20:03:16 +00:00
dhawes
9723afd1d0 bug fixes 2004-12-31 03:38:22 +00:00
dhawes
8766b89f93 a little cleanup 2004-12-30 18:27:40 +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
0eb35827c6 first addition of extra rss files needed by rss_client block. templib functionality should be moved to rsslib.php if Eloy is OK with that 2004-12-17 02:45:21 +00:00
stronk7
c5152930f5 Now filename is fixed to rss.xml. SC#23 2004-12-15 23:21:25 +00:00
stronk7
be88433c7e filename is the 5th parameter. Now it's cleaned and used
by the send_file() function.
2004-12-14 20:28:23 +00:00
stronk7
fa6ed70c93 Minimum change (curiosly PHP doesn't warn about it). 2004-12-14 19:40:51 +00:00
skodak
e7f927a0fc new handling of uploaded files, please TEST, TEST, TEST 2004-12-14 18:57:51 +00:00
stronk7
c062fee637 Check added. SC#23
Merged from MOODLE_14_STABLE
2004-12-12 12:54:32 +00:00
stronk7
ec6dc3f6d7 New rss_geterrorxmlfile() function added
and some optional data checked.

Merged from MOODLE_14_STABLE
2004-12-01 19:51:45 +00:00
stronk7
b2ddd9d7ae Now RSS links are displayed ok in SITEID course.
Bug 2048.
(http://moodle.org/bugs/bug.php?op=show&bugid=2048)

Merged from MOODLE_14_STABLE
2004-10-04 22:21:30 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
stronk7
65f1df629c Preparing rss stuff to be showed in lists of activities... 2004-08-07 16:54:25 +00:00
moodler
6069e20688 RSS for forums now checks the new posts against the file modification date,
and doesn't regenerate the RSS file if it doesn't need to.

Much faster now.   :-)
2004-08-05 18:06:55 +00:00
moodler
b65a50e5a2 Use mtrace function for debugging 2004-08-05 17:25:15 +00:00
moodler
7613890851 BRANCH MERGE
These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
stronk7
bc706aeb5f Now make_upload_directory() is used, avoiding dependencies to
backup/lib.php. I think that, gradually, I'll can modify the
backup/restore process to use this "core" function everywhere!!
Bug 1467.
(http://moodle.org/bugs/bug.php?op=show&bugid=1467)
2004-05-26 16:12:58 +00:00
stronk7
2f29ee130c Now scheduled bakup checks for required XML functions to work.
Bug 1432. Closed now... :-)
(http://moodle.org/bugs/bug.php?op=show&bugid=1432)
2004-05-20 15:19:19 +00:00
stronk7
c0f778a269 Added some consistency with the show/hide feature in Moodle.
Now if the course is hidden or the activity is hidden, only
teachers cand download the feed.
2004-05-09 18:59:36 +00:00
stronk7
ca87cbe100 Some improvements in RSS:
- Article's author is showed if present.
- In forum posts feeds, show post->subject instead of discussion->name
- Description contents in every article are passed to format_text() to
  show contents like the rest of Moodle.
2004-05-09 18:34:33 +00:00
stronk7
1adf511c7e Included global $THEME to support custom images... 2004-05-07 18:08:54 +00:00
stronk7
8adcb49f8e First version of RSS System.
Discussion and post forum feeds supported.
Integrated in cron system.
Some strings missing.
Test, test, test...
2004-05-02 23:08:19 +00:00