(concat dest (substring string i))
coding-system))))
-(defconst www-ids-find-version "0.25.0")
+(defconst www-ids-find-version "0.25.1")
(defvar www-ids-find-ideographic-products-file-name
(expand-file-name "ideographic-products"
"character"
chise-system-db-directory))))
+(defvar www-ids-find-char-viewer-url
+ "/chisewiki/view.cgi?char=")
+
(defvar www-ids-find-chise-link-map-url-prefix
"http://fonts.jp/chise_linkmap/map.cgi?code=")
(cond
((string-match "&CB\\([0-9]+\\);" str)
(setq code (string-to-int (match-string 1 str)))
- (insert "<a href=\"/char-desc?char=")
+ (insert (format "<a href=\"%s"
+ www-ids-find-char-viewer-url))
(insert str)
(insert (format "\"><img alt=\"CB%05d\" src=\"/glyphs/cb-gaiji/%02d/CB%05d.gif\">\n"
code (/ code 1000) code))
)
((string-match "&JC3-\\([0-9A-F]+\\);" str)
(setq code (string-to-int (match-string 1 str) 16))
- (insert "<a href=\"/char-desc?char=")
+ (insert (format "<a href=\"%s"
+ www-ids-find-char-viewer-url))
(insert str)
(insert (format "\"><img alt=\"JC3-%04X\" src=\"http://kanji.zinbun.kyoto-u.ac.jp/db/CHINA3/Gaiji/%04x.gif\">\n"
code code))
((string-match "&J\\(78\\|83\\|90\\|SP\\)-\\([0-9A-F]+\\);" str)
(setq plane (match-string 1 str)
code (string-to-int (match-string 2 str) 16))
- (insert "<a href=\"/char-desc?char=")
+ (insert (format "<a href=\"%s"
+ www-ids-find-char-viewer-url))
(insert str)
(insert (format "\"><img alt=\"J%s-%04X\" src=\"/glyphs/JIS-%s/%02d-%02d.gif\">\n"
plane code plane
((string-match "&G\\([01]\\)-\\([0-9A-F]+\\);" str)
(setq plane (string-to-int (match-string 1 str))
code (string-to-int (match-string 2 str) 16))
- (insert "<a href=\"/char-desc?char=")
+ (insert (format "<a href=\"%s"
+ www-ids-find-char-viewer-url))
(insert str)
(insert (format "\"><img alt=\"G%d-%04X\" src=\"/glyphs/GB%d/%02d-%02d.gif\">\n"
plane code plane
((string-match "&C\\([1-7]\\)-\\([0-9A-F]+\\);" str)
(setq plane (string-to-int (match-string 1 str))
code (string-to-int (match-string 2 str) 16))
- (insert "<a href=\"/char-desc?char=")
+ (insert (format "<a href=\"%s"
+ www-ids-find-char-viewer-url))
(insert str)
(insert (format "\"><img alt=\"C%d-%04X\" src=\"/glyphs/CNS%d/%04X.gif\">\n"
plane code plane code))
)
((string-match "&ZOB-\\([0-9]+\\);" str)
(setq code (string-to-int (match-string 1 str)))
- (insert "<a href=\"/char-desc?char=")
+ (insert (format "<a href=\"%s"
+ www-ids-find-char-viewer-url))
(insert str)
(insert (format "\"><img alt=\"ZOB-%04d\" src=\"/glyphs/ZOB-1968/%04d.png\">\n"
code code))
(insert (format "ZOB-%04d</a>" code)))
)
(t
- (insert "<a href=\"/char-desc?char=")
+ (insert (format "<a href=\"%s"
+ www-ids-find-char-viewer-url))
;; (insert str)
(insert
(mapconcat (lambda (c)
<ul>
<li><a href=\"http://cvs.m17n.org/viewcvs/chise/ids/www/www-ids-find.el?view=markup\"
>www-ids-find.el (source file (Emacs Lisp part))
-<li><a href=\"http://chise.zinbun.kyoto-u.ac.jp/chise/ids/\"
+<li><a href=\"http://www.chise.org/ids/\"
>\e$B!V\e(BCHISE \e$B4A;z9=B$>pJs%G!<%?%Y!<%9!W\e(B</a>
<li><a href=\"http://fonts.jp/chise_linkmap/\"
>\e$B!V\e(Bchise_linkmap : CHISE \e$B4A;zO"4D?^!W\e(B</a> by \e$B>eCO9(0l$5$s\e(B
-<li><a href=\"http://chise.zinbun.kyoto-u.ac.jp/chise/\"
+<li><a href=\"http://www.chise.org/\"
>CHISE Project</a>
</ul>
<ul>
(princ
(format
"<p>Powered by <a
-href=\"http://chise.zinbun.kyoto-u.ac.jp/chise/xemacs/\"
+href=\"http://www.chise.org/xemacs/\"
>XEmacs CHISE</a> %s."
(encode-coding-string xemacs-chise-version 'utf-8-jp-er)))
(princ "