Coder Social home page Coder Social logo

minicms's Introduction

介绍

MiniCMS是一个针对个人网站设计的微型内容管理系统。它的特点是:

  1. 不需要数据库在支持,只需要一个可以运行PHP的Web环境
  2. 只针对个人网站设计,没有复杂的成员管理和权限设置
  3. 没有分类只有标签,免除发布文章时到底该怎么分类的纠结
  4. 只有“文章”和“页面”两该个系统,没有“评论”、“插件”、“主题”,让你更专注于创造内容

安装

  1. 下载最新版的install.php,上传到网站根目录
  2. 浏览器访问根目录下instal.php,填入网站信息和初始账号密码
  3. 开始安装

结构

mc-admin           后台
mc-files           内容
  |--theme         主题
  |--posts         文章
  |    |--data     数据
  |    |--index    索引
  |--pages         页面
       |--data     数据
       |--index    索引

URL格式

文章: http://1234n.com/?post/[a-z0-5]{6}
标签: http://1234n.com/?tag/[^/]+/
页面: http://1234n.com/?([-a-zA-Z0-5]+/)+

模板标签

mc_site_name()  // 网站标题  
mc_site_desc()  // 网站描述  
mc_user_nick()  // 站长昵称  

mc_theme_url() // 主题文件夹中文件的URL  

mc_next_post()   // 循环获取文章  
mc_the_name()    // 文章标题  
mc_the_date()    // 发布日期  
mc_the_time()    // 发布时间  
mc_the_content() // 文章内容  
mc_the_tags()    // 文章标签

minicms's People

Contributors

bg5sbk avatar justjavac avatar realint avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.