# Plugin: Newsfeeds

## Description <a href="#description" id="description"></a>

This plugin enables you to insert articles loaded from an RSS Feed in your Newsletter.

You can download this plugin from our download area.

## Plugin <a href="#plugin" id="plugin"></a>

![](/files/-MJgN8PUvdqsudZWC5U5)

Newsfeed plugin

* **URL** : specify the url of your feed.
* **Clickable Title**: should we add a link on the title so the user can checks your online version?
* **Display pictures**: should we display pictures, remove them or resize them?
* **Max. Number of items** : You can choose the number of articles AcyMailing should load from this feed.
* **Min. Number of items** : This option will only be displayed if you access this plugin for a Smart-Newsletter. AcyMailing will only generate your Smart-Newsletter if the minimum number of items found is reached.
* **Filter**: This option will only be displayed if you access this plugin for a Smart-Newsletter. You can choose to insert only newly created items.

## Parameters <a href="#parameters" id="parameters"></a>

![](/files/-MJgN9ugGXgE0zp9mNmu)

* **Max picture height :** If you select the resized option in your tag, AcyMailing will resize your pictures. You can specify here its maximum height.
* **Max picture width :** If you select the resized option in your tag, AcyMailing will resize your pictures. You can specify here its maximum width.

## Customize your feed template <a href="#customize-your-feed-template" id="customize-your-feed-template"></a>

You can change the styles used for the feed title and the feed body by editing the styles in your AcyMailing template.

You can also modify the way your feed is displayed by creating your own template which will be used to render the feed. Please follow those instructions, we don't recommend you to modify the newsfeeds plugin directly otherwise your changes will be overwritten when you update AcyMailing.

Create a file in the the folder **media / com\_acymailing / plugins** (if the folder does not exists, please create it first). The name of the file should be **newsfeeds.php** If this file is available on your server, AcyMailing will use it and won't use the default one.

On this file you can access to the element $oneFeed:

Title: $oneFeed->get\_title()

Url: $oneFeed->get\_link()

Description: $oneFeed->get\_description()

Entire content: $oneFeed->get\_content()

Array of authors: $oneFeed->get\_authors()

Created date: $oneFeed->get\_date()


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acymailing.com/old/integration-plugins/content-management/plugin-newsfeeds.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
