We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47401
    • 295 Posts
    HI All

    Im having a nightmare time trying to find the best way to output all pages for an rss feed. ive tried getPage, PDOresources and Wayfinder and just dont seem to be any good. IM currently using Wayfinder but it doesnt seem to be showing any child pages.

    I have
    [[!Wayfinder?
      &rowTpl=`rssItem`
      &excludeDocs=`7,9`
      &outerTpl=`rssItemOuter`
      &startId=`0`
      &ignoreHidden=`1`
    ]]


    this is missing child pages of document id 29. How can I also include the child pages?

    Thanks
      • 4172
      • 5,888 Posts
      pdoResources should be the right tool.
      what didn't work with pdoResources?

      What is your rssItem - code?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 47401
        • 295 Posts
        Hi Bruno17 thanks for your quick response

        My rssItem chunk is:

        <item>
          <title>[[+pagetitle:striptags=`<span>`:cdata]]</title>
          <link>[[++site_url]][[~[[+id]]]]</link>
          <description>
            [[+meta_description:ellipsis=`150`:default=`[[+content:ellipsis=`100`]]`:cdata:]]
          </description>
          <pubDate>[[+publishedon:strtotime:date=`%a, %d %b %Y %H:%M:%S +0100`]]</pubDate>
          <guid isPermaLink="false">[[++site_url]][[~[[+id]]]]</guid>
          <dc:creator>
              [[+createdby:userinfo=`fullname`]]
          </dc:creator>
        </item>


          • 47401
          • 295 Posts
          rssItemOuter Chunk is:
          [[+wf.wrapper]]
            • 4172
            • 5,888 Posts
            this will show only one level deep, since you don't have a wf.wrapper in your rowTpl.
            But I really think, you should give pdoResources another try for that task.
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!