- Posts: 20
COMMUNITY FORUM
JSON feed mapping to k2 items
- Petar Elez
-
Topic Author
- Offline
- Junior Member
Less
More
9 years 6 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?
.
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 6 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
Please Log in or Create an account to join the conversation.
- Petar Elez
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
9 years 6 months ago #148435
by Petar Elez
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?
.
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 6 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.
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.
Please Log in or Create an account to join the conversation.