Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

contributte/simple-blogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Website πŸš€ contributte.org | Contact πŸ‘¨πŸ»β€πŸ’» f3l1x.io | Twitter 🐦 @contributte

Disclaimer

⚠️ This project is no longer being maintained. Please use blogette/platform.
Composer minetro/simple-blogger
Version
PHP
License

About

Simple static blogger based on Nette.

Usage

Register BloggerExtension to your other extensions.

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

You have to set folder where Nette\Utils\Finder will be looking for posts.

blog:
	posts: %appDir%/data

Posts

Post consists of two parts. Meta file and content file.

Metafile

Let's we have a file in data/201505/post.neon. All meta files must have neon extension.

Take a look to example meta file.

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.

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.

Model

PostsService

To obtain all posts, one posts, order posts, filters posts here is PostsService.

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

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

Configuration

There are 3 objects. Criteria, Sorter and Paginator.

Criteria - it is for posts filtering (excluding)

Sorter - it is for posts sorting

Paginator - it extends classic Nette\Utils\Paginator

View

View is not part of this library. You have to display posts by yourself.

Development

This package was maintained by these authors.


Consider to support contributte development team. Also thank you for using this package.

About

πŸ’€ [DISCONTINUED] Simple blogger for Nette Framework (@nette).

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •  

Languages