13 if (empty(
$vars[
'title'])) {
23 $rssurl = htmlspecialchars(
$url, ENT_NOQUOTES,
'UTF-8');
24 $url = htmlspecialchars(
$url, ENT_NOQUOTES,
'UTF-8');
34 header(
'Pragma: public',
true);
35 header(
"Content-Type: text/xml");
37 echo "<?xml version='1.0'?>";
39 <rss
version=
"2.0" xmlns:dc=
"http://purl.org/dc/elements/1.1/" xmlns:georss=
"http://www.georss.org/georss" xmlns:atom=
"http://www.w3.org/2005/Atom" $namespaces>
43 <atom:link href=
"$rssurl" rel=
"self" type=
"application/rss+xml" />
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
if(!$site) if(!($site instanceof ElggSite)) $site description
elgg_http_remove_url_query_element($url, $element)
Removes an element from a URL's query string.
elgg echo
Translates a string.
if(!array_key_exists($size, $icon_sizes)) $vars['size']
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
clearfix elgg elgg elgg elgg page header