We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ A M B ☆
    • 1,231 Posts
    I’m having problems trying to read my forum xml using feedx...

    the url is http://www.err-clan.com/forum/index.php?action=.xml

    and i have this call to debug but it’s saying it’s unreachable. http://www.err-clan.com/forum/index.php?action=.xml [ERROR RETRIEVING FEED]

    [!FeedX? &url=`http://www.err-clan.com/forum/index.php|xq|action|xe|.xml` &debug=`1`!]

    Could someone help?
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 5091
      • 332 Posts
      Quote from: Jesse at Mar 02, 2007, 01:39 PM

      Here it is...it is a test Google Calendar feed:

      http://www.google.com/calendar/feeds/[email protected]/public/full

      Is google Calendar feed still works? Another post mentioned that Google Calendar is obselete.

      I tried to call a public google calendar but it’s showing me debug info; if I delete &debug then nothing shows up.

      This is my cde: [!FeedX? &url=`http://www.google.com/calendar/render?gsessionid=path-to-gcalendar` &preset=`rss` &caheTime=`3600` &debug=`1`!]

      The gCalendar are setup directly from google site, not the API.
        • 20207
        • 22 Posts
        I try to get the script working, but without any luck so far. My snippet call:

        [!FeedX? &url=`http://www.forensischepsychiatrie.nl/rss.xml` &preset=`rss` &caheTime=`3600` &debug=`1`!]


        My testpage can be found at http://www.forensischepsychiatrie.nl/feedx

        Can anyone help me sorting this out?
          • 22303 MODX Staff
          • 10,725 Posts
          I assume this is a typo?

          &caheTime=`3600`
            • 20207
            • 22 Posts
            Thanx for the reply now my code is:
            [!FeedX? &url=`http://www.forensischepsychiatrie.nl/rss.xml` &preset=`rss` &cacheTime=`3600` &debug=`1`!]


            still no feed. Basic info in debug says:
            Version  	FeedX 0.1.2
            URL 	http://www.forensischepsychiatrie.nl/rss.xml
            Cache Type 	Data caching
            Cache Time 	3600 seconds
            Preset 	rss
            Max Elements (limit) 	
            Start Elements (offset) 	
            Sort Elements 	
            Filter Elements 	
            Odd Elements 	
            Even Elements 	
            First Element 	
            Last Element 	
            User Placeholders 	
              • 29387
              • 40 Posts
              Occasionally posters have written of only getting the following line of code displaying on their web page from a FeedX snippet call:
              " FeedX: : /Users/myname/Sites/myclient/assets/snippets/FeedX/classes/feedx.class.inc.php "

              Nobody ever responded to them, so I was scratching my head in dismay when I got the same response on my test site.

              In an "aha" moment this morning, I learned this happens when the feedx.snippet.php code has been copied into a snippet on the site, but without the actual snippet itself being FTP’d to the server.

              After placing all of the snippet code into a folder at /assets/snippets/FeedX/, then the snippet works just fine.
                • 29387
                • 40 Posts
                OK, so the snippet seems to work perfectly -- with one exception: RSS or Atom feeds brought to a page by the snippet call can still include unescaped ampersands, which cause XHTML to burp and the page to fail validation.

                The snippet uses ’|xa|’ to convert ’&’ when it is executed, but it has no capability to perform a similar conversion from the typical ’&’ to the XHTML-required ’&’ when the feeds are brought in.

                How can we automatically convert this (and other such characters) in the links, titles, or content which are included in the feeds?
                  • 25551 ☆ A M B ☆
                  • 1,231 Posts
                  I need some help creating a Tpl for my feedX.... I’m not sure how to create files that use the same title that have placeholders and calls for other chunks.

                  This is the information from my debug

                  example.

                  COMPETITIONINFORMATION (this is the title of the .tpl)
                  Placeholders
                  [+NAME+] [+URL+] [+EMAIL+] [+IRC.CHANNEL+] [+STATUS+] [+FOUNDER+] [+DESCRIPTION+]

                  Children
                  {{LADDER->...}} {{LEAGUE->...}}

                  I obviously create a file called competitioninformation.tpl and I know to put the placeholders in it but what do I call the file that the children go in? Do I include the children calls in the competitioninformation.tpl file as well or create a separate file?

                  See the included debug for what I mean.
                    Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
                    AugmentBLU - MODX Partner

                    BLUcart - MODX Revolution E-Commerce & Shopping Cart
                    • 25551 ☆ A M B ☆
                    • 1,231 Posts
                    I’m starting to figure out how to do the template but I’m finding the feed is being duplicated... it’s displaying info once, correctly then underneath it, it’s doubling the info up and displaying incorrectly.
                      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
                      AugmentBLU - MODX Partner

                      BLUcart - MODX Revolution E-Commerce & Shopping Cart
                      • 29387
                      • 40 Posts
                      What are the parameters in your FeedX snippet call?

                      It sounds like the data is being displayed both in your template and then in some preset param.