Go to file
Hakim Zulkufli e66834b5a6 A new function is created to achieve this, Text::truncate
which is based on Text::cut from the text.class.php helper.

Limit is set to 60 characters.

Example A:

Content has over 60 characters.
Title = First 60 characters + remaining characters of the last word + '...'
Example B:

Content has less than or equal to 60 characters
Title = All.
Example C:

Content only has one word but is over 60 characters.
Title = First 60 characters + '...'
Why B and C differ from each other?
Because we do not want the whole that one weird word
with over 60 characters to make its way to the title.
It's probably unrealistic, the code can be much cleaner
with B and C combined.

Feel free to discuss.
2017-08-06 22:17:34 +08:00
bl-kernel A new function is created to achieve this, Text::truncate 2017-08-06 22:17:34 +08:00
bl-languages Merge pull request #446 from clickwork-git/bluditv2 2017-07-16 01:29:52 +02:00
bl-plugins Tinymce n 2017-08-06 00:52:00 +02:00
bl-themes tinymce cloud, version plugin 2017-08-03 23:28:32 +02:00
.gitignore Filesystem helper improved 2017-07-02 18:56:02 +02:00
.htaccess Fix Security issue 2016-01-26 19:11:31 +05:30
LICENSE Add LICENSE (MIT) 2017-01-31 20:07:04 +02:00
README.md a 2016-11-21 16:35:52 -03:00
index.php Amount of posts improves 2016-06-17 14:08:08 -03:00
install.php Font Awesome updated 2017-07-22 14:21:13 +02:00
logo-o.png logos 2017-07-29 00:41:50 +02:00
logo-o.svg logos 2017-07-29 00:37:23 +02:00
logo.png logos 2017-07-29 00:41:50 +02:00
logo.svg logos 2017-07-29 00:37:23 +02:00
search.sh removing posts 2017-07-17 20:03:28 +02:00

README.md

Bludit

Fast, simple, extensible and flat file CMS.

Bludit is a simple web application to make your own blog or site in seconds, it's completely free and open source. Bludit uses flat-files to store the posts and pages, you don't need to install or configure a database. Bludit supports Markdown and HTML code for the content of the posts and pages.

Donate

Social networks

Join the chat at https://gitter.im/dignajar/bludit

Requirements

You just need a web server with PHP support.

  • PHP v5.3 or higher.
  • PHP mbstring module for full UTF-8 support.
  • PHP gd module for image processing.
  • PHP dom module for DOM manipulation.
  • PHP json module for JSON manipulation.
  • Supported web servers:

Installation guide

  1. Download the latest version from https://s3.amazonaws.com/bludit-s3/bludit-builds/bludit_latest.zip
  2. Extract the zip file into a directory like bludit.
  3. Upload the directory bludit to your hosting server.
  4. Done!

License

Bludit is open source software licensed under the MIT license.