|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Handles external Feeds via Magpie libaray. More...
Collaboration diagram for ilExternalFeed:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| setUrl ($a_url) | |
| Set Url. More... | |
| getUrl () | |
| Get Url. More... | |
| setError ($a_error) | |
| Set Error. More... | |
| getError () | |
| Get Error. More... | |
| fetch () | |
| Fetch the feed. More... | |
| checkCacheHit () | |
| Check cache hit. More... | |
| getChannelTitle () | |
| Get Channel. More... | |
| getChannelDescription () | |
| Get Description. More... | |
| getItems () | |
| Get Items. More... | |
Static Public Member Functions | |
| static | _createCacheDirectory () |
| Create magpie cache directorry (if not existing) More... | |
| static | _checkUrl ($a_url) |
| Check Url. More... | |
| static | _determineFeedUrl ($a_url) |
| Determine Feed Url. More... | |
| static | _getRSSLocation ($html, $location) |
| This one is by Keith Devens , see http://keithdevens.com/weblog/archive/2002/Jun/03/RSSAuto-DiscoveryPHP. More... | |
Protected Attributes | |
| $items = array() | |
Handles external Feeds via Magpie libaray.
Definition at line 22 of file class.ilExternalFeed.php.
| ilExternalFeed::__construct | ( | ) |
Constructor.
Definition at line 29 of file class.ilExternalFeed.php.
References _createCacheDirectory(), and ilProxySettings\_getInstance().
Here is the call graph for this function:
|
static |
Check Url.
| string | URL |
Definition at line 104 of file class.ilExternalFeed.php.
References $error, _createCacheDirectory(), ilProxySettings\_getInstance(), and defined.
Referenced by ilFeedUrlInputGUI\checkInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Create magpie cache directorry (if not existing)
Definition at line 90 of file class.ilExternalFeed.php.
References ilUtil\getWebspaceDir(), and ilUtil\makeDir().
Referenced by __construct(), _checkUrl(), and checkCacheHit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Determine Feed Url.
| $a_url | URL that |
Definition at line 234 of file class.ilExternalFeed.php.
References $contents, $res, ilProxySettings\_getInstance(), _getRSSLocation(), and defined.
Referenced by ilFeedUrlInputGUI\checkInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
This one is by Keith Devens , see http://keithdevens.com/weblog/archive/2002/Jun/03/RSSAuto-DiscoveryPHP.
Definition at line 271 of file class.ilExternalFeed.php.
References $html, $location, and $n.
Referenced by _determineFeedUrl().
Here is the caller graph for this function:| ilExternalFeed::checkCacheHit | ( | ) |
Check cache hit.
Definition at line 178 of file class.ilExternalFeed.php.
References _createCacheDirectory(), getUrl(), MAGPIE_CACHE_AGE, and MAGPIE_CACHE_DIR.
Here is the call graph for this function:| ilExternalFeed::fetch | ( | ) |
Fetch the feed.
Definition at line 143 of file class.ilExternalFeed.php.
References $error, getUrl(), and setError().
Here is the call graph for this function:| ilExternalFeed::getChannelDescription | ( | ) |
Get Description.
Definition at line 216 of file class.ilExternalFeed.php.
| ilExternalFeed::getChannelTitle | ( | ) |
Get Channel.
Definition at line 208 of file class.ilExternalFeed.php.
| ilExternalFeed::getError | ( | ) |
Get Error.
Definition at line 82 of file class.ilExternalFeed.php.
References $error.
| ilExternalFeed::getItems | ( | ) |
| ilExternalFeed::getUrl | ( | ) |
Get Url.
Definition at line 62 of file class.ilExternalFeed.php.
References $url.
Referenced by checkCacheHit(), and fetch().
Here is the caller graph for this function:| ilExternalFeed::setError | ( | $a_error | ) |
Set Error.
| string | $a_error | Error |
Definition at line 72 of file class.ilExternalFeed.php.
References error().
Referenced by fetch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExternalFeed::setUrl | ( | $a_url | ) |
Set Url.
| string | $a_url | Url |
Definition at line 52 of file class.ilExternalFeed.php.
|
protected |
Definition at line 24 of file class.ilExternalFeed.php.
Referenced by getItems().