2017 © Pedro Peláez
 

project simple-blogger

Simple static blogger based on Nette

image

minetro/simple-blogger

Simple static blogger based on Nette

  • Monday, October 31, 2016
  • by f3l1x
  • Repository
  • 1 Watchers
  • 2 Stars
  • 4,951 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

, (*1)

, (*2)

Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte , (*3)

Disclaimer

:warning: This project is no longer being maintained. Please use contributte/webapp-skeleton.
Composer minetro/simple-blogger
Version
PHP
License

Simple static blogger based on Nette., (*4)

This project is deprecated. Use better solution blogette/platform., (*5)

Usage

Register BloggerExtension to your other extensions., (*6)

extensions:
    blog: Minetro\Blog\Simple\DI\BloggerExtension

You have to set folder where Nette\Utils\Finder will be looking for posts., (*7)

blog:
    posts: %appDir%/data

Posts

Post consists of two parts. Meta file and content file., (*8)

Metafile

Let's we have a file in data/201505/post.neon. All meta files must have neon extension., (*9)

Take a look to example meta file., (*10)

id: 1
date: 06.05.2015
title: Some cool title
post: %file%/post.md

seo:
    title: 'Best framework in the world'
    keywords: 'nette, php, framework'
    description: 'Nothing to say. It's a fact.'

tags:
    - php

config:
    comments: yes
    social: yes
    parser: parsedown

Required properties are id, date, title and post., (*11)

Post is a target to your content file. Content file could be .md, .latte or whatever. But you have to specific parser. In this case it is parsedown., (*12)

Model

PostsService

To obtain all posts, one posts, order posts, filters posts here is PostsService., (*13)

->findAll(Configuration $c) - returns array of posts., (*14)

->fetch(Configuration $c) - returns just one posts or nothing., (*15)

Configuration

There are 3 objects. Criteria, Sorter and Paginator., (*16)

Criteria - it is for posts filtering (excluding), (*17)

Sorter - it is for posts sorting, (*18)

Paginator - it extends classic Nette\Utils\Paginator, (*19)

View

View is not part of this library. You have to display posts by yourself., (*20)

Development

This package was maintain by these authors., (*21)

, (*22)


Consider to support contributte development team. Also thank you for being used this package., (*23)

The Versions

31/10 2016

dev-master

9999999-dev https://github.com/minetro/simple-blogger

Simple static blogger based on Nette

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

07/05 2015

0.1.2

0.1.2.0 https://github.com/minetro/simple-blogger

Simple static blogger based on Nette

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

07/05 2015

0.1.1

0.1.1.0 https://github.com/minetro/simple-blogger

Simple static blogger based on Nette

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

07/05 2015

0.1

0.1.0.0 https://github.com/minetro/simple-blogger

Simple static blogger based on Nette

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires