HTMLy is an open source databaseless blogging platform prioritizing simplicity and speed.
HTMLy is an open source databaseless blogging platform prioritizing simplicity and speed (Flat-File Blog). And because HTMLy also manage the contents, then it can be referred as a Flat-File CMS.
You do not need to use a VPS to run HTMLy, fairly shared hosting or even a free hosting as long as those hosting already support at least PHP 5.3.
You do not need to use a VPS to run HTMLy, fairly shared hosting or even a free hosting as long as those hosting already support at least PHP 5.3.
Features
Features
---------
---------
- Admin panel
- Admin panel
- Markdown editor with live preview
- Markdown editor with live preview
- Categorization with tags (multi tags support)
- Categorization with tags (multi tags support)
@ -28,29 +27,24 @@ Features
- JSON API
- JSON API
- OPML
- OPML
- RSS Feed
- RSS Feed
- RSS Import
- RSS 2.0 Importer (basic)
- Sitemap.xml
- Sitemap.xml
- Archive and tag cloud widget
- Archive and tag cloud widget
- SEO friendly URL
- SEO friendly URLs
- Teaser thumbnail for images and Youtube videos
- Teaser thumbnail for images and Youtube videos
- Responsive design
- Responsive design
Requirements
Requirements
------------
------------
HTMLy requires PHP 5.3 or greater.
HTMLy requires PHP 5.3 or greater.
Installations
Installations
-------------
-------------
Download the latest version, extract it, then upload the extracted files to your server. Make sure the installation folder or at least the `content` folder is writeable by your server.
If HTMLy uploaded using FTP than sometimes the `content` folder is owned by those FTP user, if so please chmod the `content` folder to 0777 instead.
Download the latest version, extract it, then upload the extracted files to your server. Make sure the installation folder is writeable by your server.
Configurations
Configurations
--------------
--------------
Rename `config.ini.example` inside `config` folder to `config.ini`, and than create `YourUsername.ini` inside `config/users` folder, write down your password there.
Rename `config.ini.example` inside `config` folder to `config.ini` or you can create it one than change the site settings there, create `YourUsername.ini` inside `config/users` folder or simply rename the `username.ini.example`, write down your password there.
````
````
password = YourPassword
password = YourPassword
@ -60,25 +54,23 @@ You can login to admin panel at `www.example.com/login`.
Both Online or Offline
Both Online or Offline
----------------------
----------------------
In addition using the built-in editor in the admin panel, you can also write it offline and then upload them into `content/username/blog` folder (the username must match with `YourUsername.ini` above).
In addition by using the built-in editor in the admin panel, you can also write it offline and then upload them into `content/username/blog` folder (the username must match with `YourUsername.ini` above).
For static pages you can upload it to `content/static` folder.
For static pages you can upload it to `content/static` folder.
File Naming Convention
File Naming Convention
----------------------
----------------------
When you write a blog post and save it via the admin panel, HTMLy automatically create a .md file extension with the following name, example:
When you write a blog post and save it via the admin panel, HTMLy automatically create a .md file extension with the following name, example:
Here's the explanation (separated by an underscore):
Here's the explanation (separated by an underscore):
- `2014-01-31-12-56-40` is the published date. The date format is `yyyy-mm-dd-hh-mm-ss`
- `2014-01-31-12-56-40` is the published date. The date format is `yyyy-mm-dd-hh-mm-ss`
- `tag1,tag2,tag3` is the tag, separated by comma
- `tag1,tag2,tag3` is the tag, separated by comma
- `databaseless-blogging-platform` is the URL
- `databaseless-blogging-platform-flat-file-blog` is the URL
For static pages, we use the following format:
For static pages, we use the following format:
@ -92,7 +84,6 @@ So if you write it offline then you must naming the .md file as above.
Content Title
Content Title
-------------
-------------
If you write it offline, for the title of the post you need to add a title in the following format:
If you write it offline, for the title of the post you need to add a title in the following format:
<!--t Here is the post title t-->
<!--t Here is the post title t-->
@ -105,12 +96,10 @@ So wrap the title with HTML comment with `t` for both side.
Demo
Demo
----
----
Visit a real blog powered by HTMLy at [Danlogs](http://www.danlogs.com).
Visit a real blog powered by HTMLy at [Danlogs](http://www.danlogs.com).
Credit
Credit
------
------
People who give references and inspiration for HTMLy:
People who give references and inspiration for HTMLy:
* [Martin Angelov](http://tutorialzine.com)
* [Martin Angelov](http://tutorialzine.com)
@ -119,8 +108,6 @@ Contribute
1. Fork and edit
1. Fork and edit
2. Submit pull request for consideration
2. Submit pull request for consideration
Copyright / License
Copyright / License
-------------------
-------------------
For copyright notice please read [COPYRIGHT.txt](https://github.com/danpros/htmly/blob/master/COPYRIGHT.txt). HTMLy licensed under the GNU General Public License Version 2.0 (or later).
For copyright notice please read [COPYRIGHT.txt](https://github.com/danpros/htmly/blob/master/COPYRIGHT.txt). HTMLy licensed under the GNU General Public License Version 2.0 (or later).