Title: JSON feed
Author: chrisnorthwood
Published: <strong>16 maj 2009</strong>
Last modified: 19 november 2009

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/json-feed.svg)

# JSON feed

 Av [chrisnorthwood](https://profiles.wordpress.org/chrisnorthwood/)

[Ladda ner](https://downloads.wordpress.org/plugin/json-feed.1.3.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/json-feed/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/json-feed/#reviews)
 * [Utveckling](https://sv.wordpress.org/plugins/json-feed/#developers)

 [Support](https://wordpress.org/support/plugin/json-feed/)

## Beskrivning

Pretty simple, really. Adds a new type of feed you can subscribe to. Simply
 add`?
feed=json` to anywhere you get a normal feed to get it in JSON form (but with a 
cutdown version of events).

Version 1.1 added support for JSONP. To get a JSONP response instead of a
 normal
JSON structure, simply add `jsonp=callbackName` to your query, where callbackName
is the name of the function to be wrapped with.

To use this with jQuery, you’ll want to do something like:

    ```
    $.getJSON("http://example.com/feed/?feed=json&jsonp=?",
           function(data){
                   console.debug(data[0].title);   // print title of first item to firebug console
           });
    });
    ```

(thanks to Dan ”Tack” Trudell)

## Vanliga frågor

  There doesn’t appear to be much in the feed is there?

That’s right, I made this plugin for a very specific purpose – to provide
 feeds
for information screens around a University campus. It’s very simple, so should 
be easy to modify, or contact me and I might do it.

  Why does it require 2.7.1?

It probably doesn’t, but I’ve not tested it on any other version. Try it
 and see,
and let me know 🙂

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”JSON feed” är programvara med öppen källkod. Följande personer har bidragit till
detta tillägg.

Bidragande personer

 *   [ chrisnorthwood ](https://profiles.wordpress.org/chrisnorthwood/)

[Översätt ”JSON feed” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/json-feed)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/json-feed/), kika 
på [SVN-filförvaret](https://plugins.svn.wordpress.org/json-feed/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/json-feed/) via [RSS](https://plugins.trac.wordpress.org/log/json-feed/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.0

Initial version

#### 1.1

_NEW FEATURE_ Added support for JSONP

#### 1.2

_BUG FIX_ Display date alongside time in JSON packet.

#### 1.3

Improved documentation
 _NEW FEATURE_

## Meta

 *  Version **1.3**
 *  Senast uppdaterat **17 år sedan**
 *  Aktiva installationer **100+**
 *  WordPress-version ** 2.7.1 eller senare **
 *  Testat upp till **2.9.2**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/json-feed/)
 * Etiketter
 * [feed](https://sv.wordpress.org/plugins/tags/feed/)[feeds](https://sv.wordpress.org/plugins/tags/feeds/)
   [JSON](https://sv.wordpress.org/plugins/tags/json/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/json-feed/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

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

[Se alla recensioner](https://wordpress.org/support/plugin/json-feed/reviews/)

## Bidragande personer

 *   [ chrisnorthwood ](https://profiles.wordpress.org/chrisnorthwood/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/json-feed/)