I worte a php function to split the xml return of yahoo search api.
It will return a arry, and it’s easy use for me.
8 elements a set.The elements as below.
1.Title
2.Summary
3.Click URL(will auto redirect)
4.The site URL
5.Modify Date time(unit is second since 1970/1/1)
6.Format
7.Cache URL
8.Size
搜尋出來的結果~和在台灣搜尋出來的結果不同
不知道 在這個搜尋結果 和台灣的結果有什麼明顯的差異
另外…修改日期是秒數~拿來操作的要作轉換
但是 我不知道 實用性在哪
檔案格式[any (default), html, msword, pdf, ppt, rss, txt, xls]
可能是網頁~也有可能是doc文字檔
參數蠻多可以玩的~
可以參考原廠文件~在這裡
有問題的地方~查詢區域~沒有台灣~有泰國
代碼在這~真不知道台灣Yahoo在幹嘛
隨機文章
- 解決nginx+php5-fpm卻無法啟動mysql的問題 (2013-05-20)
- 那個周錫偉治水治的好,民意不如放煙火的 張花冠賴清德你們怎麼會不懂? (2013-09-05)
- 電子公文擾民系統嗎? (2016-10-18)
- box提供Sync工具,正式挑戰Dropbox (2012-11-01)
- 《北縣趴趴走》平價泡湯免費池 秋冬減壓不花大錢 (2007-11-12)