| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Handles external Feeds via Magpie libaray. More...
 Collaboration diagram for ilExternalFeed:
 Collaboration diagram for ilExternalFeed:| Public Member Functions | |
| ilExternalFeed () | |
| Constructor. | |
| setUrl ($a_url) | |
| Set Url. | |
| getUrl () | |
| Get Url. | |
| setError ($a_error) | |
| Set Error. | |
| getError () | |
| Get Error. | |
| fetch () | |
| Fetch the feed. | |
| checkCacheHit () | |
| Check cache hit. | |
| getChannelTitle () | |
| Get Channel. | |
| getChannelDescription () | |
| Get Description. | |
| getItems () | |
| Get Items. | |
| _getRSSLocation ($html, $location) | |
| This one is by Keith Devens , see http://keithdevens.com/weblog/archive/2002/Jun/03/RSSAuto-DiscoveryPHP. | |
| Static Public Member Functions | |
| static | _createCacheDirectory () | 
| Create magpie cache directorry (if not existing) | |
| static | _checkUrl ($a_url) | 
| Check Url. | |
| static | _determineFeedUrl ($a_url) | 
| Determine Feed Url. | |
| Protected Attributes | |
| $items = array() | |
Handles external Feeds via Magpie libaray.
Definition at line 22 of file class.ilExternalFeed.php.
| 
 | static | 
Check Url.
| string | URL | 
Definition at line 104 of file class.ilExternalFeed.php.
References _createCacheDirectory(), and ilProxySettings\_getInstance().
Referenced by ilFeedUrlInputGUI\checkInput().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 _checkUrl(), checkCacheHit(), and ilExternalFeed().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 $res, ilProxySettings\_getInstance(), and _getRSSLocation().
Referenced by ilFeedUrlInputGUI\checkInput().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilExternalFeed::_getRSSLocation | ( | $html, | |
| $location | |||
| ) | 
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.
Referenced by _determineFeedUrl().
 Here is the caller graph for this function:
 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:
 Here is the call graph for this function:| ilExternalFeed::fetch | ( | ) | 
Fetch the feed.
Definition at line 143 of file class.ilExternalFeed.php.
References getUrl(), and setError().
 Here is the call graph for this function:
 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.
| ilExternalFeed::getItems | ( | ) | 
| ilExternalFeed::getUrl | ( | ) | 
Get Url.
Definition at line 62 of file class.ilExternalFeed.php.
Referenced by checkCacheHit(), and fetch().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilExternalFeed::ilExternalFeed | ( | ) | 
Constructor.
Definition at line 29 of file class.ilExternalFeed.php.
References _createCacheDirectory(), and ilProxySettings\_getInstance().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilExternalFeed::setError | ( | $a_error | ) | 
Set Error.
| string | $a_error | Error | 
Definition at line 72 of file class.ilExternalFeed.php.
Referenced by fetch().
 Here is the caller 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().