function uft8html2utf8( $s ) { if ( !function_exists('uft8html2utf8_callback') ) { function uft8html2utf8_callback($t) { $dec = $t[1]; if ($dec < 128) { $utf = chr($dec); } else if ($dec < 2048) { $utf = chr(192 + (($dec - ($dec % 64)) / 64)); $utf .= chr(128 + ($dec % 64)); } else { $utf = chr(224 + (($dec - ($dec % 4096)) / 4096)); $utf .= chr(128 + ((($dec % 4096) - ($dec % 64)) / 64)); $utf .= chr(128 + ($dec % 64)); } return $utf; } } return preg_replace_callback('|([0-9]{1,});|', 'uft8html2utf8_callback', $s ); } function addMe2DaySkin($target, $mother) { global $entryView; requireComponent("Tattertools.Function.misc"); $me2day = getMe2Day(); misc::dress('Me2Day', $me2day, $entryView); return $target; } function addMe2DaySB($parameter) { global $configVal; requireComponent( "Tattertools.Function.misc"); $data = misc::fetchConfigVal($configVal); if (isset($parameter['preview'])) { // preview mode $retval = "미투데이에 올린 자신의 글을 확인할 수 있습니다."; return $retval; } $me2day = getMe2Day(); if($data['sb_use'] == 'T') { return $me2day; }return; } function getMe2Day(){ global $pluginURL, $entryView, $configVal; requireComponent('Eolin.PHP.HTTPRequest'); requireComponent('Tattertools.Function.misc'); requireComponent('Eolin.PHP.Core'); $data = misc::fetchConfigVal($configVal); $me2day_id=split(',',$data['me2day_url']); for($i=0; $i < count($me2day_id); $i++) { $me2day_url = 'http://me2day.net/'.$me2day_id[$i]; $me2day_rss = $me2day_url.'/rss'; $request = new HTTPRequest($me2day_rss); $request->timeout = 1; if ($request->send()){ $rst = $request->responseText; } // $rst = html_entity_decode($rst); $rst = uft8html2utf8($rst); $xmls = new XMLStruct(); $xmls->open($rst); if($xmls->doesExist('/rss/channel/title')) { $title=$xmls->getValue('/rss/channel/title'); } if($xmls->doesExist('/rss/channel/link')) { $link=$xmls->getValue('/rss/channel/link'); } $rankicon = ($data['icon_use']=='T')?" style=\"margin:4px 0px 0px 0px;padding:0px;list-style:none;margin-left:1px;\"":""; list($me2dayer, $temp) = split('님의 ', $title); $me2day .= $data['md_header']."\n"; $me2day .= "
$max_data[visits]
"; if($cut_peak == 'true') $target .= $avg; else $target .= round($max_data[visits]/2); $target .="
-$how_day days
today : $lastvisit
우선 개발 줄기가 두 갈래로 갈라졌습니다.하나는 호환성을 위한 유지보수 줄기이며3.0.1을 목표로 하는 SNAPSHOT 버전으로 등록되어 있습니다.또 하나는 신규 기능을 위한 차기 버전 줄기이며3.1 버전을 목표로 하는 SNAPSHOT 버전으로 등록되어 있습니다.그럼 이 두 가지 줄기에 대해서 형상관리 서버인 서브 버전에서 어떻게 작업을 하느냐 하면차기 버전 줄기에 신규 기능을 추가할 때는 trunk 를 체크아웃 받아서 작업하고 commit 합니다.유지보수 줄기에서의 버그 수정 등의 작업은 branches/3.0-maintenance 를 받아서 작업하시면 됩니다.관리 편의상 두 줄기 이상은 동시에 진행하지 않을 계획입니다.아직 올해의 로드맵은 나오지 않았지만 유지보수 줄기에서의 첫 번째 릴리즈는 3.0.1 버전이 될 예정이며 1월 18일로 계획하고 있습니다.3.0.1 릴리즈를 위한 이슈 진행 사항은 이슈트랙커를 참조하시기 바랍니다.
jcf
트랙백 없음 | 댓글 없음
트랙백+댓글 | 트랙백 | 댓글
http://www.expertvill.net/tc/jcfblog/trackback/11