Author Archives: cowman.chiang

elasticsearch.yml 檔案說明

##################### Elasticsearch Configuration Example ##################### # This file contains an overview of various configuration settings, # targeted at operations staff. Application developers should # consult the guide at . 說明此檔案包含多個設定的部份,可以至 Elasticsearch Guide 觀看說明 # # The installation procedure is covered … Continue reading

Posted in Elasticsearch | Leave a comment

Logstash + Redis + Nginx + Kibana + ElasticSearch

環境: Ubuntu 14.04 x64 server 安裝Java環境 sudo apt-get install openjdk-7-jdk 下載Logstash壓縮檔 cd /tmp curl -O https://download.elasticsearch.org/logstash/logstash/logstash-1.4.0.tar.gz tar zxvf logstash-1.4.0.tar.gz -C /opt/logstash 基本測試 cd /opt/logstash bin/logstash -e ‘input { stdin { } } output { stdout {} } # 試著打幾個字看看 安裝Elasticsearch … Continue reading

Posted in Elasticsearch, Kibana, Logstash, Redis | Leave a comment

OBS – Get Active Publish Streaming

然後再使用php進行parse去除不必要的資訊

Posted in OBS, PHP, XML | Leave a comment

Xibo 修改網頁page template

避免在指派播放網頁的時候會因為activeX被關閉而失敗 修改 {xibo directory}/modules/preview/HtmlTemplateSimple.html 最上面加入 <!– saved from url=(0014)about:internet –>

Posted in Xibo | Leave a comment

Xibo使用web page時出現白邊解決方法

即使在設定上已經選擇了fullscreen,可是在client播放時四週會有白邊 這時候的解決方法為將layout的設定稍為超過,蓋掉白邊…Orz

Posted in Xibo | Leave a comment

Youtube Link

參考: https://youtube.com/watch?v=%7B%E5%BD%B1%E7%89%87ID%7D%3F%7B%E5%8F%83%E6%95%B8%7D 參數: ps. [參數] 為預設值 rel={0:播放後不顯示相關影片|[1]:播放後顯示相關影片} autoplay={[0]:不自動播放|1:自動播放} controls={0:不顯示控制列|[1]:顯示控制列|2:當播放時,flash播放器才會啟動} loop={[0]:不重覆播放|1:重覆播放}

Posted in Youtube | Leave a comment

Xibo 增加 Menu

page 資料表新增資料 pageID => 流水號 name => 名稱 pageGroupID => groupID menuitem 資料表新增資料 MenuItemID => 流水號 MenuID => 屬於哪一層Menu PageID => 哪一個頁面,對應到 1. 的資料 Args => link,外部link要連http一起打 Text => 顯示資訊 Class => 未知 Img => 圖片 Sequence => 在這一層menu的順序 External … Continue reading

Posted in Xibo | Leave a comment

Xibo 修正上傳中文檔名會空白

修改 {xibo}/3rdparty/jquery-file-upload/UploadHandler.php 主要是因為basename這個function對解析中文會有問題~ protected function trim_file_name($name, $type, $index, $content_range) { // Remove path information and dots around the filename, to prevent uploading // into different directories or replacing hidden system files. // Also remove control characters and spaces (x00..x20) around … Continue reading

Posted in Xibo | Leave a comment

Xibo 增加 display 顯示頁面連結,開啟 rtmp 串流頁面

修改 {xibo}/theme/default/html/display_page_grid.php 修改為 <img src=”../OBSLogo80.png” alt=”” width=”20″ />

Posted in Xibo | Leave a comment

Xibo 修改外部 link 為新開視窗

修改檔案 {xibo}/lib/app/thememanager.class.php $item[‘li’] = ” . $item[‘title’] . ”; 修改為 $item[‘li’] = ” . $item[‘title’] . ”;

Posted in Xibo | Leave a comment