7 Commits

Author SHA1 Message Date
Petr Skoda
6f5e085205 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 16:48:45 +00:00
poltawski
d175fe4c53 lib/simplepie MDL-7946 - improve simplepie defaults
- Specify default low connect timeout in order that 'interactive' pages are
  not slowed down by slow feeds
- Set default cache feed duration of 1 hour

In RSS feed block:
- Try really hard in cron to retreive the feed
- Set the cache duration low in order to help cron refresh the cache
2009-07-30 18:57:19 +00:00
poltawski
1597e75d5e lib/simplepie MDL-7946 Set magpie HTTP headers with curl
This allows simplepie to set if-modified-since/if-none-match headers
to efficiently test if a feed has been updated without recieving the
whole content
2009-07-30 16:11:00 +00:00
poltawski
926987ab5e lib/simplepie: Improve Integration MDL-7946, MDL-13932
Added more unit tests, improved style and fixed:
- Failed behaviour of redirects
- Incorrect behaviour on feed retrival failure
- Ensured rss cache clear for unit test setup
2009-07-27 14:18:01 +00:00
skodak
ec00bfc5cd MDL-19873 imported new SimplePie 1.2 2009-07-19 13:14:44 +00:00
poltawski
668fa0d667 simplepie: fix class name caseing: MDL-7946, MDL-13932 2009-04-13 16:00:44 +00:00
poltawski
80d72d56bc Adding SimplePie feed parsing library MDL-7946, MDL-13932
To replace unmaintained magipie. Simplepie is actively maintained has some
nice features such as feed autodisovery. Implemented a simple extended class
which uses the Moodle core curl class from filelib.

Added unit test using the moodle.org sample files. Please note these tests will
fail if moodle can't make http connections out, so ensure proxy settings
etc are correct.
2009-04-13 15:29:08 +00:00