On Mon, 25 Oct 1999 16:38:03 +0300
Jukka Zitting <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Todd Woodward wrote:
> > 1.) In the WMUC example site it uses a "macro" page
> element
> > of the Root page for "vmuc", which when used as
> <[vmuc]>
> > prints "The Virtual Midgard Using Company, Corp." Is
> this
> > inhereted by subpages of root and also inherited by
> content?
> > Doesn't seem to work for me when references from
> content..
> > Is it possible to create a global or at least host wide
> > "glossary" for just this sort of thing? (Maybe in a
> later
> > version?) If you've ever used UserLand's Frontier, the
> > Glossary was one of the most appreciated features.
>
> I'm not exactly sure I understand what you mean. Style
> elements can be
> defined to contain any html content to be included in the
> generated
> page. The style elements apply to the entire site. You
> can also create
> page elements that are used just like style elements but
> apply only to a
> single page or a page subtree. Defaults set by style
> elements can be
> overridden with page elements.
>
> So you can create a set of style elements that contain
> phrases or other
> content that is repeatedly used on the site. You cannot
> however use the
> elements in article content without special care.
> Elements can normally
> only be used in other elements and in page content.
OK. Let's look at a possible scenario: Everytime the word
"Mugwumps" appears on the site, no matter where, I want it
to be BOLD and be a link to <http://www.mugwumps.com>. (It
doesn't really exist, at least I don't think it does.)
Typing all the tags necessary for this when it appears in
content REPEATEDLY across the site is time consuming. I'd
like to be able to create a "macro" (in the language you
used in the example site) or a "glosarry" (my language)
entry, so whenever I type <[MGWC]> or even if it just
encounters the word, it replaces it with <B><A
HREF....>Mugwumps</A><B>.
> > 2.) I noticed that using ":h" doesn't add the <P>
> container
> > when it encounters carriage returns in the text. Can
> this be
> > added? (If not now, then in a future version?)
>
> You could use :f for that. It's quite handy!
>
> The most common formatting specifiers are:
>
> :p Midgard/PHP content, executed
> :h html content, iso-latin-1 entities escaped
> :t text content, possibility to quote html material
> :T text content, everything is escaped
> :f formatted text, :t with <p> and <ul> tags
> :F formatted text, :t with <p>, <ul> and <h2> tags
> :u url-encoded
>
> The default formatting specifier is :T. I have a more
> verbose
> explanation (including examples!) on my laptop. I'll
> commit it in the
> function reference as soon as I get home.
Can you combine :h and :f together?
Thanks,
Todd Daniel Woodward
Technical Consultant
RadioDigest.com Inc.
http://radiodigest.com
512/716-5148 Office
512/415-6840 Cell
"Radio you can READ!"
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]