Lisää kirjoituksia netistä.

Etsi blogista



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 kuopassa.net/?kuo_json_feed.

The downloadable Textpattern plugin is over here .

About the author

"JSON Feed" is rated 5,5 out of 10. That rating was formed of 2 vote(s). Kuopassa.net´s blog includes a total of 1296 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