新聞動態: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
(add LookSmart's Furl 的中文網頁備份)
Line 2: Line 2:


2004-[[WikiJournal_2004-05|05]]
2004-[[WikiJournal_2004-05|05]]
== 2004-09-24 ==
=== LookSmart's Furl 的中文網頁備份 ===
這個問題已經解決, 不過抓title仍有問題 (10-15)
==== backup success ====
[http://search.looksmart.com/ LookSmart]'s [http://www.furl.net/ Furl] backup ok with the following markup ex:可以備份成功的網頁是[http://free.tnc.edu.tw/modules/newbb/viewtopic.php?topic_id=726&forum=15 ghost2003在winxp ntfs格式下備份怎樣可以自动還原] and [http://bbs.ntu.edu.tw/cgi-bin/readbrd.cgi?board=RulesofOrder&dir=A10FNOG3&type=file 請問有關議事員]、[http://alice.2200.idv.tw/board/messages/1270.htm 鼻塞如何通? 試試去鼻充血劑](備份成功, 但是並無以下兩個meta)
<meta http-equiv="content-type" content="text/html; charset=big5" />
<meta http-equiv="content-language" content="tw" />
==== backup failed ====
1.
<meta http-equiv="content-type" content="text/html; charset=big5" />
2.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
lack this line:
<meta http-equiv="content-language" content="tw" />
ps: already [http://www.furl.net/faq.jsp#foreign submit] this bug


== 2004-09-29 ==
== 2004-09-29 ==

Revision as of 21:15, 16 October 2004

Wiki Journal (personal news)

2004-05

2004-09-24

LookSmart's Furl 的中文網頁備份

這個問題已經解決, 不過抓title仍有問題 (10-15)

backup success

LookSmart's Furl backup ok with the following markup ex:可以備份成功的網頁是ghost2003在winxp ntfs格式下備份怎樣可以自动還原 and 請問有關議事員鼻塞如何通? 試試去鼻充血劑(備份成功, 但是並無以下兩個meta)

<meta http-equiv="content-type" content="text/html; charset=big5" />
<meta http-equiv="content-language" content="tw" />


backup failed

1.

<meta http-equiv="content-type" content="text/html; charset=big5" />

2.

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


lack this line:

<meta http-equiv="content-language" content="tw" />

ps: already submit this bug



2004-09-29

  • Cron Jobs
透過Drupal與FoF進行Feeds/News Aggregator,設定*/2(每兩小時)與*/6(半天)的Cron Job,雖然避免每小時提出要求,但是會發生有個時間點重覆要求相同feed兩次。
  • Wiki <--> Blog
Migrate WikiPages to a entry of Blog or many entries of Blogs archived to a WikiPage, the second approach means "blog就是留下不同時刻的想法, 即使過去想法粗糙, 但也要po上去, 並非要求每篇非常完美..."

2004-09-30

Wiki 編寫的衝突處理

刚看了上面的现在对WIKI(维客)有了一定的了解,但好像没有人说他的工作原理呀?只是存数据库,每次改动生
成一个新的版本这么简单,再加上一定的权限吗?如有两个人在同一时间改了相同的数据呢,是同一时间提交
的?(作者不名,出處:100字談WIKI)


2004-10-08, 14

Oddmuse Internal Back Link

Oddmuse搜尋連結到網站頁面A(例如Automatic Link Back)的頁面B與頁面C等,要搜尋到(頁面內有前往Automatic Link Back的)連結[1]而非(包含Automatic Link Back三個字串的頁面)文字[2](搜尋結果就會不包括Automatic Link Back這個頁面),搜尋的關鍵字: \[\[Automatic Link Back\]\]

keyword: Automatic Link Back -> 搜尋到A, B, C
keyword: \[\[Automatic Link Back\]\] -> 搜尋到B, C

InterMap 設定

  • 在OddmuseWiki的測試說明
  1. DragonGirl(小龍女) Links to YangDove(楊過) & Jin Yong(金庸)
  2. YangDove Links to DragonGirl & Jin Yong
  3. Jin Yong Links to Novels only


  • InterMap 設定
LinkBack /oddmuse/wiki.pl?search=%5C%5B%5C%5B%s%5C%5D%5C%5D

下表解釋網址編碼

字元(character) 網址編碼(code pints, HEX)
反斜線 ("\") 5C
左中括號 ("[") 5B
右中括號 ("]") 5D
半形空白 20
  • 在 TestPage 寫上
    • LinkBack:Jin_Yong (搜尋連結到Jin_Yong的內部頁面)
    • LinkBack:Jin%20Yong (搜尋連結到Jin Yong的內部頁面)
括號內的差異是, 如果YangDove連結到Jin Yong, 而非Jin_Yong, 那麼LinkBack:Jin_Yong 的搜尋結果找不到YangDove, 也許正則表示式有處理方式

內嵌頁面

  • 問題: 是否有可能在 TestPage 內嵌 LinkBack:Jin%20Yong 的搜尋結果?
測試結果: dirty! 無法只顯示出頁面清單, 所以不推薦.

須使用完整網址

<include "http://web.url/wiki.pl?search=%5C%5B%5C%5BJin%20Yong%5C%5D%5C%5D;raw=1">


下行無法運作

<include "LinkBack:Jin%20Yong;raw=1">

相關網址

測試環境說明:

  • wiki.pl v1.436, Apache/1.3.29(Win32), Perl v5.8.2, CGI:3.00, LWP::UserAgent 2.023...

ps: post to official site[3]