We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14050
    • 788 Posts
    You need to have a preset in your call so it knows how to template the output.

    Try using:

    &preset=`rss`

    Also, add &debug=`1` and you can use the template builder to edit the rss template located in assets/snippets/FeedX/tpl/rss to fit what information you want.

    If you have trouble understanding the template builder, leave debug on and post a link to your site. Also include what you want your final output to look like (HTML code included).
      Jesse R.
      Consider trying something new and extraordinary.
      Illinois Wine

      Have you considered donating to MODx lately?
      Donate now. Every contribution helps.
      • 10076
      • 1,024 Posts
      Hi Jesse,

      i tried &preset=`rss` and &debug=`1` in various combinations (|xq|preset|xe|rss etc.) still no change.
      See no code in the generated source either. Yahoo uses the weather channel and that seems the same as weather.com?
      I have an other feed on the "nieuws" page. Maybe thats the issue?

      Anyway, page is http://www.barassoboys.eu/

      ta Frank.
        • 14050
        • 788 Posts
        Great.  The Debug window shows the template builder, which will allow me to help you further.  Don’t place preset in the URL, place it as a parameter.  So your call should be like this:

        [!FeedX? &debug=`1` &preset=`rss` &url=`http://weather.yahooapis.com/forecastrss|xq|p|xe|ITXX0082|xa|u|xe|c|xa|preset|xe|xml!]


        Then you need to post what you want your final output to look like on your webpage (including HTML).
          Jesse R.
          Consider trying something new and extraordinary.
          Illinois Wine

          Have you considered donating to MODx lately?
          Donate now. Every contribution helps.
          • 10076
          • 1,024 Posts
          Thanks Jesse,

          okay done that, and indeed inside the debugger there is the forecast feed. So I wouldliketo shape it like on eg the example you have created with weather.com. So an Image and some data, wind speed etc. Is that done by using those tpl´s?
          Haven´t quit grasped the logic behind that. inner outer, channel etc...:(

          I ussualy start altering them one by one untill I find a change, trial and error.
          Anyway would like to get this running so there also is a solution for the non US weather forecasts.

          Fr

          edit:

          just changed the item.tpl and first tried normalletters and then capital (CAPITALS) and that gave me the decription. But I would like to get something like http://weather.yahoo.com/forecast/ITXX0082_c.html.
          Do I need to make a new tlp? image.tpl? And then modifx channel tpl, add {{IMAGE->image}} ?Not sure however what toput in the image tpl?
            • 14050
            • 788 Posts
            Considering that Yahoo Weather uses the Weather Channel, you could likely use an rss feed provided by weather.com. Nonetheless, the feed can parsed pretty easily. Here is an example:

            http://www.cmssandbox.com/MODx095/index.php?id=57

            There is a link on that page to download the template used for it. Upload that to your assets/snippets/FeedX/tpl directory. Using the template I provided and the "template builder" inside the debug window should allow you to output it exactly as you want.
              Jesse R.
              Consider trying something new and extraordinary.
              Illinois Wine

              Have you considered donating to MODx lately?
              Donate now. Every contribution helps.
              • 10076
              • 1,024 Posts
              works straight away. when I get time I will try and give it some layout.

              thanks a lot,

              frank
                • 18830
                • 161 Posts
                Hallo,

                I studied the Google Calendars API but couldn’t make it out: Is there a way to subscribe to several calendars? And if not can I do this with one FeedX call?

                Many thanks for any advice.
                  • 14050
                  • 788 Posts
                  You will likely have to use Google Events for this.

                  http://www.modxcms.com/Google-Events-1301.html
                    Jesse R.
                    Consider trying something new and extraordinary.
                    Illinois Wine

                    Have you considered donating to MODx lately?
                    Donate now. Every contribution helps.
                    • 18830
                    • 161 Posts
                    I tried GoogleEvents already. What I missed was the support of PHx. But I will try it again tomorrow, maybe it will work with the phx:google snippet for FeedX.
                      • 8254
                      • 15 Posts
                      Not really sure how to use this as I am not sure how to use most things modx but I am trying. I have this link and I have all the file in the right place but when I call the snippet I get this error

                      MODx encountered the following error while attempting to parse the requested resource:

                      Here is what I am using: (I have the snippet named rssparser)
                      [!rssparser? &url=`http://discovervancouver.com/things-to-do/rss.php?area=11` &tplPreset=`rss`!]