We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10487 MODX Staff
    • 1,535 Posts
    Ah, sorry Briggsy! My bad ... embarrassed

    That never occurred to me - I’ll get a fix put in the phpGiggle plugin later today for it - good find! smiley

    Cheers, Garry
      Garry Nutting
      Senior Developer
      MODX, LLC

      Email: [email protected]
      Twitter: @garryn
      Web: modx.com
      • 4095
      • 372 Posts
      Quote from: garryn at Mar 03, 2006, 03:53 AM

      Ah, sorry Briggsy! My bad ... embarrassed

      No stress, thats what testing is all about smiley
        [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
        Admin Sandbox Login: sandbox Password: castle
        • 13736
        • 345 Posts
        I am having trouble with my NewsListing RSS feed showing the actual news items. I’m using the following code on a text/xml page with a blank template ...

        [[NewsListing? &format=`rss` &startID=`9` &summarize=`6`]]


        And the result is nothing but the Title in my RSS reader. Is there a tag I forgot to include?

        The feed is here (currently with fake data):
        http://www.ebcworship.com/index.php?id=16

        I know my news page is working in general here http://www.ebcworship.com/index.php?id=9

        So how about it. Anyone got a clue as to what’s happening? And can we get the official documentation updated to talk about the RSS features?

        - Jeff
          • 32847
          • 171 Posts
          I had the same problem so I took newsfeed undecided
          Indeed, that could help me too to read some documentions on rss with newslisting and a working link.
          Thanks
            • 29228
            • 109 Posts
            I’m poor english. Sorry! embarrassed
            The method of making RSS from NewsListing is in a Japanese forum.
            http://modxcms.com/forums/index.php/topic,2933.msg20693.html#msg20693
            Chunk is made first.
            <item>
            <title>[+title+]</title>
            <link>[(site_url)][~[+id+]~]</link>
            <description><![CDATA[ [+summary+] ]]></description>
            </item>

            Next, the template is made.
            <?xml version='1.0' encoding='UTF-8'?>
            <!DOCTYPE rss SYSTEM 'http://my.netscape.com/publish/formats/rss-0.91.dtd'>
            <rss version='0.91'>
            <channel>
            <title>Site Title</title>
            <link>Website URLl</link>
            <description>Description</description>
            <language>ja-JP</language>
            [!NewsListing?startID=`ID`&tpl=rsstemplate&datetype =pub_date&hidefolders=1&showarch=0&multilevel=1&summarize=10&paginate=0& sortby=pub_date&emptytext=0!]
            </channel>
            </rss>

            Good Luck! wink
            Tanks
              • 18397
              • 3,250 Posts
              You must code it in.
                • 29228
                • 109 Posts
                I was not able to display it though I tried format=rss. I think that this might be bug of NewsListing.
                Then, the way that uses chunk without using format=rss is easy and is good.
                Chunk is used and there is an advantage, too. It is possible to make format of RSS0.91, RSS1.0, and RSS2.0 from a few edits.

                I consult an English dictionary, and am writing this.  English is difficult for me. undecided
                  • 18397
                  • 3,250 Posts
                  Wowzers! Alot of cross posting. My comment (made from my PSP = brief) was directed to Briggsy.

                  So how about it. Anyone got a clue as to what’s happening? And can we get the official documentation updated to talk about the RSS features?

                  Where are you entering the title? When NewsListing is in RSS mode it automatically uses the pagetitle field. Please file a request in the NewsListing bugtracker so that I can add a option to choose which field to use.

                  As for the documentation, the included version is always up to date and I update the main modxcms.com one with each new MODx (not NewsListing release).

                  Quote from: takumi at Mar 03, 2006, 09:49 AM

                  I was not able to display it though I tried format=rss. I think that this might be bug of NewsListing.
                  Then, the way that uses chunk without using format=rss is easy and is good.
                  Chunk is used and there is an advantage, too. It is possible to make format of RSS0.91, RSS1.0, and RSS2.0 from a few edits.

                  I consult an English dictionary, and am writing this.  English is difficult for me. undecided

                  NewsListing RSS mode is needed because it strips out certain tags and characters to keep the feed valid. I chose to force RSS2.0 as it is the current standard and having more than one version of the same feed is considered bad practice. You can use feedburner to convert the RSS2.0 to whatever you like.

                    • 9763
                    • 16 Posts
                    I am a newbie having trouble getting NewsListing to work. I am unsure whether I am supposed to post here or in the general support forum, so apologies if i picked the wrong one!

                    I have read the documentation, and have looked at the example in the demo site in the installation, and it seems like it should be so simple but i just can’t get it to work, so I would really appreciate a hand.

                    In my tree, I have a folder called About Us (id 9). Within this there is a folder called Testimonials (id 12). I have 2 docs in this folder company 1 (id 13) and company 2 (id 14). Now, all I want to do is to list all the docs within the Testimonials folder on the Testimonials page. So my testimonials page would look something like:

                    -----------
                    Testimonials

                    Read our Testimonials!

                    Company 1
                    we were really pleased with the job done

                    Company 2
                    we would highly recommend this company

                    etc
                    ----------------

                    So, I have the following in the document content rich text area:
                    Read our Testimonials!
                    
                    [[NewsListing? &startID='12' &summarize='2']] 
                    


                    But, when I view the resulting page, I just see a list headed "Older Items" which seems to list most content on the site, some with weird dates! http://new.interactivereturn.com/about-us/testimonials.ir

                    Where have I gone oh so wrong??? I realise it must be something pretty stupid!

                    Thanks in advance smiley
                      • 21191
                      • 236 Posts
                      forgive me.. but how does this work?.. I’ve read through everything I can find on it.

                      it would be ncie to see some sample pages, anyone have anything?
                        ~Shawn Himmelberger
                        Check out my MODx Development and MODx Design Company - Himmelberger Design