FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP functions to convert markup efficiently
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP functions to convert markup efficiently [message #183900 is a reply to message #183894] Sun, 24 November 2013 22:18 Go to previous messageGo to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma:
Senior Member
James Harris, 2013-11-24 19:11:

> "Arno Welzel" <usenet(at)arnowelzel(dot)de> wrote in message
> news:529224C1(dot)4060400(at)arnowelzel(dot)de...
>> James Harris, 2013-11-23 17:38:
>>
>>> "Arno Welzel" <usenet(at)arnowelzel(dot)de> wrote in message
>> [...]
>>>> Besides Markdown and Smarty you can also try DokuWiki - it's markup can
>>>> be extended using syntax plugins (and you can create your own plugins as
>>>> well to handle block level or inline elements etc.).
>>>
>>> I took a look at DokuWiki (having previously looked at the others). It's
>>> good but does things I don't want. At first glance I couldn't see a way
>>> to
>>
>> What exactly?
>
> Would exactly would I want to prevent it doing? Unfortunately, most of it!
> Things like:
> * automatic conversion of URLs which are not marked up

This can at least be avoided "manually" by embedding an URL within %% -
e.h. %%http://something.example%% would not be converted to a link.

> * automatic lowering of the case of page names

This can be changed in the code - according to
<https://forum.dokuwiki.org/thread/5417>:

In function cleanID(), located in inc/pageutils.php just comment out the
line with

$id = utf8_strtolower($id);

> * interwiki links

If you don't need them, remove all of them in conf/interwiki.conf.

> * windows shares links
> * ALL of its smileys

This is also configuration option and can be turned off.

> * its Usenet-style quoting

I'm not sure where to turn this off - but it should be possible.

> * most table cell merging

You don't like the way it works? Or don't you like the possibility to
merged table cells at all?

> * embeddable HTML and PHP

Which is also a configuration option and turned off by default anyway.



--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: changing iframe source via php
Next Topic: converting numbers to ascii values
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 20:49:15 GMT 2024

Total time taken to generate the page: 0.04443 seconds