Keyword

JSON feed mapping to k2 items

  • Petar Elez
  • Petar Elez's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 5 months ago #148290 by Petar Elez
JSON feed mapping to k2 items was created by Petar Elez
I have access to a feed of articles (accessible via JSON ) that I would like to have mapped into the site as k2 items so they are hosted on my site along with content created in-house.

Does anyone have a suggestion on how I could go about doing that?



.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 5 months ago #148386 by Krikor Boghossian
Replied by Krikor Boghossian on topic JSON feed mapping to k2 items
if you add ?format=json to a K2 item or category it will return the request URL into a json format eg: www.joomlaworks.net/blog/item/194-k2-inheritance-sub-templating?format=json

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Petar Elez
  • Petar Elez's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 5 months ago #148435 by Petar Elez
Replied by Petar Elez on topic JSON feed mapping to k2 items

Krikor wrote: if you add ?format=json to a K2 item or category it will return the request URL into a json format eg: www.joomlaworks.net/blog/item/194-k2-inheritance-sub-templating?format=json


Thank you for your input Krikor. Proposed solution will allow me to generate JSON format for items already in K2. I am however looking for something different....

What I am looking for, is a way to take a JSON feed from another web site, extract articles from that feed, and add them to my web site as K2 items.

.
Any ideas on how to do that?
.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 5 months ago #148443 by Krikor Boghossian
Replied by Krikor Boghossian on topic JSON feed mapping to k2 items
You will need a 3rd party component.
Basically you need an aggregator which instead of RSS feeds, it uses JSON.

Feedgator is a popular extension but I do not know if it supports JSON.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum