Editing
WikiJournal 2004-10
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== 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, [[Backwards Links]])的頁面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\]\] -> 搜尋到B, C * 參考: ** Meatball Wiki:[http://www.usemod.com/cgi-bin/mb.pl?InternalBackLink Internal Back Link] ** [http://phi.sinica.edu.tw/aspac/reports/94/94019/ch2.html 組成 Regular Expression 的元素] * possible/alternative approach? ** 設置[http://openmusic-album.netfirms.com/cgi-bin/wiki.pl/RelatedTopics RelatedTopics]錨點 ** 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]) 測試環境說明: * 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[http://www.oddmuse.org/cgi-bin/oddmuse-zh/Comments_on_%e5%bc%95%e7%94%a8%e5%9b%9e%e9%80%a3]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information