|
本館粉絲專頁 |
|
|
使用者:Kaoru/Kaoru's工作日誌/200507:修訂版本之間的差異
小 (→0714) |
小 |
||
第324行: | 第324行: | ||
http://www.cs.cornell.edu/people/simeon/software/utf8conditioner/ | http://www.cs.cornell.edu/people/simeon/software/utf8conditioner/ | ||
|} | |} | ||
+ | |||
+ | ==0715== | ||
+ | ===InterWiki=== | ||
+ | *UTF8轉換big5程式 | ||
+ | :→ |
2005年7月15日 (五) 17:24的修訂版本
目次 |
0711
NDAP
- Google獲取新聞程式
- → 試試看放在這裡,看Google會不會抓到...
- → 台灣44年以來的棒球新聞事件摘要
0712
NDAP
- Google獲取新聞程式
- → 因為新聞仍屬過濾階段,所以XML檔常有錯誤無法出現,
- 目前已擋掉"<img"標籤,但仍會出現「此處需輸入分號」以及「此處不可空白」等錯誤訊息,無法完全將新聞以HTML呈現。
- → 為使近期新聞也能全文閱讀連結,修改ndap/querynews2.jsp查詢資料表為baseballupdate。
- 目前將各年度的呈現情況加以整理如下↓
1960年代 | 1970年代 | 1980年代 | 1990年代 | 2000年代 |
1970 - OK | 1980 - OK | 1990 - OK | 2000 - 空白 | |
1961 - OK | 1971 - OK | 1981 - OK | 1991 - OK | 2001 - 分號 |
1962 - OK | 1972 - OK | 1982 - OK | 1992 - 空白 | 2002 - 空白 |
1963 - OK | 1973 - OK | 1983 - OK | 1993 - OK | 2003 - 分號 |
1964 - 標記 | 1974 - OK | 1984 - OK | 1994 - 空白 | 2004 - 分號 |
1965 - OK | 1975 - OK | 1985 - OK | 1995 - OK | |
1966 - OK | 1976 - OK | 1986 - OK | 1996 - OK | |
1967 - OK | 1977 - OK | 1987 - OK | 1997 - 分號 | |
1968 - OK | 1978 - OK | 1988 - OK | 1998 - 空白 | |
1969 - OK | 1979 - OK | 1989 - OK | 1999 - 分號 |
- 今天Google還搜尋不到這個頁面。
- 另外發現Google也可以找到XML檔,以「台灣棒球史上的今天」搜尋Google,查詢結果如下圖↓
0714
OAI-PMH
- YA!YA!! Open Archives Initiative - Repository Explorer 42個測試都過了!!XD
- → 目前resumptionToken採「TwBsBall-紀錄編號」,其實原本是想仿照「紀錄/全部紀錄」的紀錄方式,
- 可是rs.RecordCount不管我怎測都顯示-1...T_T...就是讀不到全部紀錄集,無法解決只好先檔掉不顯示它*爆汗*。
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 !
- Data Provider Validation and Registration 的1.2步驟也全過了!XD
- → 第三步是安裝UTF8的調節器...有點看不懂怎用,可我們之後要改成BIG5編碼...那這步驟需要嗎?@_@?
SUMMARY: Total exceptions improperly handled: 0 out of 15 Total error count: 0
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/ |
0715
InterWiki
- UTF8轉換big5程式
- →