新聞動態: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
(InterMap 設定)
Line 29: Line 29:




== 2004-10-08 ==
== 2004-10-08, 14 ==
* Internal Back Link:[http://www.oddmuse.org/cgi-bin/oddmuse-zh/%e7%b6%b2%e7%ab%99%e5%9c%b0%e5%9c%96 Oddmuse]搜尋連結到網站頁面A(例如Automatic Link Back)的頁面B與頁面C等,要搜尋到(頁面內有前往Automatic Link Back的)連結[http://www.oddmuse.org/cgi-bin/oddmuse-zh?search=%5C%5BAutomatic+Link+Back%5C%5D&lang=&dosearch=%E9%96%8B%E5%A7%8B%EF%BC%81]而非(包含Automatic Link Back三個字串的頁面)文字[http://www.oddmuse.org/cgi-bin/oddmuse-zh?search=%5C%5B%5C%5BAutomatic+Link+Back%5C%5D%5C%5D&lang=&dosearch=%E9%96%8B%E5%A7%8B%EF%BC%81](搜尋結果就會不包括Automatic Link Back這個頁面),搜尋的關鍵字: \[\[Automatic Link Back\]\]  
=== Oddmuse Internal Back Link ===
[http://www.oddmuse.org/cgi-bin/oddmuse-zh/%e7%b6%b2%e7%ab%99%e5%9c%b0%e5%9c%96 Oddmuse]搜尋連結到網站頁面A(例如Automatic Link Back)的頁面B與頁面C等,要搜尋到(頁面內有前往Automatic Link Back的)連結[http://www.oddmuse.org/cgi-bin/oddmuse-zh?search=%5C%5BAutomatic+Link+Back%5C%5D&lang=&dosearch=%E9%96%8B%E5%A7%8B%EF%BC%81]而非(包含Automatic Link Back三個字串的頁面)文字[http://www.oddmuse.org/cgi-bin/oddmuse-zh?search=%5C%5B%5C%5BAutomatic+Link+Back%5C%5D%5C%5D&lang=&dosearch=%E9%96%8B%E5%A7%8B%EF%BC%81](搜尋結果就會不包括Automatic Link Back這個頁面),搜尋的關鍵字: \[\[Automatic Link Back\]\]  
: keyword: Automatic Link Back -> 搜尋到A, B, C
: keyword: Automatic Link Back -> 搜尋到A, B, C
: keyword: \[\[Automatic Link Back\]\] -> 搜尋到B, C
: keyword: \[\[Automatic Link Back\]\] -> 搜尋到B, C
Line 39: Line 40:
** 設置[http://openmusic-album.netfirms.com/cgi-bin/wiki.pl/RelatedTopics RelatedTopics]錨點
** 設置[http://openmusic-album.netfirms.com/cgi-bin/wiki.pl/RelatedTopics RelatedTopics]錨點
** InterMap 設wiki.pl?search=\[\[%s\]\]
** InterMap 設wiki.pl?search=\[\[%s\]\]
==== InterMap 設定 ====
* 在OddmuseWiki的測試說明
# [[DragonGirl]](小龍女) Links to [[YangDove]](楊過) & [[Jin Yong]](金庸)
# [[YangDove]] Links to [[DragonGirl]] & [[Jin Yong]]
# [[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">
相關網址
* [http://www.blooberry.com/indexdot/html/topics/urlencoding.htm URL Encoding] by Brian Wilson
* [http://www.oddmuse.org/cgi-bin/oddmuse-zh/%e7%80%8f%e8%a6%bd%e5%8b%95%e4%bd%9c Oddmuse: 瀏覽動作]([http://www.oddmuse.org/cgi-bin/oddmuse-zh/Browse_Action  Browse Action])
* [http://www.oddmuse.org/cgi-bin/oddmuse-zh/%e5%85%a7%e5%b5%8c%e8%b3%87%e6%96%99 Oddmuse: 內嵌資料]([http://www.oddmuse.org/cgi-bin/oddmuse-zh/Transclusion Transclusion])

Revision as of 22:38, 14 October 2004

Wiki Journal (personal news)

2004-05

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">

相關網址