This is the ext-blog Reference Manual, version 0.9.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Fri Sep 15 05:00:47 2023 GMT+0.
ext-blog/ext-blog.asd
ext-blog/src/defmodule.lisp
ext-blog/src/utils.lisp
ext-blog/src/specials.lisp
ext-blog/src/file-publisher.lisp
ext-blog/src/themes.lisp
ext-blog/src/model/post.lisp
ext-blog/src/model/comment.lisp
ext-blog/src/model/user.lisp
ext-blog/src/model/blog.lisp
ext-blog/src/model/store-blog.lisp
ext-blog/src/rsstmpl.lisp
ext-blog/src/rss.lisp
ext-blog/src/drawer-dispatch.lisp
ext-blog/src/params.lisp
ext-blog/src/verify-code.lisp
ext-blog/src/auth.lisp
ext-blog/src/routes.lisp
ext-blog/src/xmlrpc.lisp
ext-blog/src/ext-blog.lisp
ext-blog/theme/blog-data.lisp
The main system appears first, followed by any subsystem dependency.
ext-blog
A BLOG engine which supports custom theme
Kevin Lynx <kevinlynx@gmail.com>
0.9.1
restas
(system).
cl-store
(system).
closure-template
(system).
local-time
(system).
kl-verify
(system).
image
(system).
restas.file-publisher
(system).
s-xml-rpc
(system).
cl-fad
(system).
Modules are listed depth-first from the system components tree.
ext-blog/src
ext-blog
(system).
defmodule.lisp
(file).
utils.lisp
(file).
specials.lisp
(file).
file-publisher.lisp
(file).
themes.lisp
(file).
model
(module).
rsstmpl.lisp
(file).
rss.lisp
(file).
drawer-dispatch.lisp
(file).
params.lisp
(file).
verify-code.lisp
(file).
auth.lisp
(file).
routes.lisp
(file).
xmlrpc.lisp
(file).
ext-blog.lisp
(file).
ext-blog/src/model
utils.lisp
(file).
specials.lisp
(file).
src
(module).
post.lisp
(file).
comment.lisp
(file).
user.lisp
(file).
blog.lisp
(file).
store-blog.lisp
(file).
ext-blog/theme
src
(module).
ext-blog
(system).
blog-data.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
ext-blog/ext-blog.asd
ext-blog/src/defmodule.lisp
ext-blog/src/utils.lisp
ext-blog/src/specials.lisp
ext-blog/src/file-publisher.lisp
ext-blog/src/themes.lisp
ext-blog/src/model/post.lisp
ext-blog/src/model/comment.lisp
ext-blog/src/model/user.lisp
ext-blog/src/model/blog.lisp
ext-blog/src/model/store-blog.lisp
ext-blog/src/rsstmpl.lisp
ext-blog/src/rss.lisp
ext-blog/src/drawer-dispatch.lisp
ext-blog/src/params.lisp
ext-blog/src/verify-code.lisp
ext-blog/src/auth.lisp
ext-blog/src/routes.lisp
ext-blog/src/xmlrpc.lisp
ext-blog/src/ext-blog.lisp
ext-blog/theme/blog-data.lisp
ext-blog/ext-blog.asd
ext-blog
(system).
*ext-blog-version*
(special variable).
ext-blog/src/utils.lisp
defmodule.lisp
(file).
src
(module).
format-timestring
(function).
root-pathname
(function).
route-check-conditions
(method).
string-empty
(function).
theme-pathname
(function).
*the-random-state*
(special variable).
@nil-route-require
(function).
create-random-string
(function).
get-future-time
(function).
nil-route
(class).
read-binary-file
(function).
src-pathname
(function).
ext-blog/src/specials.lisp
defmodule.lisp
(file).
src
(module).
*entry-static*
(special variable).
*entry-static-path*
(special variable).
*data-root*
(special variable).
*enable-log*
(special variable).
*font-path*
(special variable).
*log-path*
(special variable).
*store-path*
(special variable).
ext-blog/src/file-publisher.lisp
utils.lisp
(file).
specials.lisp
(file).
src
(module).
*publish-files*
(special variable).
*publish-root*
(special variable).
mount-file-publisher
(function).
push-publish-entry-file
(function).
push-publish-theme-file
(function).
ext-blog/src/themes.lisp
file-publisher.lisp
(file).
src
(module).
load-themes
(function).
theme-desc
(generic function).
theme-name
(generic function).
theme-resources
(generic function).
theme-type
(generic function).
theme-update
(generic function).
themes-count
(function).
update-themes
(function).
*themes*
(special variable).
+theme-inst+
(special variable).
create-theme-name
(function).
find-theme
(function).
get-default-theme
(function).
get-normal-themes
(function).
load-theme
(function).
theme-asdf-exist-p
(function).
ext-blog/src/model/post.lisp
model
(module).
post
(class).
post-content
(reader method).
(setf post-content)
(writer method).
post-id
(reader method).
(setf post-id)
(writer method).
post-revised-time
(reader method).
(setf post-revised-time)
(writer method).
post-time
(reader method).
(setf post-time)
(writer method).
post-title
(reader method).
(setf post-title)
(writer method).
*post-store-path*
(special variable).
gen-post-id
(function).
load-posts
(generic function).
store-posts
(generic function).
ext-blog/src/model/comment.lisp
model
(module).
comment
(class).
comment-author
(reader method).
(setf comment-author)
(writer method).
comment-content
(reader method).
(setf comment-content)
(writer method).
comment-email
(reader method).
(setf comment-email)
(writer method).
comment-id
(reader method).
(setf comment-id)
(writer method).
comment-post-id
(reader method).
(setf comment-post-id)
(writer method).
comment-time
(reader method).
(setf comment-time)
(writer method).
comment-url
(reader method).
(setf comment-url)
(writer method).
*comment-store-path*
(special variable).
gen-comment-id
(function).
get-comments-by-post
(function).
load-comments
(generic function).
store-comments
(generic function).
ext-blog/src/model/user.lisp
model
(module).
create-user
(function).
load-user
(generic function).
store-user
(generic function).
user-auth
(function).
user-password
(reader method).
(setf user-password)
(writer method).
user-uid
(reader method).
(setf user-uid)
(writer method).
*user-store-path*
(special variable).
add-user-token
(function).
remove-user-token
(function).
user
(class).
user-tokens
(reader method).
(setf user-tokens)
(writer method).
valid-token-p
(function).
ext-blog/src/model/blog.lisp
user.lisp
(file).
post.lisp
(file).
comment.lisp
(file).
model
(module).
blog
(class).
blog-author
(function).
blog-comments
(reader method).
(setf blog-comments)
(writer method).
blog-posts
(reader method).
(setf blog-posts)
(writer method).
blog-sub-title
(reader method).
(setf blog-sub-title)
(writer method).
blog-theme
(reader method).
(setf blog-theme)
(writer method).
blog-title
(reader method).
(setf blog-title)
(writer method).
get-1st-post
(function).
get-max-page-id
(function).
get-min-page-id
(function).
get-nth-post
(function).
get-post-comments
(function).
get-post-comments-cnt
(function).
get-posts-by-page
(function).
*blog*
(special variable).
blog-admin-theme
(reader method).
(setf blog-admin-theme)
(writer method).
blog-footer-html
(reader method).
(setf blog-footer-html)
(writer method).
blog-initialized-p
(function).
blog-user
(reader method).
(setf blog-user)
(writer method).
create-blog
(function).
create-comment
(function).
create-post
(function).
delete-comment
(function).
delete-post
(function).
edit-post
(function).
get-recent-comments
(function).
get-recent-posts
(function).
ext-blog/src/model/store-blog.lisp
blog.lisp
(file).
model
(module).
*blog-store-path*
(special variable).
alist->blog
(function).
alist-field
(function).
blog->alist
(function).
load-blog
(function).
store-blog
(function).
ext-blog/src/rsstmpl.lisp
utils.lisp
(file).
src
(module).
update-rss-tmpl
(function).
ext-blog/src/rss.lisp
rsstmpl.lisp
(file).
model
(module).
routes.lisp
(file).
src
(module).
rss-format-pubdate
(function).
rss-generate
(method).
rss-get-blog-posts
(function).
rss-get-post-desc
(function).
ext-blog/src/drawer-dispatch.lisp
defmodule.lisp
(file).
model
(module).
src
(module).
render-object
(method).
render-page
(generic function).
drawer-dispatcher
(class).
get-theme
(function).
ext-blog/src/params.lisp
utils.lisp
(file).
src
(module).
cookie
(function).
params
(function).
params-list
(function).
ext-blog/src/verify-code.lisp
utils.lisp
(file).
src
(module).
auth-verify-code
(function).
generate-verify-code
(function).
ext-blog/src/auth.lisp
defmodule.lisp
(file).
model
(module).
src
(module).
+cookie-save-time+
(constant).
authed-p
(function).
check-login
(function).
delete-cookie
(function).
do-login
(function).
on-login
(function).
on-logout
(function).
set-cookie
(function).
ext-blog/src/routes.lisp
defmodule.lisp
(file).
model
(module).
auth.lisp
(file).
verify-code.lisp
(file).
src
(module).
api/metaweblog
(function).
api/metaweblog-info
(function).
api/rss
(function).
blog
(function).
index
(function).
initialize
(function).
initialize-done
(function).
login
(function).
login-done
(function).
logout
(function).
main
(function).
make-full-feed-url
(function).
make-full-root-url
(function).
manage
(function).
manage/comment
(function).
manage/comment/delete
(function).
manage/comment/delete/id
(function).
manage/configure
(function).
manage/configure/blogger
(function).
manage/configure/blogger-done
(function).
manage/configure/profile
(function).
manage/configure/profile-done
(function).
manage/new
(function).
manage/new-done
(function).
manage/post
(function).
manage/post/delete
(function).
manage/post/delete/id
(function).
manage/post/edit/id
(function).
manage/post/edit/id-done
(function).
new-comment-done
(function).
page
(function).
verifypic
(function).
view
(function).
format-args
(function).
make-full-post-url
(function).
make-host
(function).
rss-generate
(generic function).
ext-blog/src/xmlrpc.lisp
defmodule.lisp
(file).
model
(module).
ext-blog.lisp
(file).
src
(module).
handle-metaweblog-request
(function).
metaweblog.newmediaobject
(function).
metaweblog.newpost
(function).
set-metaweblog-api
(function).
*blog*
(special variable).
check-auth-user
(macro).
media-object-url
(function).
save-media-object
(function).
ext-blog/src/ext-blog.lisp
specials.lisp
(file).
routes.lisp
(file).
themes.lisp
(file).
drawer-dispatch.lisp
(file).
model
(module).
src
(module).
start
(function).
*access-log-path*
(special variable).
*message-log-path*
(special variable).
create-log-path
(function).
ext-blog-acceptor
(class).
ext-blog/theme/blog-data.lisp
theme
(module).
get-all-comments-data
(function).
get-all-posts-data
(function).
get-author-data
(function).
get-blog-data
(function).
get-comment-data
(function).
get-footer-data
(function).
get-head-data
(function).
get-page-data
(function).
get-page-nav-url
(function).
get-page-posts-data
(function).
get-post-comments-data
(function).
get-post-data
(function).
get-post-time-desc
(function).
get-recent-comments-brief
(function).
get-recent-posts-brief
(function).
get-sys-info
(function).
get-themes-data
(function).
get-title-data
(function).
has-post-p
(function).
get-comment-brief
(function).
get-post-brief
(function).
get-theme-data
(function).
Packages are listed by definition order.
xml-rpc-methods
common-lisp
.
s-xml-rpc
.
handle-metaweblog-request
(function).
metaweblog.newmediaobject
(function).
metaweblog.newpost
(function).
set-metaweblog-api
(function).
*blog*
(special variable).
check-auth-user
(macro).
media-object-url
(function).
save-media-object
(function).
ext-blog-asd
asdf/interface
.
common-lisp
.
*ext-blog-version*
(special variable).
ext-blog
common-lisp
.
*entry-static*
(special variable).
*entry-static-path*
(special variable).
api/metaweblog
(function).
api/metaweblog-info
(function).
api/rss
(function).
blog
(function).
blog
(class).
blog-author
(function).
blog-comments
(generic reader).
(setf blog-comments)
(generic writer).
blog-posts
(generic reader).
(setf blog-posts)
(generic writer).
blog-sub-title
(generic reader).
(setf blog-sub-title)
(generic writer).
blog-theme
(generic reader).
(setf blog-theme)
(generic writer).
blog-title
(generic reader).
(setf blog-title)
(generic writer).
comment
(class).
comment-author
(generic reader).
(setf comment-author)
(generic writer).
comment-content
(generic reader).
(setf comment-content)
(generic writer).
comment-email
(generic reader).
(setf comment-email)
(generic writer).
comment-id
(generic reader).
(setf comment-id)
(generic writer).
comment-post-id
(generic reader).
(setf comment-post-id)
(generic writer).
comment-time
(generic reader).
(setf comment-time)
(generic writer).
comment-url
(generic reader).
(setf comment-url)
(generic writer).
create-user
(function).
format-timestring
(function).
get-1st-post
(function).
get-all-comments-data
(function).
get-all-posts-data
(function).
get-author-data
(function).
get-blog-data
(function).
get-comment-data
(function).
get-footer-data
(function).
get-head-data
(function).
get-max-page-id
(function).
get-min-page-id
(function).
get-nth-post
(function).
get-page-data
(function).
get-page-nav-url
(function).
get-page-posts-data
(function).
get-post-comments
(function).
get-post-comments-cnt
(function).
get-post-comments-data
(function).
get-post-data
(function).
get-post-time-desc
(function).
get-posts-by-page
(function).
get-recent-comments-brief
(function).
get-recent-posts-brief
(function).
get-sys-info
(function).
get-themes-data
(function).
get-title-data
(function).
has-post-p
(function).
index
(function).
initialize
(function).
initialize-done
(function).
load-themes
(function).
load-user
(generic function).
login
(function).
login-done
(function).
logout
(function).
main
(function).
make-full-feed-url
(function).
make-full-root-url
(function).
manage
(function).
manage/comment
(function).
manage/comment/delete
(function).
manage/comment/delete/id
(function).
manage/configure
(function).
manage/configure/blogger
(function).
manage/configure/blogger-done
(function).
manage/configure/profile
(function).
manage/configure/profile-done
(function).
manage/new
(function).
manage/new-done
(function).
manage/post
(function).
manage/post/delete
(function).
manage/post/delete/id
(function).
manage/post/edit/id
(function).
manage/post/edit/id-done
(function).
new-comment-done
(function).
page
(function).
post
(class).
post-content
(generic reader).
(setf post-content)
(generic writer).
post-id
(generic reader).
(setf post-id)
(generic writer).
post-revised-time
(generic reader).
(setf post-revised-time)
(generic writer).
post-time
(generic reader).
(setf post-time)
(generic writer).
post-title
(generic reader).
(setf post-title)
(generic writer).
render-page
(generic function).
root-pathname
(function).
start
(function).
store-user
(generic function).
string-empty
(function).
theme-desc
(generic function).
theme-name
(generic function).
theme-pathname
(function).
theme-resources
(generic function).
theme-type
(generic function).
theme-update
(generic function).
themes-count
(function).
update-themes
(function).
user-auth
(function).
user-password
(generic reader).
(setf user-password)
(generic writer).
user-uid
(generic reader).
(setf user-uid)
(generic writer).
verifypic
(function).
view
(function).
*access-log-path*
(special variable).
*blog*
(special variable).
*blog-store-path*
(special variable).
*comment-store-path*
(special variable).
*data-root*
(special variable).
*enable-log*
(special variable).
*font-path*
(special variable).
*log-path*
(special variable).
*message-log-path*
(special variable).
*post-store-path*
(special variable).
*publish-files*
(special variable).
*publish-root*
(special variable).
*store-path*
(special variable).
*the-random-state*
(special variable).
*themes*
(special variable).
*user-store-path*
(special variable).
+cookie-save-time+
(constant).
+theme-inst+
(special variable).
@nil-route-require
(function).
add-user-token
(function).
alist->blog
(function).
alist-field
(function).
auth-verify-code
(function).
authed-p
(function).
blog->alist
(function).
blog-admin-theme
(generic reader).
(setf blog-admin-theme)
(generic writer).
blog-footer-html
(generic reader).
(setf blog-footer-html)
(generic writer).
blog-initialized-p
(function).
blog-user
(generic reader).
(setf blog-user)
(generic writer).
check-login
(function).
cookie
(function).
create-blog
(function).
create-comment
(function).
create-log-path
(function).
create-post
(function).
create-random-string
(function).
create-theme-name
(function).
delete-comment
(function).
delete-cookie
(function).
delete-post
(function).
do-login
(function).
drawer-dispatcher
(class).
edit-post
(function).
ext-blog-acceptor
(class).
find-theme
(function).
format-args
(function).
gen-comment-id
(function).
gen-post-id
(function).
generate-verify-code
(function).
get-comment-brief
(function).
get-comments-by-post
(function).
get-default-theme
(function).
get-future-time
(function).
get-normal-themes
(function).
get-post-brief
(function).
get-recent-comments
(function).
get-recent-posts
(function).
get-theme
(function).
get-theme-data
(function).
load-blog
(function).
load-comments
(generic function).
load-posts
(generic function).
load-theme
(function).
make-full-post-url
(function).
make-host
(function).
mount-file-publisher
(function).
nil-route
(class).
on-login
(function).
on-logout
(function).
params
(function).
params-list
(function).
push-publish-entry-file
(function).
push-publish-theme-file
(function).
read-binary-file
(function).
remove-user-token
(function).
rss-format-pubdate
(function).
rss-generate
(generic function).
rss-get-blog-posts
(function).
rss-get-post-desc
(function).
set-cookie
(function).
src-pathname
(function).
store-blog
(function).
store-comments
(generic function).
store-posts
(generic function).
theme-asdf-exist-p
(function).
update-rss-tmpl
(function).
user
(class).
user-tokens
(generic reader).
(setf user-tokens)
(generic writer).
valid-token-p
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Format a time to a string by ‘local-time‘ library
Get the first post, usually the recent post.
Get all comments data
Get all posts data
Get a blog general description, title and sub-title
Get a comment data
Get the blog menu data
Get the nth page posts data
Get all comments associated with the post.
Get comment count associated with the post.
Get all comments data associated with the post
Get a post render data, used to render
Get the time string of the post
Get the nth page of posts, id starts from 0
Get all normal themes data
Get the blog title render data
Handle metaweblog http request.
Check whether the blog has posts
Load all themes in directory ‘theme/‘
Get the theme count currently loaded
Update all themes
Render blog page by the blog theme
Get the theme description
Get the theme name
A list of files/directories to be published
Theme type can be :normal and :admin
Update the theme, reload resources etc.
drawer-dispatcher
) (data list
)) ¶restas
.
Represents a blog, a blog object has a list of posts and comments, and other stuff.
:user
:title
:sub-title
:admin-theme
:theme
:id
:post-id
common-lisp
.
:time
:author
:email
:url
:content
A post object is also called an entry.
Convert an assoc-list back to a blog object
Check whether the current session has been authed
Convert a blog object to an assoc-list, to store.
Check whether the blog has been initialized
Check whether it can go to the dest-url, if not, redirect to the login page, and store the dest-url in the session. When the user has logined success, redirect him to the dest-url.
Create a blog object.
Create a comment object, associate with a post
Create a post object and store it
Returns a random number (as a string) with base BASE and N digits.
Create a theme name, theme name is ‘ext-blog.theme.*‘
Delete a blog by its id, it will also delete all comments associated with this post.
Do login process, check whether the password is correct
Edit a post by its id
Find a theme by its name
Get a comment brief description
Get a random theme of type
Get all normal themes
Get the most recent count comments
Get the most recent count posts
Load a blog from storage, it will load posts and comments either.
Load a theme named ‘name‘ in ‘dir‘
Mount restas.file-publisher to serve static files
Login success, store the flag in session, and if has dest-url, redirect to it.
Logout, clear session
Push a file or a directory to be servered
Store a blog object.
Check whether a theme ‘asd‘ file exists
restas-acceptor
.
Initarg | Value |
---|---|
:access-log-destination | *access-log-path* |
:message-log-destination | *message-log-path* |
proxy-route
.
Represents an admin for a blog
Jump to: | (
@
A B C D E F G H I L M N O P R S T U V |
---|
Jump to: | (
@
A B C D E F G H I L M N O P R S T U V |
---|
Jump to: | *
+
A C E F I P R S T U |
---|
Jump to: | *
+
A C E F I P R S T U |
---|
Jump to: | A B C D E F M N P R S T U V X |
---|
Jump to: | A B C D E F M N P R S T U V X |
---|