We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

magpie - problems with cache

Development and Programming

Bjørn Børresen's avatar
Bjørn Børresen
629 posts
17 years ago
Bjørn Børresen's avatar Bjørn Børresen

I’ve got a EE template which is supposed to grab RSS content based on the url segments, like this:

{if segment_2 == "no"}
{exp:magpie url="http://www.43min.com/videos/feed/no?q={segment_3}" parse="inward" refresh="10"}
{if:else}
{exp:magpie url="http://www.43min.com/videos/feed/en?q={segment_3}" parse="inward"}
{/if}

.. but this doesn’t seem to work, since magpie caches the content and it will return the same content no matter what {segment_2} is ..

anyone know how this works?

  • bjorn
       
Bjørn Børresen's avatar
Bjørn Børresen
629 posts
17 years ago
Bjørn Børresen's avatar Bjørn Børresen

I just found my answer here: http://ellislab.com/forums/viewthread/61186/

I’m a bit puzzeled on why the if / else works that way, but anyway I got the problem fixed by just adding another if.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.