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, Delicious and Tags

Development and Programming

mattobee's avatar
mattobee
2 posts
16 years ago
mattobee's avatar mattobee

Hi all,

I have the following code on each tag page - it pulls in the appropriate list of bookmarks from my Delicious account based on segment_2.

{exp:magpie url="http://feeds.delicious.com/v2/rss/mattobee/{segment_2}" limit="5"}<ul>
{items}<li class="xfolkentry"><span class="name"><a href="http://{link}%22class=%22taggedlink" rel="bookmark" class="taggedlink">{title}</a></span></li>
{/items}
</ul>{/exp:magpie)

Works fine apart from multi-word tags where the value of segment_2 is, for example, “web+design” and the equivalent tag at Delicious is “webdesign”.

Basically, I need to remove + from segment_2 in the Magpie call, but obviously this won’t work:

{exp:magpie url="http://feeds.delicious.com/v2/rss/mattobee/{exp:replace find="+"}{segment_2}{/exp:replace}

Any suggestions? 😊

       

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.