Knowledge Base

Does the Magpie Plugin support HTTP authenticated feeds?

To allow Magpie to authenticate to an HTTP authenticated, you must pass the ID and Password in the URL.  For instance:

{exp:magpie url="http://user:password@example..com/news.xml" limit="10" refresh="720"}
<ul>
{items}
<li><a href="{link}">{title}</a></li>
{/items}
</ul>
{/exp:magpie}

Warning: If you do this, anyone with access to edit that template will be able to view your login information for that feed, so use this trick with extreme caution.

Last Updated on Jun 16, 2007 at 11:25   ( Permalink )
Category: Miscellaneous