We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 742
    • 12 Posts
    Update for the curious - my problem was that I was using the path to the blog as the base then just adding /feed/ to the end. What I did not realize is that I was including the www. in the url when the REAL feed URL does not have it. I was using actually using http://www.example.com/blog/feed/ when I should have been using http://example.com/blog/feed/

    ___________________

    After changing getfeed to getFeed, I tested other feeds besides the one I wanted to use and they all show up fine. I know now there is an issue with my feed!

    Thanks everyone!

    ___________________


    Hi all -

    I’m using getfeed and I can’t seem to get the content of a WordPress blog to show up on a site’s home page.

    Here is my code:

    new-blog-summary
    [[!getfeed? &url=`http://example.com/blog/feed/` &limit=`3` &tpl=`new-blog-summary-tpl`]]


    new-blog-summary-tpl
        <p><a href="[[+link]]">[[+title]] - [[+pubdate]]</a></p>
        <p>[[+summary]]</p>
    


    chunk reference in page content
    [[$new-blog-summary]]



    • I have swapped out the feed URL with others that I KNOW are working and it still does not work.
      I have re-installed getfeed just in case there may have been an issue there.
      I have directly visited the URL of my feed and it is fine - the only thing I have not done is try to add the content of the feed to another site...

    I fear something may really be broken

    Any ideas? Thanks for your time =)
      • 33968
      • 863 Posts
      I don’t know if you changed the snippet name, but this snippet is by default named getFeed with a capital F. You need to be accurate there or the parser won’t find it.

      Try:
      [[!getFeed? &url=`http://example.com/blog/feed/` &limit=`3` &tpl=`new-blog-summary-tpl`]]
      
        • 742
        • 12 Posts
        Doh!

        Ok, so now my feed chunk is
        [[!getFeed? &url=`http://example.com/blog/feed/` &limit=`3` &tpl=`new-blog-summary-tpl`]]


        And I still have no results.

        Running more checks...If anyone else has any ideas I’d appreciate it!

        Oh - and I am using Revolution.