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 #183894 is a reply to message #183884] Sun, 24 November 2013 18:11 Go to previous messageGo to previous message
James Harris is currently offline  James Harris
Messages: 11
Registered: November 2013
Karma:
Junior Member
"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
* automatic lowering of the case of page names
* interwiki links
* windows shares links
* ALL of its smileys
* its Usenet-style quoting
* most table cell merging
* embeddable HTML and PHP

Sorry, but you did ask! It's not all bad. FWIW there are some things I like
about it.

>> take them away and to restrict the formatting it accepts. I'm not sure I
>
> You can. But you have to write a plugin to filter the markup of course.
>
>> want to invest the time needed to learn any of those packages when, at
>> least
>> for now, it seems that native PHP is easy enough to use and is far more
>> flexible.
>
> Your mileage may vary.
>
> Using just PHP itself and creating all the scripts on your own is of
> course the most flexible way - but I doubt if it is really "easy" if you
> want to create code which you still understand 2 years later ;-)

That is possible but the code so far is tiny. Partly because it has been
easy so far I am more concerned that I may have failed to consider something
fundamental!

James
[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: Sat Nov 23 02:26:39 GMT 2024

Total time taken to generate the page: 0.04213 seconds