cvs: pearweb /public_html account-info.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Thu, 20 Mar 2008 19:55:53 +0000 |
| Subject: | cvs: pearweb /public_html account-info.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7341@lists.php.net to get a copy of this message | ||
dufuz Thu Mar 20 19:55:53 2008 UTC
Modified files:
/pearweb/public_html account-info.php
Log:
Partially fixes Request #13187 Improve the RDF being output by pearweb
http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-info.php?r1=1.60&r2=1.61&diff_format=u
Index: pearweb/public_html/account-info.php
diff -u pearweb/public_html/account-info.php:1.60 pearweb/public_html/account-info.php:1.61
--- pearweb/public_html/account-info.php:1.60 Sun Jan 13 20:54:44 2008
+++ pearweb/public_html/account-info.php Thu Mar 20 19:55:53 2008
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: account-info.php,v 1.60 2008/01/13 20:54:44 dufuz Exp $
+ $Id: account-info.php,v 1.61 2008/03/20 19:55:53 dufuz Exp $
*/
@@ -62,7 +62,10 @@
}
-response_header('User Information :: ' . htmlspecialchars($row['name']));
+$extraHeaders = '<link rel="alternate"
href="/map/locationREST.php?handle=' . $handle . '"
type="application/rdf+xml" title="FOAF" />';
+$extraHeaders .= '<link rel="alternate" href="/feeds/user_' . $handle .
'.rss" type="application/rdf+xml" title="Packages involving this user"
/>';
+
+response_header('User Information :: ' . htmlspecialchars($row['name']), false,
$extraHeaders);
echo '<h1>User Information: ' . htmlspecialchars($row['name']) .
"</h1>\n";