Title: JSON Feed (jsonfeed.org)
Author: mantonr
Published: <strong>24. 5. 2017</strong>
Last modified: 5. 4. 2024

---

Prohledat pluginy

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

![](https://ps.w.org/jsonfeed/assets/icon-256x256.png?rev=2985651)

# JSON Feed (jsonfeed.org)

 Autor: [mantonr](https://profiles.wordpress.org/mantonr/)

[Stáhnout](https://downloads.wordpress.org/plugin/jsonfeed.1.4.5.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/jsonfeed/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/jsonfeed/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/jsonfeed/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/jsonfeed/#developers)

 [Podpora](https://wordpress.org/support/plugin/jsonfeed/)

## Popis

Adds a JSON Feed to your WordPress site by adding `/feed/json` to any URL.

The JSON Feed format is a pragmatic syndication format, like RSS and Atom, but with
one big difference: it’s JSON instead of XML. Learn more at [jsonfeed.org](http://jsonfeed.org/).

## Instalace

 1. Upload the plugin files to the `/wp-content/plugins/jsonfeed` directory, or install
    the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‚Plugins‘ screen in WordPress

## Nejčastější dotazy

### What is JSONFeed?

JSON Feed, a format similar to RSS and Atom but in JSON. JSON has become the developers’
choice for APIs, and that developers will often go out of their way to avoid XML.

JSON is simpler to read and write, and it’s less prone to bugs.

### Can I add other fields to the feed?

Yes you can! There is a filter, `json_feed_item`, that allows you to modify the 
items in the feed just before they’re inserted into the feed itself. For example,
if you want to add a link to a post author’s archive page to the respective item
in the feed, you can use the following code:

    ```
    `
    ```

function wp_custom_json_feed_fields( $feed_item, $post ){
 $feed_item[‚author‘][‚
archive_link‘] = get_author_posts_url( $post->post_author );

    ```
    return $feed_item;
    ```

}
 add_filter( ‚json_feed_item‘, ‚wp_custom_json_feed_fields‘, 10, 2); `

### Can I write information to my posts?

This is a syndication format, which means it only represents your posts and comments
as feed elements. This is read only, similar to RSS or Atom. It is not an API.

## Recenze

![](https://secure.gravatar.com/avatar/e220a938709688fb1ec05a3f0fc8497a948685ed6f22b67791a6326e6130657e?
s=60&d=retro&r=g)

### 󠀁[Amazing!](https://wordpress.org/support/topic/amazing-2927/)󠁿

 [Parmen](https://profiles.wordpress.org/parmen/) 4. 1. 2021

What a difference in how our feeds look now. Great work, thank you!

![](https://secure.gravatar.com/avatar/844937cbc20249414814b9fa5cf132da97f6627d8d3e6b687e86bb1bcb27c0cc?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-5146/)󠁿

 [Anonymous User 16171956](https://profiles.wordpress.org/anonymized-16171956/) 
25. 5. 2018

No bells and whistles, no unexpected behavior, just a jsonfeed for your blog.

![](https://secure.gravatar.com/avatar/11da5b8b356f631408fdfefc35a193aac240b14acb2803560cc348ed3957f9e7?
s=60&d=retro&r=g)

### 󠀁[Works perfectly with no setup](https://wordpress.org/support/topic/works-perfectly-with-no-setup/)󠁿

 [joshuatbrown](https://profiles.wordpress.org/joshuatbrown/) 7. 2. 2018

Works beautifully! All I had to do was install the plugin and I could immediately
see my JSON feed at /feed/json.

![](https://secure.gravatar.com/avatar/868da8c5dd91d002db5da41a0d8435b5e3a1806e1d49045a79c140e9e6bde574?
s=60&d=retro&r=g)

### 󠀁[Just Works (TM)](https://wordpress.org/support/topic/just-works-tm-3/)󠁿

 [xpil](https://profiles.wordpress.org/xpil/) 20. 12. 2017

The plugin does exactly what says on the tin. There are no settings, no Pro version,
no ads and no other bells and whistles. Recommended!

![](https://secure.gravatar.com/avatar/325b6f559d1bfda6eff63f126fe6dbc7154abe1ba28de3e2fd5176e1aed31262?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-4017/)󠁿

 [Colin Devroe](https://profiles.wordpress.org/cdevroe/) 25. 5. 2017

This plugin is simple to install, adds no weight to your site, and does what it 
says on the tin.

 [ Přečtěte si všech 5 recenzí ](https://wordpress.org/support/plugin/jsonfeed/reviews/)

## Autoři

JSON Feed (jsonfeed.org) je otevřený software. Následující lidé přispěli k vývoji
tohoto pluginu.

Spolupracovníci

 *   [ mantonr ](https://profiles.wordpress.org/mantonr/)
 *   [ Daniel Jalkut (Red Sweater) ](https://profiles.wordpress.org/redsweater/)
 *   [ David Shanske ](https://profiles.wordpress.org/dshanske/)

[Přeložte “JSON Feed (jsonfeed.org)” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/jsonfeed)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/jsonfeed/), podívejte
se do [SVN repozitáře](https://plugins.svn.wordpress.org/jsonfeed/), nebo se přihlaste
k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/jsonfeed/) pomocí
[RSS](https://plugins.trac.wordpress.org/log/jsonfeed/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 1.4.5

 * Sanity check on $max_page
 * Add filter `jsonfeed_comments_feed_enable`, which if set to false will disable
   the comments feed header.
 * Add mime type for jsonfeed to filter for W3C Cache Plugin per GitHub issue 67.

#### 1.4.4

 * Fix declaration error

#### 1.4.3

 * Add next_url
 * Add CORS header

#### 1.4.2

 * Update WebSub support

#### 1.4.1

 * Added author field back for compatibility with JSON Feed 1.0.

#### 1.4.0

 * Switch to using GUID for the ID
 * Update to the JSONFeed 1.1 standard
 * Use the RSS versions of title functions to allow these filters to be used

#### 1.3.1

 * Fix attachment array
 * Replace custom function with backcompat of function introduced into Core

#### 1.3.0

 * Add comments template
 * JSONFeed icon now part of repo
 * Allow for multiple attachments
 * Respect summary setting
 * Add support for extra feeds in header

#### 1.2.0

 * dshanske added as a contributor/maintainer
 * Add featured image if set
 * Add site icon if set
 * home_page_url now actually returns the correct URL instead of always returning
   the homepage of the site
 * Add avatar and URL to author
 * Include site name in feed name in the discovery title
 * Fix issue with timezone not reflecting on date

#### 1.1.2

#### 1.1.1

#### 1.0

 * Initial release

## Komunitní plugin

Tento plugin je vyvíjen a podporován komunitou.

## Meta

 *  Verze **1.4.5**
 *  Poslední aktualizace **před 2 roky**
 *  Aktivních instalací **1 000+**
 *  Verze WordPressu ** 4.9 nebo novější **
 *  Testováno až do WordPressu **6.5.8**
 *  Verze PHP ** 5.6 nebo novější **
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/jsonfeed/)
 * Štítky
 * [feed](https://cs.wordpress.org/plugins/tags/feed/)[feeds](https://cs.wordpress.org/plugins/tags/feeds/)
   [JSON](https://cs.wordpress.org/plugins/tags/json/)[jsonfeed](https://cs.wordpress.org/plugins/tags/jsonfeed/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/jsonfeed/advanced/)

## Hodnocení

 5 z 5 hvězdiček.

 *  [  5 5hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/jsonfeed/reviews/?filter=5)
 *  [  0 4hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/jsonfeed/reviews/?filter=4)
 *  [  0 3hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/jsonfeed/reviews/?filter=3)
 *  [  0 2hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/jsonfeed/reviews/?filter=2)
 *  [  0 1hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/jsonfeed/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/jsonfeed/reviews/#new-post)

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/jsonfeed/reviews/)

## Spolupracovníci

 *   [ mantonr ](https://profiles.wordpress.org/mantonr/)
 *   [ Daniel Jalkut (Red Sweater) ](https://profiles.wordpress.org/redsweater/)
 *   [ David Shanske ](https://profiles.wordpress.org/dshanske/)

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/jsonfeed/)