Google Answers Logo
View Question
 
Q: OpenWiki ( No Answer,   2 Comments )
Question  
Subject: OpenWiki
Category: Computers > Programming
Asked by: j_philipp-ga
List Price: $10.00
Posted: 23 Sep 2004 06:56 PDT
Expires: 12 Oct 2004 15:29 PDT
Question ID: 405236
I want to do two small things in OpenWiki (by editing the ASP source,
or a configuration file):
* make CamelCase *not* auto-link
* make hard breaks be accepted
Answer  
There is no answer at this time.

Comments  
Subject: Re: OpenWiki
From: paul_schleifer-ga on 24 Sep 2004 14:14 PDT
 
To make CamelCase not a link, put a tilde (~) in front of the term
(see http://www.openwiki.com/ow.asp?HelpOnLinking).

For hard breaks, you can either use something like %%% to indicate
where you want the break, and then edit the function
MyMultiLineMarkupEnd in owbase\ow\my\mywikify.asp to look something
like:

Function MyMultiLineMarkupEnd(pText)
    pText = Replace(pText, "%%%", "<br>")
    MyMultiLineMarkupEnd = pText
End Function


Or you can try using the same function to replace all line breaks with
an html break tag:

Function MyMultiLineMarkupEnd(pText)
    pText = Replace(pText, vbCrLf, "<br>")
    MyMultiLineMarkupEnd = pText
End Function
Subject: Re: OpenWiki
From: j_philipp-ga on 29 Sep 2004 06:45 PDT
 
Thanks Paul, I think your second comment on hard breaks is very good,
and I will try it out.

The first comment: yes, but I do not want the user to enter a tilde.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy