Changeset 1267
- Timestamp:
- 11/10/07 20:51:29 (6 years ago)
- Files:
-
- 1 modified
-
lang/elisp/blosxom.el.cgi/blosxom.el.cgi (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/elisp/blosxom.el.cgi/blosxom.el.cgi
r1266 r1267 91 91 (setf servername (concat "http://" (or (getenv "SERVER_NAME") ""))) 92 92 (setf home (or (getenv "SCRIPT_NAME") "")) 93 (setf pathinfo (or (getenv "PATH_INFO") " /index.xml"))93 (setf pathinfo (or (getenv "PATH_INFO") "")) 94 94 (setf pathname (replace pathinfo "\\(index\\)?\\..+$" "")) 95 95 (setf version (emacs-version)) 96 96 97 97 (setf flavour (or (nth 1 (matches "\\(\\..+\\)$" pathinfo)) ".html")) 98 (setf splitted-pathinfo (matches "^/\\([0-9]+\\)\\(/[0-9][0-9]\\)?\\(/[0-9][0-9]\\)?" pathinfo)) 98 99 ;(print system-configuration) 99 100 ;(print system-name) … … 123 124 (setf time (cdr (assoc 'time e))) 124 125 ; (string= "2007" (format-time-string "%Y" time)) 125 (string-match (concat "^" pathname) name) 126 (cond ((nth 3 splitted-pathinfo) 127 (string= (format-time-string "%Y/%m/%d" time) (apply 'concat (cdr splitted-pathinfo))) 128 ) 129 ((nth 2 splitted-pathinfo) 130 (string= (format-time-string "%Y/%m" time) (apply 'concat (cdr splitted-pathinfo))) 131 ) 132 ((nth 1 splitted-pathinfo) 133 (string= (format-time-string "%Y" time) (nth 1 splitted-pathinfo)) 134 ) 135 (t 136 (string-match (concat "^" pathname) name) 137 )) 126 138 ) 127 139 collect e))
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)