mamuz/mamuz-blog-feed 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mamuz/mamuz-blog-feed

Composer 安装命令:

composer require mamuz/mamuz-blog-feed

包简介

MamuzBlog plugin to provide feeds

README 文档

README

Build Status Coverage Status Scrutinizer Code Quality SensioLabsInsight HHVM Status Dependency Status

Latest Stable Version Latest Unstable Version Total Downloads License

Features

  • This module provides a plugin for mamuz/mamuz-blog to create Feeds
  • Atom and RSS feeds are supported
  • Adds alternative link to html head automaticly
  • Feeds for all Posts and for Posts found by Tag are provided
  • Each feed is configurable seperatly

Installation

The recommended way to install mamuz/mamuz-blog-feed is through composer by adding dependency to your composer.json:

{
    "require": {
        "mamuz/mamuz-blog-feed": "*"
    }
}

After that run composer update and enable this module for ZF2 by adding MamuzBlogFeed to modules in ./config/application.config.php:

// ...
    'modules' => array(
        'MamuzBlogFeed',
    ),

Configuration

This module is usable out of the box, but you can overwrite default configuration by adding a config file in ./config/autoload directory. For default configuration see module.config.php

Workflow

  • If routing is successful, posts will be retrieved either with tag parameter or without tag parameter to create a feed xml and responding to http response object.
  • If event Event::PRE_PAGINATION_CREATE is triggert by posts retrieval and autoHeadLink is set to true for specific feed, an alternative link to html head is appended automaticly.

Events

For the sake of simplicity Event is used for FQN MamuzBlogFeed\EventManager\Event.

The following events are triggered by Event::IDENTIFIER mamuz-blog:

Name Constant Description
createFeed.pre Event::PRE_FEED_CREATE Before feed creation
createFeed.post Event::POST_FEED_CREATE After feed creation

Terminology

  • Feed: Web format to publish frequently updated informations (here blog articles).

统计信息

  • 总下载量: 293
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-09-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固