Lisää kirjoituksia netistä.

Etsi blogista

Jos harkitset liittymistä, käytä alennuskoodia 00033583 niin saat 25€ pois palvelumaksuista. Hyödynnä alekoodi heti, sillä en tiedä kuinka kauan tuo kampanja kestää, mutta se vaikuttaa olevan voimassa ainakin 16.12.



It’s about this thing. JSON Feed is like an upgrade to the idea of RSS and Atom and maybe even to Google’s AMP. Now Textpattern has a plugin that generates a JSON Feed of recently published articles. Currently the plugin that I put together, that is kuo_json_feed, offers articles with HTML and not with plain text. It seems that Textpattern saves each article to database in two formats: with Textile and with HTML. So it’s not easy to create a plain text version of articles as it’d require either stripping HTML or Textile tags.

You can find a live demonstration of kuo_json_feed at http://kuopassa.net/?kuo_json_feed.

The downloadable Textpattern plugin is over here .

About the author

"JSON Feed" is rated 7 out of 10. That rating was formed of 1 vote(s). Kuopassa.net´s blog includes a total of 1217 posts including this one. If you´d like to link to this page from a blog or a forum, please use this permalink. Tag or tags: , .

Tsekkaa myös minkälaisia valokuvia teen: www.pjti.fi