473,386 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Simple mark-up for CMS

I'm designing/coding a content management system in PHP and am
currently considering how the users will add textual content. I would
like them to be able to use some kind of simple mark-up, like a very
limited subset of HTML, probably with a more friendly naming scheme.
Does anybody have experience of such a thing? I'm thinking an XML
application is the proper answer but when I consider the DTD and
parser it seems like an overkill solution if I'm starting from
scratch.
Does anybody have any advice or suggestions on this? I'm sure it's
been done before but I don't know where to look, is there something
existing I can use or adapt? Has anybody tried this kind of thing
before?

I'd really appreciate any kind of help in this,
Geoff
Jul 17 '05 #1
1 1298
Hi,
I just read your question on codingforums.com, too ;-)
Does anybody have any advice or suggestions on this? I'm sure it's
been done before but I don't know where to look, is there something
existing I can use or adapt? Has anybody tried this kind of thing
before?


Well, something like ubb code is too simple?
Allow them to put something like bold text or italic
text
etc. Then you can preg_replace those tags with real html tags.
Or are you searching something different?

Saludo
piz
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mark Davies | last post by:
I'm sure this is simple -- I'm just spacing it today. Assume the following: freq fruit ---- ---- 10 apple 5 apple 7 banana 6 pear 3 pear 2 orange
5
by: Haines Brown | last post by:
Re. <title>, my impression has been that a line break is _NOT_ allowed in the contained text. Is that true? Also, I gather a double quotation mark in the text string (and ampersand, etc.) _IS_...
8
by: Mark | last post by:
Hi, I'm looking for some ideas on how to build a very simple Event processing framework in my C++ app. Here is a quick background ... I'm building a multithreaded app in C++ (on Linux) that...
3
by: mark | r | last post by:
im lookinf for an idiots guide to creating a product list where categories are stored in a separate table from the products table, i know how to link the data in access so the products table is...
3
by: Mark Allison | last post by:
Hi, VERY simple problem! if (regServer.UseTrustedConnection == 1) { string connectionString = "server=" + regServer.Name + "; Trusted_Connection=yes; database=master"; } else
1
by: Mark Ogilvie | last post by:
Hi I'm new to C#, and have a problem which I'm sure is simple. I have the following 3 lines of code: string ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data...
3
by: msnews.microsoft.com | last post by:
Hello All, In the "Find Dialog" (Ctrl-F) of the IDE there is an option called "Mark All". When I click "Mark All", this marks the occurences of my search text. How will I clear this mark? ...
7
by: Rudy | last post by:
Hi All! How do you control what's in the blue title bar in IE. Like for example "Discussions in dotnet.framework.aspnet - Microsoft Internet Explorer" on this page. Where do you controll the text...
3
by: Mark | last post by:
I am trying to read the appsettings section of a configuration file using the ConfigurationManager object (ASP.NET application) with the following three lines but for some reason the...
13
by: Håkan Johansson | last post by:
Coming from Delphi, I've tried to declare a function within a method, but can't get the compiler to "swollow it". Is it at all possible? That is: SomeMethod() { LocalFunction() {
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.