ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Facebook RSS

April 11, 2010 6:35am

Subscribe [5]
  • #1 / Apr 11, 2010 6:35am

    rick.prince

    111 posts

    I’m trying to display a company’s rss feed on Facebook but its outputting relative URL’s, not absolute - linking to the current domain, not facebook.com Eg:

    <entry>
        <title> Blah blah blah…</title>
        <link rel="alternate" type="text/html" href="/posted.php?id=50245567013&share_id=318332860488&comments=1#s318332860488" />
        ...
    </entry>

    Via.

    I’m using Magpie rss - is there a spefic facebook plugin for EE that will fix this or will I have to resort to some jquery magic?

    Thanks!

  • #2 / Apr 11, 2010 4:27pm

    Greg Salt

    3988 posts

    Hi Rick,

    Can you clarify this please? As far as I can tell the RSS links do point to other Facebook resources properly.

    Cheers

    Greg

  • #3 / Apr 27, 2010 8:21pm

    Wes Baker

    343 posts

    I’m having the same problem. I take a look at the RSS feed and the links are properly setup, but in when parsed by the Magpie plugin it creates relative links.

  • #4 / Apr 27, 2010 9:58pm

    Brandon Jones

    5500 posts

    Wes,

    Is there a link you can share along with your template code? Which version and build are you running?

  • #5 / Apr 27, 2010 10:04pm

    Wes Baker

    343 posts

    Right now the site is only local, but I’m running 1.6.9 build 20100415.

  • #6 / Apr 28, 2010 2:22am

    John Henry Donovan

    12339 posts

    Wes,

    I take a look at the RSS feed and the links are properly setup, but in when parsed by the Magpie plugin it creates relative links.

    When I view the source of rick.prince’s feed the links are actually all relative. So it is the feed itself producing the relative links. Easiest fix would be to just add the Facebook URL into your tag. Does that help?

    {exp:magpie url="http://www.facebook.com/feeds/page.php?format=atom10&id=111111" limit="10" refresh="720"}
    <ul>
    {items}
    <li><a href="http://www.facebook.com{link}">{title}</a></li>
    {/items}
    </ul>
    {/exp:magpie}
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases