469,632 Members | 1,789 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,632 developers. It's quick & easy.

BBCode Converter

hi there,

i'm desperately looking for an HTML to BBCode (and vice versa) converter,
either as a COM component or vbScript for use in an ASP (not .NET)
web-application. i sure could write one on my own, but my vbscript/COM
skills are a little rusty since I work with C# and .Net for almost the last
decade.

does anyone know of something or has a snippet of code in his/her bottom
drawer? any hint/help is greatly appreciated.

cheers!
Mar 15 '07 #1
8 5023
google:

HTML to BBCode

"Matthias S." <matthias&AtSign&emvoid$dot$comwrote in message news:OI**************@TK2MSFTNGP05.phx.gbl...
hi there,

i'm desperately looking for an HTML to BBCode (and vice versa) converter,
either as a COM component or vbScript for use in an ASP (not .NET)
web-application. i sure could write one on my own, but my vbscript/COM
skills are a little rusty since I work with C# and .Net for almost the last
decade.

does anyone know of something or has a snippet of code in his/her bottom
drawer? any hint/help is greatly appreciated.

cheers!


Mar 15 '07 #2
..net for a decade?
"Matthias S." <matthias&AtSign&emvoid$dot$comwrote in message
news:OI**************@TK2MSFTNGP05.phx.gbl...
hi there,

i'm desperately looking for an HTML to BBCode (and vice versa) converter,
either as a COM component or vbScript for use in an ASP (not .NET)
web-application. i sure could write one on my own, but my vbscript/COM
skills are a little rusty since I work with C# and .Net for almost the
last
decade.

does anyone know of something or has a snippet of code in his/her bottom
drawer? any hint/help is greatly appreciated.

cheers!

Mar 15 '07 #3
Thanks for the hint. I've done this already and since the results were
either for php or javascript, I'm on my way of roling my own parser. I was
just wondering, if there is something prebuilt out there. I don't want to
reinvent the wheel twice a day and the issue looks like something, a lot of
people come along. It's not that exotic, is it?

"Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot comschrieb im
Newsbeitrag news:12*************@corp.supernews.com...
google:

HTML to BBCode

"Matthias S." <matthias&AtSign&emvoid$dot$comwrote in message
news:OI**************@TK2MSFTNGP05.phx.gbl...
hi there,

i'm desperately looking for an HTML to BBCode (and vice versa)
converter,
either as a COM component or vbScript for use in an ASP (not .NET)
web-application. i sure could write one on my own, but my vbscript/COM
skills are a little rusty since I work with C# and .Net for almost the
last
decade.

does anyone know of something or has a snippet of code in his/her bottom
drawer? any hint/help is greatly appreciated.

cheers!


Mar 15 '07 #4
almost, it reads... almost

:)
"ThatsIT.net.au" <me@thatsitschrieb im Newsbeitrag
news:31**********************************@microsof t.com...
.net for a decade?
"Matthias S." <matthias&AtSign&emvoid$dot$comwrote in message
news:OI**************@TK2MSFTNGP05.phx.gbl...
hi there,

i'm desperately looking for an HTML to BBCode (and vice versa)
converter,
either as a COM component or vbScript for use in an ASP (not .NET)
web-application. i sure could write one on my own, but my vbscript/COM
skills are a little rusty since I work with C# and .Net for almost the
last
decade.

does anyone know of something or has a snippet of code in his/her bottom
drawer? any hint/help is greatly appreciated.

cheers!

Mar 15 '07 #5

"Matthias S." <matthias&AtSign&emvoid$dot$comwrote in message
news:ee**************@TK2MSFTNGP06.phx.gbl...
Thanks for the hint. I've done this already and since the results were
either for php or javascript, I'm on my way of roling my own parser. I was
just wondering, if there is something prebuilt out there. I don't want to
reinvent the wheel twice a day and the issue looks like something, a lot
of
people come along. It's not that exotic, is it?
What's BBCode??
"Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot comschrieb im
Newsbeitrag news:12*************@corp.supernews.com...
google:

HTML to BBCode

Mar 15 '07 #6
bulletin board code

used in many forum board... looks like for bold text for example...
"Anthony Jones" <An*@yadayadayada.comschrieb im Newsbeitrag
news:Oh**************@TK2MSFTNGP06.phx.gbl...
>
"Matthias S." <matthias&AtSign&emvoid$dot$comwrote in message
news:ee**************@TK2MSFTNGP06.phx.gbl...
Thanks for the hint. I've done this already and since the results were
either for php or javascript, I'm on my way of roling my own parser. I
was
just wondering, if there is something prebuilt out there. I don't want
to
reinvent the wheel twice a day and the issue looks like something, a lot
of
people come along. It's not that exotic, is it?

What's BBCode??
"Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot comschrieb im
Newsbeitrag news:12*************@corp.supernews.com...
google:
>
HTML to BBCode
>
>


Mar 15 '07 #7
"Matthias S." <matthias&AtSign&emvoid$dot$comwrote in message
news:ep**************@TK2MSFTNGP05.phx.gbl...
bulletin board code

What's BBCode??
[snip]

Do you just want to replace [ and ] with < and ?

A couple of uses of Replace() would do it.
Mar 16 '07 #8

"McKirahan" <Ne**@McKirahan.comwrote in message
news:9a******************************@comcast.com. ..
"Matthias S." <matthias&AtSign&emvoid$dot$comwrote in message
news:ep**************@TK2MSFTNGP05.phx.gbl...
>bulletin board code
>
What's BBCode??

[snip]

Do you just want to replace [ and ] with < and ?

A couple of uses of Replace() would do it.
BBCode uses a bunch of non-standard tags such as [url], [code], [big] etc.
Personally, I'd look at implementing a basic rich text editor instead. I
like the one here: tinymce.moxiecode.com

--
Mike Brind
Mar 16 '07 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Dave Moore | last post: by
1 post views Thread by Rob Meade | last post: by
1 post views Thread by 如履薄冰 | last post: by
6 posts views Thread by Thaqalainnaqvi | last post: by
reply views Thread by Will McGugan | last post: by
1 post views Thread by Toni | last post: by
TheServant
10 posts views Thread by TheServant | last post: by
8 posts views Thread by raaman rai | last post: by
2 posts views Thread by bgold12 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.