aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-25 01:57:04 -0800
committerfriendica <info@friendica.com>2013-12-25 01:57:04 -0800
commitfe00e9b2615dbc06ee0db82ca2c4334baa64e258 (patch)
treecd940d1b5b9aacf5455d92e95a2e324fbdffd546 /mod/zfinger.php
parent48f882c34b737205451a28da1238a38ec0d4af00 (diff)
downloadvolse-hubzilla-fe00e9b2615dbc06ee0db82ca2c4334baa64e258.tar.gz
volse-hubzilla-fe00e9b2615dbc06ee0db82ca2c4334baa64e258.tar.bz2
volse-hubzilla-fe00e9b2615dbc06ee0db82ca2c4334baa64e258.zip
extend the directory profiles a bit more
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index aad8e224d..94671271b 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -126,12 +126,16 @@ function zfinger_init(&$a) {
$profile['region'] = $p[0]['region'];
$profile['postcode'] = $p[0]['postal_code'];
$profile['country'] = $p[0]['country_name'];
+ $profile['about'] = $p[0]['about'];
+ $profile['homepage'] = $p[0]['homepage'];
+ $profile['hometown'] = $p[0]['hometown'];
+
if($p[0]['keywords']) {
$tags = array();
$k = explode(' ',$p[0]['keywords']);
if($k) {
foreach($k as $kk) {
- if(trim($kk)) {
+ if(trim($kk," \t\n\r\0\x0B,")) {
$tags[] = trim($kk," \t\n\r\0\x0B,");
}
}