Differences between revisions 1 and 2
Revision 1 as of 2008-05-17 23:04:54
Size: 183
Comment: transparency
Revision 2 as of 2008-05-17 23:12:47
Size: 258
Comment: icon
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Only to remove external link icon for a cleaner look. Only to remove external link icon "{{http://wiki.personaltelco.net/moin_static163/modern/img/moin-www.png}}" for a cleaner look.

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)