MFN Integration Guide
  • What is MFN
  • Overview
    • Getting started
    • Integration methods
    • Disclaimer / IPO
    • Caching
    • Checklist after integration
  • Integration methods
    • On-Demand API
    • Synced API
    • MFN Loader
    • IFrame Widget
  • Wordpress Plugin
  • MFN Widgets
    • Report archive
    • Email Subscription Widget
    • Media collection
  • API
    • Feed
    • Model
      • Tags
    • Demo Data
    • WebSub
      • Endpoint
      • Subscribe (optional)
      • Ping Extension (optional)
      • Code samples
      • Misc
    • Archive
    • Email Subscription Guide
Powered by GitBook
On this page
  • Description
  • Getting Started
  • News feed
  • News item

Was this helpful?

  1. Integration methods

On-Demand API

PreviousChecklist after integrationNextSynced API

Last updated 1 year ago

Was this helpful?

Description

  • Each request to you site fetches live data directly from the MFN API

  • Can be used from backend or frontend

Getting Started

News feed

Start by studying the Feed API and corresponding News Item model. The feed should be simple to be consume with any HTTP client and is available in both JSON or XML.

Typical filtering setups

Most of the time the website should be divided into different parts / menus for different categories of press releases. Typically at least the user should be able to distinguish between Regulatory releases and other press releases. If the customer will use MFN for PR many times it will also be displayed in a separate feed.

Description

Query params

<none>

type=ir

Regulatory

tag=:regulatory

Reports

tag=sub:report

type=pr

filter=(not(.properties.tags@>[":regulatory"]))

News item

https://feed.mfn.se/v1/feed/<feed_id>[.json/.xml]?news-slug=<slug>
https://feed.mfn.se/v1/feed/<feed_id>[.json/.xml]?news-id=<news_id>

If .json or .xml is left out, it will return JSON by default

Typical Page Layout

Part

JSON model path

Title

.content.title

Publish Date

.content.publish_date

Tags (*)

.properties.tags

Text Body

.content.html

Attachments

.content.attachments

All releases ()

Press releases ()

News ()

Other News ( and Non regulatory )

To fetch and display a single press release from the API you can use either use the query param news-slug () or in combination with the base feed url.

(*) Press releases can contain many , but typically a select few would be displayed as actual visible tags. Most commonly :regulatory as Regulatory / Regulatorisk according to site language.

Feed
.content.slug
news-id
IR & PR
IR
PR
PR
IR
tags