本館粉絲專頁
查看使用者:Kaoru/Kaoru's工作日誌/200507的源代碼
←
使用者:Kaoru/Kaoru's工作日誌/200507
跳轉到:
導覽
、
搜尋
根據以下的原因,您並無權限去做編輯這個頁面:
該頁面已被保護以防止編輯或其他操作。
你可以檢視並複製本頁面的原始碼。
==0711== ===NDAP=== *Google獲取新聞程式 :→ 試試看放在這裡,看Google會不會抓到... :→ [http://ndap.dils.tku.edu.tw/year/ 台灣44年以來的棒球新聞事件摘要] ==0712== ===NDAP=== *Google獲取新聞程式 :→ 因為新聞仍屬過濾階段,所以XML檔常有錯誤無法出現,<br> : 目前已擋掉"<img"標籤,但仍會出現「此處需輸入分號」以及「此處不可空白」等錯誤訊息,無法完全將新聞以HTML呈現。 :→ 為使近期新聞也能全文閱讀連結,修改ndap/querynews2.jsp查詢資料表為baseballupdate。 :*目前將各年度的呈現情況加以整理如下↓ {| cellSpacing=0 cellPadding=0 width=80% border=1 style=border-collapse: collapse; border: 1px dashed #C0C0C0 bordercolor=#111111 bgcolor=#FFFFD2 align=center |- | width=20% style=border: 1px dotted #C0C0C0 bgcolor=#E1FFE1 align=center|1960年代 | width=20% style=border: 1px dotted #C0C0C0 bgcolor=#E1FFE1 align=center|1970年代 | width=20% style=border: 1px dotted #C0C0C0 bgcolor=#E1FFE1 align=center|1980年代 | width=20% style=border: 1px dotted #C0C0C0 bgcolor=#E1FFE1 align=center|1990年代 | width=20% style=border: 1px dotted #C0C0C0 bgcolor=#E1FFE1 align=center|2000年代 |- | width=20% style=border: 1px dotted #C0C0C0 align=center| | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1970 1970] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1980 1980] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1990 1990] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=2000 2000] - 空白 |- | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1961 1961] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1971 1971] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1981 1981] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1991 1991] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=2001 2001] - 分號 |- | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1962 1962] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1972 1972] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1982 1982] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1992 1992] - 空白 | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=2002 2002] - 空白 |- | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1963 1963] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1973 1973] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1983 1983] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1993 1993] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=2003 2003] - 分號 |- | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1964 1964] - 標記 | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1974 1974] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1984 1984] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1994 1994] - 空白 | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=2004 2004] - 分號 |- | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1965 1965] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1975 1975] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1985 1985] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1995 1995] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center| |- | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1966 1966] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1976 1976] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1986 1986] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1996 1996] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center| |- | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1967 1967] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1977 1977] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1987 1987] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1997 1997] - 分號 | width=20% style=border: 1px dotted #C0C0C0 align=center| |- | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1968 1968] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1978 1978] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1988 1988] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1998 1998] - 空白 | width=20% style=border: 1px dotted #C0C0C0 align=center| |- | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1969 1969] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1979 1979] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1989 1989] - OK | width=20% style=border: 1px dotted #C0C0C0 align=center|[http://ndap.dils.tku.edu.tw/year/year.asp?y=1999 1999] - 分號 | width=20% style=border: 1px dotted #C0C0C0 align=center| |} :*今天Google還搜尋不到這個頁面。 :*另外發現Google也可以找到XML檔,以「台灣棒球史上的今天」搜尋Google,查詢結果如下圖↓ <center> [[Image:050712Google.jpg]] </center> ==0714== ===OAI-PMH=== *YA!YA!! [http://re.cs.uct.ac.za/ Open Archives Initiative - Repository Explorer] 42個測試都過了!!XD :→ 目前resumptionToken採「TwBsBall-紀錄編號」,其實原本是想仿照「紀錄/全部紀錄」的紀錄方式, : 可是rs.RecordCount不管我怎測都顯示-1...T_T...就是讀不到全部紀錄集,無法解決只好先檔掉不顯示它*爆汗*。 <pre> Open Archives Initiative :: Protocol for Metadata Harvesting v2.0 RE Protocol Tester 1.46 :: UCT AIM :: January 2005 (1) Testing : Identify URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=Identify Test Result : OK ---- [ Repository Name = NDAP Data Provider ] ---- [ Protocol Version = 2.0 ] ---- [ Base URL = http://ndap.dils.tku.edu.tw/site/oai/oai.asp ] ---- [ Admin Email = kaorukang@hotmail.com ] ---- [ Granularity = YYYY-MM-DD ] ---- [ Earliest Datestamp = 1961-01-02 ] (2) Testing : Identify (illegal_parameter) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=Identify&test=test Test Result : OK (3) Testing : ListMetadataFormats URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListMetadataFormats Test Result : OK ---- [ Only oai_dc supported ] (4) Testing : ListSets URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListSets Test Result : OK ---- [ Sample Set Spec = apple ] (5) Skipping : ListSets (resumptionToken) This test is being skipped because it cannot or should not be performed. (6) Testing : ListIdentifiers (oai_dc) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc Test Result : OK ---- [ Sample Identifier = oai:ndap.dils.tku.edu.tw:T0000001 ] ---- [ Identifier Resumption Token = TwBsBall-15 ] (7) Testing : ListIdentifiers (resumptionToken) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&resumptionToken=TwBsBall-15 Test Result : OK (8) Testing : ListIdentifiers (resumptionToken, oai_dc) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&resumptionToken=TwBsBall-15&metadataPrefix=oai_dc Test Result : OK (9) Testing : ListIdentifiers (oai_dc, from/until) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2000-01-01&until=2000-01-01 Test Result : OK (10) Testing : ListIdentifiers (oai_dc, set, from/until) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&set=apple&from=2000-01-01&until=2000-01-01 Test Result : OK (11) Testing : ListIdentifiers (oai_dc, illegal_set, illegal_from/until) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&set=really_wrong_set&from=some_random_date&until=some_random_date Test Result : OK (12) Testing : ListIdentifiers (oai_dc, from granularity != until granularity) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2001-01-01&until=2002-01-01T00:00:00Z Test Result : OK (13) Testing : ListIdentifiers (oai_dc, from > until) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2000-01-01&until=1999-01-01 Test Result : OK (14) Testing : ListIdentifiers () URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers Test Result : OK (15) Skipping : ListIdentifiers (metadataPrefix) This test is being skipped because it cannot or should not be performed. (16) Testing : ListIdentifiers (illegal_mdp) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=illegal_mdp Test Result : OK (17) Testing : ListIdentifiers (mdp, mdp) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&metadataPrefix=oai_dc Test Result : OK (18) Testing : ListIdentifiers (illegal_resumptiontoken) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&resumptionToken=junktoken Test Result : OK (19) Testing : ListIdentifiers (oai_dc, from YYYY-MM-DD) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2001-01-01 Test Result : OK (20) Testing : ListIdentifiers (oai_dc, from YYYY-MM-DDThh:mm:ssZ) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2001-01-01T00:00:00Z Test Result : OK (21) Testing : ListIdentifiers (oai_dc, from YYYY) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2001 Test Result : OK (22) Testing : ListMetadataFormats (identifier) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListMetadataFormats&identifier=oai:ndap.dils.tku.edu.tw:T0000001 Test Result : OK ---- [ Only oai_dc supported ] (23) Testing : ListMetadataFormats (illegal_id) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListMetadataFormats&identifier=really_wrong_id Test Result : OK (24) Skipping : GetRecord (identifier, metadataPrefix) This test is being skipped because it cannot or should not be performed. (25) Testing : GetRecord (identifier, oai_dc) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=GetRecord&identifier=oai:ndap.dils.tku.edu.tw:T0000001&metadataPrefix=oai_dc Test Result : OK (26) Testing : GetRecord (identifier) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=GetRecord&identifier=oai:ndap.dils.tku.edu.tw:T0000001 Test Result : OK (27) Testing : GetRecord (identifier, illegal_mdp) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=GetRecord&identifier=oai:ndap.dils.tku.edu.tw:T0000001&metadataPrefix=really_wrong_mdp Test Result : OK (28) Testing : GetRecord (oai_dc) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=GetRecord&metadataPrefix=oai_dc Test Result : OK (29) Testing : GetRecord (illegal_id, oai_dc) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=GetRecord&identifier=really_wrong_id&metadataPrefix=oai_dc Test Result : OK (30) Testing : GetRecord (invalid_id, oai_dc) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=GetRecord&identifier=invalid\"id&metadataPrefix=oai_dc Test Result : OK (31) Testing : ListRecords (oai_dc, from/until) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListRecords&metadataPrefix=oai_dc&from=2000-01-01&until=2000-01-01 Test Result : OK (32) Skipping : ListRecords (resumptionToken) This test is being skipped because it cannot or should not be performed. (33) Skipping : ListRecords (metadataPrefix, from/until) This test is being skipped because it cannot or should not be performed. (34) Testing : ListRecords (oai_dc, illegal_set, illegal_from/until) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListRecords&metadataPrefix=oai_dc&set=really_wrong_set&from=some_random_date&until=some_random_date Test Result : OK (35) Testing : ListRecords URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListRecords Test Result : OK (36) Testing : ListRecords (oai_dc, from granularity != until granularity) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListRecords&metadataPrefix=oai_dc&from=2001-01-01&until=2002-01-01T00:00:00Z Test Result : OK (37) Testing : ListRecords (oai_dc, until before earliestDatestamp) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListRecords&metadataPrefix=oai_dc&until=1960-01-02 Test Result : OK (38) Testing : ListRecords (oai_dc) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListRecords&metadataPrefix=oai_dc Test Result : OK (39) Testing : ListRecords (illegal_resumptiontoken) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListRecords&resumptionToken=junktoken Test Result : OK (40) Testing : ListIdentifiers (oai_dc, set) URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=ListIdentifiers&metadataPrefix=oai_dc&set=apple Test Result : OK (41) Skipping : GetRecord (identifier, oai_dc) This test is being skipped because it cannot or should not be performed. (42) Testing : IllegalVerb URL : http://ndap.dils.tku.edu.tw/site/oai/oai.asp?verb=IllegalVerb Test Result : OK ---- Total Errors : 0 -------------------------------------------------------------------------------- Congratulations ! </pre> *[http://www.openarchives.org/data/registerasprovider.html Data Provider Validation and Registration] 的1.2步驟也全過了!XD :→ 第三步是[http://www.cs.cornell.edu/people/simeon/software/utf8conditioner/ 安裝UTF8的調節器]...有點看不懂怎用,可我們之後要改成BIG5編碼...那這步驟需要嗎?@_@? {| cellSpacing=0 cellPadding=0 width=80% border=1 style=border-collapse: collapse; border: 1px dashed #C0C0C0 bordercolor=#111111 bgcolor=#FFFFD2 |- | style="border: 1px dotted #C0C0C0" SUMMARY: Total exceptions improperly handled: 0 out of 15 Total error count: 0 Your repository validated (at Protocol Version 2.0) according to our OAI protocol conformance tester. Your repository has not been registered in the OAI database of conforming repositories. The OAI identifier ndap.dils.tku.edu.tw has not been reserved for your use. ............................................................................... Total number of exceptions missed: 0 Total error count: 0 Your repository is robust as well as compliant Note: only spot checks have been made to check for UTF-8 correctness. To make sure your entire site is clean, or to fix it so that it works, you might use Simeon Warner's utf8conditioner, found on the OAI tools page or downloadable from http://www.cs.cornell.edu/people/simeon/software/utf8conditioner/ |}
返回到
使用者:Kaoru/Kaoru's工作日誌/200507
。
導航
個人工具箱
建立新帳號
登入
名字空間
用戶頁面
討論
變換
檢視
閱讀
原始碼
檢視歷史
動作
搜索
導航
首頁
最近更改
編輯討論
輔助說明
語法練習
建新頁面
聯絡我們
姊妹站
台灣籃球維基館
淡水維基館
棒球姊妹館
棒球歷史新聞館
棒球數位文物館
工具
連入頁面
相關頁面修訂記錄
用戶貢獻
紀錄集
特殊頁面
頁面資訊