[Mediawiki-l] Templates and RSS

Dylan Boudreau dylan.boudreau at supportsoft.com
Tue Dec 5 15:47:44 UTC 2006


Hi, I am using MediaWiki 1.8 with Magpierss and an rss extension and am
trying to use templates for pages but am unable to get the variable to
swap in to the RSS feed.  I may not b explaining it right so I've
included what I am trying to do.

My customer page looks like this

{{customer_template|Customer=We sell widgets|}}

And my template looks like this

<UL>
<LI>[[{{{Customer}}} Access|Access]]</LI>
<LI>[[{{{Customer}}} Environment|Environment]]</LI>
<LI>[[{{{Customer}}} Contacts|Contacts]]</LI>
<LI>[[{{{Customer}}} Troubleshoot|Troubleshooting]]</LI>
<LI>[[{{{Customer}}} Other|Other]]</LI>
</UL>
<rss>http://ed/ee/EEsByCustomer.ashx?c={{{Customer}}}|Title={{{Customer}
}} Recent Issues</rss>


{{{Customer}}} is being replaced everywhere except within the RSS tag.
Is there a way to make this work so that it is replaced?

Thanks,

Dylan



More information about the MediaWiki-l mailing list