Attachment 'RssLink.py'
Download
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
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.
- [get | view] (2008-05-17 23:06:05, 0.2 KB) [[attachment:RssLink.py]]