We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8883
    • 59 Posts
    Hi,
    I tried to add favorites of my flickr-account on my website.
    http://api.flickr.com/services/rest/?method=flickr.favorites.getList&api_key=32544ec298468943e42dca3e3c725be6&user_id=13540718%40N07&auth_token=72157602009771104-ff9c31ebf0ee0e06&api_sig=b9b0d41a81a3ce66f6be21dec2d7e488
    

    I replaced all "?" with "|xq|", ...
    [!FeedX? &url=`http://api.flickr.com/services/rest/|xq|method|xe|flickr.favorites.getList|xa|api_key|xe|32544ec298468943e42dca3e3c725be6|xa|user_id|xe|13540718@N07|xa|auth_token|xe|72157602009771104-ff9c31ebf0ee0e06|xa|api_sig|xe|b9b0d41a81a3ce66f6be21dec2d7e488` &preset=`flickr` &caheTime=`3600` &debug=`0`!]

    But I don’t receive anything. Just an empty Page.
    Caching is off.
      • 8883
      • 59 Posts
      Anyone an idea?
        • 23050
        • 1,842 Posts
        Do you mean blank page ? Do you get any debug info ?
          • 8883
          • 59 Posts
          debug info.
            • 23050
            • 1,842 Posts
            It seems that you don’t use the good template.

            Look the "geladene Templates" tab, you have RSS->inner but your template builder shows you should use RSP->inner.

            Ok, I’ve seen where the problem is. Look ak this post : lw-d uses a flickr feed too but in rss format, adding |xa|format|xe|rss2 at the end of the url... maybe your problem comes form here : your feed is not in rss format but your template is wink
              • 8883
              • 59 Posts
              Thx for the info, but I guess it’s not possible to receive this API in rss-format.
              Anyway I couldn’t find this option.
              http://www.flickr.com/services/api/flickr.favorites.getList.html

              Does feedx supports rsp?
                • 11975
                • 2,542 Posts
                Hi,

                look in the debug console, the template buider tab gives you all the required inbformations to build your tpl set.
                outer => {{RSP->photos}}
                photos=> {{PHOTOS->itemPhoto}}
                itemPhoto=> the placeholders listed in template builder

                :-)
                  Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                  • 8883
                  • 59 Posts
                  Aaahh. Thx a lot!
                  My photo - template:
                  <a href="http://www.flickr.com/photos/[+PHOTO.OWNER+]/[+PHOTO.ID+]"><img src="http://farm[+PHOTO.FARM+].static.flickr.com/[+PHOTO.SERVER+]/[+PHOTO.ID+]_[+PHOTO.SECRET+]_s.jpg" alt="[+PHOTO.TITLE+]" title="[+PHOTO.TITLE+]" width="[+MEDIA|THUMBNAIL.WIDTH+]" height="[+MEDIA|THUMBNAIL.HEIGHT+]" /></a> 
                  

                  A picture is shown, but only one.
                  Is it because the xml-structure?

                  The debug console is showing a lot of placeholder ([+PHOTO.1.ID+], [+PHOTO.2.ID+], ...)

                  How to solve this last step?

                    • 23050
                    • 1,842 Posts
                    Here is templates for SMF forum xml feed. I’ve used .xml because .rss contains less info.

                    But in my case, I’ve juste used basic info such as title of a post, author, time... many more are available smiley
                      • 23050
                      • 1,842 Posts
                      Hi,

                      My site is in UTF-8. I get a xml encoded in UTF-8 but I get é in the output.

                      Why ?

                      With xml in ISO, I don’t get such errors... Strange that UTF-8 with UTF-8 output this character ? :/

                      Any idea ? Thanks smiley