XOOPSはコミュニケーションサイトを簡単に構築出来る一連のソフトウェア群です。
導入済みHack 
Simplified URLの導入 
- SEO対策として導入。
- Simplified URLは、深い階層のURLを見かけ上変更してくれるHack。
http://www.suin.jp/ - /loadpage.php
- /simplified_url.php
- /.htaccess
- /mainfile.php
検索したキーワードをハイライト。 
- Googleのキャッシュページなどでおなじみの検索語マーカーを導入する。
- http://hypweb.net/xoops/modules/pukiwiki/1560.html
バージョンアップしたようです。 - include/getengine.inc.php
- include/search_engines.dat
- include/comman.php
- footer.php
- xoops.css
管理画面-モジュール管理で、各モジュールを表示順にソート。 
- http://jp.xoops.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=3560&forum=17
- include/cp_functions.php
- modules/system/admin/modulesadmin/modulesadmin.php
新規項目に「New」をつける。 
- http://ryus.biz/modules/mydownloads/singlefile.php?cid=3&lid=13
- class/smarty/plugins/modifier.ryus_date.php
- modules/xoopsheadline/blocks/headline_block.html
- xoops.css
このサイトでの修正点 
ヘッドラインモジュールでRSSのdc:dateを拾えるようにする。 
- 現在は、xhldモジュールを使用しています。(この機能はモジュール自体に導入されています。)
- class/xml/rss/xmlrss2parser.php
- 変更点は以下の部分。
- 63行目付近に追加。
(変更前)
$this->addTagHandler(new RssPubDateHandler());
(変更後)
$this->addTagHandler(new RssPubDateHandler()); $this->addTagHandler(new RssDcDateHandler());
- 645行目付近のclass RssPubDateHandler extends XmlTagHandlerの後に以下を追加。
(変更後)
class RssDcDateHandler extends XmlTagHandler
{
function RssDcDateHandler()
{
}
function getName()
{
return 'dc:date';
}
function handleCharacterData(&$parser, &$data)
{
$data = substr($data,5,2)."/".substr($data,8,2)." ".substr($data,11,5);
switch ($parser->getParentTag()) {
case 'channel':
$parser->setChannelData('pubdate', $data);
break;
case 'item':
$parser->setTempArr('pubdate', $data);
break;
default:
break;
}
}
}
Counter: 3731,
today: 1,
yesterday: 0
Last-modified: 2008-06-01 (Sun) 21:09:29 (JST) (68d) by




コメント一覧