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 #183849 is a reply to message #183844] Fri, 22 November 2013 13:53 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 11/22/2013 7:48 AM, James Harris wrote:
> Having looked at Markdown and Smarty that people suggested it might be
> better if I bite the bullet and develop my own markup language. It would
> then be easier both to limit what it allows and also to add features as
> needed. I have been running some syntax tests and it seems quite easy to do
> and fast to process even though the markup is currently a little cumbersome
> to write.
>
> "Arno Welzel" <usenet(at)arnowelzel(dot)de> wrote in message
> news:528F32EE(dot)5030800(at)arnowelzel(dot)de...
>> Am 21.11.2013 19:30, schrieb James Harris:
>>
>>> I am looking for a way to mark up text in a way that PHP would be able to
>>> efficiently and quickly convert to HTML.
>>
>> What kind of text?
>
> What are the options? I was just thinking about normal text of the kind that
> would appear on a web page.
>
>> What kind of markup is needed?
>
> Quite a lot. Things like these:
> * bold, italic
> * links to local pages and remote URLs
> * images, code
> * headers, lists, line breaks
> * tables
> * other things will likely be required but are not defined yet
>
> For completeness, I should add that the markup would also need to pull in
> similarly marked up text from other files and to populate tables from
> databases.
>
> James
>
>

So you want to make people learn another markup language which will end
up being just another version of HTML?

HTML is not all that complicated. It just takes a little time. Using a
good validator is also helpful.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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 03 13:13:25 GMT 2024

Total time taken to generate the page: 0.04250 seconds