Attachment 'RssLink.py'

Download

   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 

New Attachment

File to upload
Rename to
Overwrite existing attachment of same name
The state to the north of us

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.