* fix autodetection using ports if not :80.
Version 0.9 ()
------------------------------------------------------------------------
+ * Fix RSS 1.0 missing top-level namespace (garvinhicking)
+
* Added new event hook to the trackback sending facility so that
plugins like serendipity_event_trackback (additional_plugins)
can send trackbacks to Blogs without RDF-metadata (garvinhicking)
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
- xmlns:wfw="http://wellformedweb.org/CommentAPI/">
-<channel rdf:about="{$serendipity['baseURL']}rss.php?version=1.0">
+ xmlns:wfw="http://wellformedweb.org/CommentAPI/"
+ xmlns="http://my.netscape.com/rdf/simple/0.9/">
+<channel>
<title>$title</title>
<link>{$serendipity['baseURL']}</link>
<description>$description</description>
if ( (isset($serendipity['autodetect_baseURL']) && serendipity_db_bool($serendipity['autodetect_baseURL'])) ||
(isset($serendipity['embed']) && serendipity_db_bool($serendipity['embed'])) ) {
- $serendipity['baseURL'] = 'http' . (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 's' : '') . '://' . $_SERVER['HTTP_HOST'] . $serendipity['serendipityHTTPPath'];
+ $serendipity['baseURL'] = 'http' . (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 's' : '') . '://' . $_SERVER['HTTP_HOST'] . (!empty($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '80' ? ':' . $_SERVER['SERVER_PORT'] : '') . $serendipity['serendipityHTTPPath'];
}
/*