Hey, you gave me an idea! I had deleted the old resource containing a getResources call to make the rss-feed. Now I recreated it and played with it. The problem is that before using Articles all blog posts had the blog resource (#2) as parent.
The following getResources call used to work:
[[getResources?
&parents=`2`
&depth=`5`
&limit=`10`
&includeContent=`1`
&includeTVs=`1`
&showHidden=`1`
&hideContainers=`1`
&tpl=`rssItem`
]]
I tried to select my blog posts by their template, but the result remains empty:
[[getResources?
&parents=`-1`
&where=`{"template:=":3}`
&sortby=`{"publishedon":"DESC"}`
&depth=`5`
&limit=`10`
&includeContent=`1`
&includeTVs=`1`
&showHidden=`1`
&hideContainers=`1`
&tpl=`rssItem`
]]
What might be wrong here? I want to select all resources that use template #3, sort them by publishing date and output only the latest 10. Do you spot any syntax error?
[ed. note: pcab50 last edited this post 12 years, 2 months ago.]