You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that this blog template is set up so that all articles are 1 large JSON file, but I would like to figure out how to set up the template so that each article is in it's own JSON file, but I'm not sure how to go about it. It would be awesome if the template was set up this way, so I could see and understand how to achieve this structure.
This is just a feature request, really :-)
Anyway, thanks :-)
The text was updated successfully, but these errors were encountered:
I don't understand why you want this but here you go...
Article detail element has "article" object property. There goes article data. <article-detail name="detail" article="[[article]]"></article-detail>
Let's say you got you article's data named like this: art1.json art2.json ... artXX.json. Than you could load it with iron-ajax
If the data is too large to download all at once, would it not be better to store all the data in a single json file, and then send an Ajax request to a php script which pulls in only the parts you want all at once, instead of forcing yourself to generate a new request per post?
I noticed that this blog template is set up so that all articles are 1 large JSON file, but I would like to figure out how to set up the template so that each article is in it's own JSON file, but I'm not sure how to go about it. It would be awesome if the template was set up this way, so I could see and understand how to achieve this structure.
This is just a feature request, really :-)
Anyway, thanks :-)
The text was updated successfully, but these errors were encountered: