PHPackages                             newscoop/publishingplatforms-plugin-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. newscoop/publishingplatforms-plugin-bundle

ActiveNewscoop-plugin

newscoop/publishingplatforms-plugin-bundle
==========================================

PublishingPlatforms plugin for Newscoop. Converts newscoop article body elements into FBIA and AMP tags.

1863PHP

Since Aug 16Pushed 9y ago5 watchersCompare

[ Source](https://github.com/newscoop/plugin-PublishingPlatforms)[ Packagist](https://packagist.org/packages/newscoop/publishingplatforms-plugin-bundle)[ RSS](/packages/newscoop-publishingplatforms-plugin-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Publishing Platforms Plugin
===========================

[](#publishing-platforms-plugin)

Plugin provides support for Google AMP and Facebook Instant Articles in Newscoop. Plugin creates special route/url for article and enable smarty modifiers which can be used for transforming article body html into AMP/FBIA compatible version.

This plugin is compatible with Newscoop 4.4.7 and higher.

Installation
------------

[](#installation)

Installation is a quick process:

1. How to install this plugin?
2. That's all!

### Step 1: How to install this plugin?

[](#step-1-how-to-install-this-plugin)

Run the command:

```
$ php application/console plugins:install "newscoop/publishingplatforms-plugin-bundle"
$ php application/console assets:install public/
```

Plugin will be installed to your project's `newscoop/plugins/Newscoop` directory.

### Step 2: That's all!

[](#step-2-thats-all)

Go to Newscoop Admin panel and then open `Plugins` tab. The Plugin will show up there. You can now use this plugin.

**Note:**

To update this plugin run the command:

```
$ php application/console plugins:update "newscoop/publishingplatforms-plugin-bundle"
$ php application/console assets:install public/
```

To remove this plugin run the command:

```
$ php application/console plugins:remove "newscoop/publishingplatforms-plugin-bundle"
```

Documentation
-------------

[](#documentation)

***Google AMP***

Modifier:

`{{ $gimme->article->full_text|amp }}`

Route for AMP version of Article:

Pattern: `/amp/{languageCode}/{issueUrl}/{sectionUrl}/{articleNumber}/{articleSeo}.htm"`

Loaded template path: `_publishingPlatforms/amp/article.tpl`

Route name: `newscoop_publishingplatforms_amp_article`

Generate link to AMP version:

```
{{ generate_url route="newscoop_publishingplatforms_amp_article" absolute=true parameters=[
    'languageCode' => $gimme->article->language->code,
    'issueUrl' => $gimme->article->issue->url_name,
    'sectionUrl' => $gimme->article->section->url_name,
    'articleNumber' => $gimme->article->number,
    'articleSeo' => $gimme->article->seo_url_end
] }}

```

***Facebook Instant Articles***

`{{ $gimme->article->full_text|fbia }}`

**Change template file used to rendering of images inside article content**

Before rendering article content field use this function: `{{ set_content_image_template name="editor_image_fbia.tpl" }}`

Example of `editor_image_fbia.tpl` can be found in this plugin: `Resources/views/default_templates/fbia/editor_image_fbia.tpl`

`set_content_image_template` will tell for Newscoop to use custom template file for images inside article content.

At end of file reset your changes with `{{ reset_content_image_template }}`

License
-------

[](#license)

This bundle is under the GNU General Public License v3. See the complete license in the bundle:

```
LICENSE

```

About
-----

[](#about)

This Bundle is a [Sourcefabric z.ú.](https://github.com/sourcefabric) initiative.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/aeca713e2c8f76026890afc76cd060626414bd627aecf68a099fb41d46f1b826?d=identicon)[ahilles107](/maintainers/ahilles107)

![](https://www.gravatar.com/avatar/259cf09fe93a346f3d69381ecdb79261caa3238bf58c1e61eeda22c25bef6e8f?d=identicon)[newscoop](/maintainers/newscoop)

---

Top Contributors

[![ahilles107](https://avatars.githubusercontent.com/u/298610?v=4)](https://github.com/ahilles107 "ahilles107 (18 commits)")[![takeit](https://avatars.githubusercontent.com/u/562536?v=4)](https://github.com/takeit "takeit (2 commits)")

### Embed Badge

![Health badge](/badges/newscoop-publishingplatforms-plugin-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/newscoop-publishingplatforms-plugin-bundle/health.svg)](https://phpackages.com/packages/newscoop-publishingplatforms-plugin-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
