We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27
    • 117 Posts
    hi folks, awesome snippet!

    ive got flickr and twitter feeds running like a dream, next on my list is blogspot, but im struggling - the output is a link to my blog page for
    [!FeedX? &url=`http://blogname.blogspot.com/feeds/posts/default` &preset=`atom`!]

    and completely blank for
    [!FeedX? &url=`http://blogname.blogspot.com/feeds/posts/default|xq|alt|xe|rss` &preset=`rss`!]
    as per http://help.blogger.com/bin/answer.py?hl=en&answer=97933.

    after this my next mission is FeedX for youtube, anyone got anything tips?

    thanks in advance

    /* Update: */

    &preset=`atom` does also spit out a list <ul><li><a...></li></ul> where the link anchor is incomplete, so its isnt displaying onscreen, i guess i should run the debug console > Placeholder [+SUMMARY+] wasn’t valid. So i changed entry.tpl in ’atom’ to:
    <li><a href="[+LINK.HREF+]" title="[+TITLE+]"><h3>[+TITLE+]</h3></a><p>[+CONTENT+]</p></li>


    and thats pretty much what i was after - i probably wanna truncate the content actually.

    /* Next */

    You Tube - the amendment to entry.tpl works, but ideally i’d like to just have the video play on teh same page - like how facebook does it... any geniuses done anything similar?
      • 25551 ☆ A M B ☆
      • 1,231 Posts
      I would be interested to see how you got flickr and twitter feeds working?
        Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
        AugmentBLU - MODX Partner

        BLUcart - MODX Revolution E-Commerce & Shopping Cart
        • 27
        • 117 Posts
        Twitter one was by the super skilled @KyleJ http://www.muddydogpaws.com/notebook/how-to-add-a-custom-twitter-status-to-modx.html

        and the Flickr one was out the box (nuff respect @ApoXX) using snippet call:

        [!FeedX? &url=`http://api.flickr.com/services/feeds/photos_public.gne|xq|id|xe|flickrid|xa|format|xe|rss2` &preset=`flickr`!]


        where ’flickrid’ is the flickr stream id - i got mine from http://idgettr.com/

        *** Anyone have any notes on FeedX for Amazon?
          • 28033
          • 925 Posts
          Anyone know why [+GD|WHEN.STARTTIME:google=`%B %d, %G @ %T`+] isn’t working, but it works when I do the sans-PHx call?

          I’m using the full, not the basic parameter.
            My Snippets
            -> PopUpChunk v1.0
            • 3647
            • 177 Posts
            HI

            FeedX doesn’t seem to be in the Extras area of the new site - has it been superceded?
            The only version I can see is 2007 on http://www.stanback.net but when I download the archive is damaged.

            Is there something people use instead?

            Mark
              • 22303 MODX Staff
              • 10,725 Posts
              Quote from: bluespark at May 15, 2009, 10:58 AM

              HI

              FeedX doesn’t seem to be in the Extras area of the new site - has it been superceded?
              The only version I can see is 2007 on http://www.stanback.net but when I download the archive is damaged.

              Is there something people use instead?

              Mark
              See the first post in this topic for the most up-to-date version, AFAIK. Generally, extras in the In Development section are not yet considered complete enough to release, at least by the original author anyway. wink
                • 14089
                • 56 Posts
                i am having a hard time figuring out how to display usernames and descriptions of the photos. i am using feedx to pull photos from a flickr group pool. the photos themselves show up without a problem. any ideas on how to get that information?
                  for all things independent, check out http://www.indieophile.com
                  • 26334
                  • 77 Posts
                  Been using feedx on a number of feeds on my site for a while and it is awesome. However I have just come across a bug and can’t work out a solution. Not sure what is causing it.

                  I am retrieving a custom weather feed and at times it contains zero’s.

                  eg.
                  <CurrentTemp>0</CurrentTemp>

                  When it goes to zero in any number of places (eg precipitation today etc) it disappears from the debug console feed data. If I look at the raw xml it is still there but in the debug console it just vanishes. Once the value moves to anything else it reappears and shows up in the debug console and the resultant page.

                  Does anyone know if.
                  a) this is a function of the xml parser: xml_parse
                  b) a function of feedx
                  c) a function of my stupidity somehow? (hints there would be great)
                  d) if it can be solved with phx or some other way.

                  Many thanks.
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    I suspect a bug; there are several PHP functions that accept 0 as a "fail" or "empty" state, while in actuality 0 is a perfectly good value. I’ve run across this before, and a different function was used to accomplish the same thing while accepting 0 as a good value.
                      Studying MODX in the desert - http://sottwell.com
                      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                      Join the Slack Community - http://modx.org
                      • 26334
                      • 77 Posts
                      That was my suspicion as well but as yet haven’t been able to locate where.

                      Any ideas?