"._.")
((eq c ?=)
".:.")
+ ((eq c ?|)
+ "._cmp_.")
(t
(char-to-string c))))
(www-uri-encode-feature-name feature-name)
)
(defun char-db-turtle-insert-metadata (name value)
- (let (col indent)
+ (let (col indent ret)
(insert (format "%-7s " name))
(cond
((or (eq name :sources)
(insert (format " ,\n%schisebib:%s" indent
(chise-turtle-uri-encode-ccs-name source))))
nil)
+ ((eq name :references)
+ (setq ret (car value))
+ (setq ret (plist-get (nth 1 ret) :ref))
+ (setq col (current-column))
+ (setq indent (make-string col ?\ ))
+ (insert (format "<%s>" ret))
+ (dolist (refspec (cdr value))
+ (setq ret (plist-get (nth 1 refspec) :ref))
+ (insert (format " ,\n%s<%s>" indent ret)))
+ nil)
(t
(insert (format "%S" value))
nil))))