diff options
author | Friendika <info@friendika.com> | 2011-01-17 16:06:22 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-17 16:06:22 -0800 |
commit | 710cb7d13c005b244cf50d2f33479b68596d1330 (patch) | |
tree | a677f51ed7c6b62b4a39f888ad435bea87703932 | |
parent | 93222142935897d8ddd6289d9ea8736ff0c557f6 (diff) | |
download | volse-hubzilla-710cb7d13c005b244cf50d2f33479b68596d1330.tar.gz volse-hubzilla-710cb7d13c005b244cf50d2f33479b68596d1330.tar.bz2 volse-hubzilla-710cb7d13c005b244cf50d2f33479b68596d1330.zip |
activity object link had incorrect attribute, highlight critical install steps
-rw-r--r-- | INSTALL.txt | 8 | ||||
-rw-r--r-- | boot.php | 2 | ||||
-rw-r--r-- | include/items.php | 3 |
3 files changed, 10 insertions, 3 deletions
diff --git a/INSTALL.txt b/INSTALL.txt index 577f3f354..70e4f24ef 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -17,7 +17,7 @@ hosting provider prior to installation. - Apache with mod-rewrite enabled and "Options All" so you can use a local .htaccess file - - PHP > 5.1. The later the better. You'll need 5.3 for encryption of key + - PHP 5.2+. The later the better. You'll need 5.3 for encryption of key exchange conversations encryption support - PHP *command line* access with register_argc_argv set to true in the @@ -67,6 +67,12 @@ database was not installed correctly. You might wish to move/rename .htconfig.php to another name and empty (called 'dropping') the database tables, so that you can start fresh. +**************************************************************************** +**************************************************************************** +******** THIS NEXT STEP IS IMPORTANT!!!! *********** +**************************************************************************** +**************************************************************************** + 7. Set up a cron job or scheduled task to run the poller once every 5-10 minutes to pick up the recent "public" postings of your friends. Example: @@ -3,7 +3,7 @@ set_time_limit(0); define ( 'BUILD_ID', 1031 ); -define ( 'FRIENDIKA_VERSION', '2.01.1001' ); +define ( 'FRIENDIKA_VERSION', '2.01.1002' ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "<br />\r\n" ); diff --git a/include/items.php b/include/items.php index 1a5ca5a1f..c076e0fbf 100644 --- a/include/items.php +++ b/include/items.php @@ -35,6 +35,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0) else killme(); + /** * * Determine the next birthday, but only if the birthday is published @@ -571,7 +572,7 @@ function encode_rel_links($links) { if($link['attribs']['']['type']) $o .= 'type="' . $link['attribs']['']['type'] . '" '; if($link['attribs']['']['href']) - $o .= 'type="' . $link['attribs']['']['href'] . '" '; + $o .= 'href="' . $link['attribs']['']['href'] . '" '; if( (x($link['attribs'],NAMESPACE_MEDIA)) && $link['attribs'][NAMESPACE_MEDIA]['width']) $o .= 'media:width="' . $link['attribs'][NAMESPACE_MEDIA]['width'] . '" '; if( (x($link['attribs'],NAMESPACE_MEDIA)) && $link['attribs'][NAMESPACE_MEDIA]['height']) |