We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2690
    • 148 Posts
    Hey,

    Trying to create RSS/Atom feeds for my site. Here is the call i use:

    [[Ditto? &parents=`81,82,83,645` &depth=`1` &format=`atom` &total=`20`]]


    For some reason whatever i do i can only get 3 documents. (i have more than 50 in the specified folders)
    Any ideas what limits it?

    Second, any way to template the feed ? i want to remove the author info from it and i also need to include one Template Variable value to it.

    thank you,

    Aleksey
      MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
      • 18397
      • 3,250 Posts
        • 2690
        • 148 Posts
        1. didnt help. same problem - 3 stories only . no particular order.
        2. broken link


        aleks
          MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
          • 18397
          • 3,250 Posts
          If #1 did not work, you are using an older version of Ditto. Try &summarize=`all` then.
          As for # 2, try it now: http://ditto.modxcms.com/tutorials/custom-rss-feed.html
            • 2690
            • 148 Posts
            i was using 2.0.1 .. upgraded to 2.0.2 - all fine now!
            thanks for the template link - all works great!


            Aleks
              MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
              • 2690
              • 148 Posts
              how do i strip all HTML tags from the ’content’ text?

              i want to use the <image> tag for better control.

              thank you!

              Aleks
                MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
                • 18397
                • 3,250 Posts
                To strip the content of all html tags use the PHx notags modifier on the content placeholder in your rss template