Examples: PersonalTelco
Download: RssLink.py

Only to remove external link icon "http://wiki.personaltelco.net/moin_static163/modern/img/moin-www.png" for a cleaner look.

   1 # -*- coding: iso-8859-1 -*-
   2 
   3 def execute(macro, text):
   4     if text.find('http://')> -1:
   5         url = text
   6     html = '''
   7     <a href="%s"><img src="http://wiki.personaltelco.net/images/rss.png"></a>
   8     ''' % (url)
   9     return html
  10 
RssLink.py

Macros/RssLink (last edited 2008-05-17 23:12:47 by JasonMcArthur)