ext-blog

API Reference

ext-blog

A BLOG engine which supports custom theme

EXT-BLOG

  • Function ROOT-PATHNAME
  • Function THEME-PATHNAME
  • Function STRING-EMPTY (s)
  • Function FORMAT-TIMESTRING (time)
    Format a time to a string by `local-time` library
  • Variable *ENTRY-STATIC*
    "static/"
  • Variable *ENTRY-STATIC-PATH*
    (merge-pathnames ext-blog:*entry-static* ext-blog::*data-root*)
  • Generic-Function THEME-NAME (inst)
    Get the theme name
  • Generic-Function THEME-DESC (inst)
    Get the theme description
  • Generic-Function THEME-UPDATE (inst)
    Update the theme, reload resources etc.
  • Generic-Function THEME-TYPE (inst)
    Theme type can be :normal and :admin
  • Generic-Function THEME-RESOURCES (inst)
    A list of files/directories to be published
  • Method THEME-RESOURCES (inst)
  • Method THEME-RESOURCES (inst)
  • Method THEME-RESOURCES (inst)
  • Function LOAD-THEMES (&optional (path (theme-pathname)))
    Load all themes in directory `theme/`
  • Function UPDATE-THEMES
    Update all themes
  • Function THEMES-COUNT
    Get the theme count currently loaded
  • Class POST
    A post object is also called an entry.
    ID   Accessor: POST-ID
    TIME   Accessor: POST-TIME
    REVISED-TIME   Accessor: POST-REVISED-TIME
    TITLE   Accessor: POST-TITLE
    CONTENT   Accessor: POST-CONTENT
  • Class COMMENT
    ID   Accessor: COMMENT-ID
    POST-ID   Accessor: COMMENT-POST-ID
    TIME   Accessor: COMMENT-TIME
    AUTHOR   Accessor: COMMENT-AUTHOR
    EMAIL   Accessor: COMMENT-EMAIL
    URL   Accessor: COMMENT-URL
    CONTENT   Accessor: COMMENT-CONTENT
  • Generic-Function LOAD-USER
  • Generic-Function STORE-USER (user)
  • Function CREATE-USER (id pwd)
    Create a new user.
  • Function USER-AUTH (user id pwd)
    Auth a user, if ok return t
  • Method LOAD-USER
  • Method STORE-USER (user)
  • Class BLOG
    Represents a blog, a blog object has a list of posts and comments, and other stuff.
    USER   Accessor: BLOG-USER
    TITLE   Accessor: BLOG-TITLE
    SUB-TITLE   Accessor: BLOG-SUB-TITLE
    POSTS   Accessor: BLOG-POSTS
    COMMENTS   Accessor: BLOG-COMMENTS
    ADMIN-THEME   Accessor: BLOG-ADMIN-THEME
    FOOTER-HTML   Accessor: BLOG-FOOTER-HTML
    THEME   Accessor: BLOG-THEME
  • Function BLOG-AUTHOR (blog)
    Get the blog author name
  • Function GET-1ST-POST (blog)
    Get the first post, usually the recent post.
  • Function GET-NTH-POST (blog id)
    Get a post by its id.
  • Function GET-POSTS-BY-PAGE (blog page-cnt id)
    Get the nth page of posts, id starts from 0
  • Function GET-MIN-PAGE-ID (blog page-cnt)
  • Function GET-MAX-PAGE-ID (blog page-cnt)
  • Function GET-POST-COMMENTS (blog post)
    Get all comments associated with the post.
  • Function GET-POST-COMMENTS-CNT (blog post)
    Get comment count associated with the post.
  • Generic-Function RENDER-PAGE (blog theme route args)
    Render blog page by the blog theme
  • Function MAKE-FULL-ROOT-URL
  • Function MAKE-FULL-FEED-URL
  • Function MAIN
  • Function INDEX
  • Function VIEW (id)
  • Function PAGE (id)
  • Function NEW-COMMENT-DONE
  • Function LOGIN
  • Function LOGIN-DONE
  • Function LOGOUT
  • Function INITIALIZE
  • Function INITIALIZE-DONE
  • Function MANAGE
  • Function MANAGE/NEW
  • Function MANAGE/NEW-DONE
  • Function MANAGE/POST
  • Function MANAGE/COMMENT
  • Function MANAGE/COMMENT/DELETE/ID (id)
  • Function MANAGE/COMMENT/DELETE
  • Function MANAGE/POST/DELETE/ID (id)
  • Function MANAGE/POST/EDIT/ID (id)
  • Function MANAGE/POST/EDIT/ID-DONE (id)
  • Function MANAGE/POST/DELETE
  • Function MANAGE/CONFIGURE
  • Function MANAGE/CONFIGURE/BLOGGER
  • Function MANAGE/CONFIGURE/BLOGGER-DONE
  • Function MANAGE/CONFIGURE/PROFILE
  • Function MANAGE/CONFIGURE/PROFILE-DONE
  • Function API/METAWEBLOG-INFO
  • Function API/METAWEBLOG
  • Function API/RSS
  • Function VERIFYPIC
  • Function BLOG
  • Function START (&key (port 8080))
  • Function GET-SYS-INFO
  • Function GET-POST-TIME-DESC (post &optional (type :created))
    Get the time string of the post
  • Function GET-POST-DATA (blog post)
    Get a post render data, used to render
  • Function GET-PAGE-NAV-URL (blog id page-cnt)
  • Function GET-PAGE-POSTS-DATA (blog page-cnt id)
    Get the nth page posts data
  • Function GET-PAGE-DATA (blog page-cnt id)
  • Function HAS-POST-P (blog)
    Check whether the blog has posts
  • Function GET-TITLE-DATA (blog)
    Get the blog title render data
  • Function GET-THEMES-DATA (blog)
    Get all normal themes data
  • Function GET-BLOG-DATA (blog)
    Get a blog general description, title and sub-title
  • Function GET-AUTHOR-DATA (blog)
  • Function GET-FOOTER-DATA (blog)
  • Function GET-HEAD-DATA (blog)
    Get the blog menu data
  • Function GET-COMMENT-DATA (blog comment)
    Get a comment data
  • Function GET-POST-COMMENTS-DATA (blog post)
    Get all comments data associated with the post
  • Function GET-ALL-COMMENTS-DATA (blog)
    Get all comments data
  • Function GET-ALL-POSTS-DATA (blog)
    Get all posts data
  • Function GET-RECENT-COMMENTS-BRIEF (blog cnt)
  • Function GET-RECENT-POSTS-BRIEF (blog cnt)

XML-RPC-METHODS

  • Function HANDLE-METAWEBLOG-REQUEST (blog)
    Handle metaweblog http request.
  • Function SET-METAWEBLOG-API
  • Function metaWeblog.newPost (blogid username password post publish)
  • Function metaWeblog.newMediaObject (blogid username password media-obj)