[Moin-user] 2 questions on schemes and linking

Juergen Hermann jh at web.de
Mon Sep 24 12:12:05 EDT 2001

On Mon, 24 Sep 2001 14:54:06 +0000, bragiba at simi.is wrote:

>I was trying to insert links to images using InterWiki names such as
>[FundaMentals:Image1.gif  Link to Image 1]. This does not work and the
>images still appears in the actual document.
>Bracketeted links need a schema:
>[wiki:FundaMentals:Image1.gif ...

A fix is in CVS.

>return Page('AcronymIndex#%s' % first_letter_in_acronym).link_to(acronym)

Add a keyword parameter to link_to (anchor="spam").

>        page = open('c:/Inetpub/wwwroot/acronyms/acronyms.txt', 'r')

Please don't add static paths, so other ppl can use your macros if you finished 
them. Best use "config.data_dir" (see the code that finds intermap.txt).

Ciao, Jürgen

More information about the Moin-user mailing list