473,327 Members | 1,919 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,327 software developers and data experts.

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 5323
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dave Moore | last post by:
Hi All, I'd like enable visitors to my website to use bbcode and emoticons whilst entering text into a form. Are there any standard lumps of php/javascript I can use for this purpose?. In...
1
by: Rob Meade | last post by:
Hi all, Back on the bbcode parsing (again)... Having a few problems now with nested tags - it would seem that I had written my test string in a way that worked perfectly with the parser -...
1
by: 如履薄冰 | last post by:
BBcode reference: http://www.phpbb.com/phpBB/faq.php?mode=bbcode I want write a BBcode module in Python, but I'v not idea for this. Who can tell me about this arithmetic? ( I'm so sorry for my...
6
by: Thaqalainnaqvi | last post by:
IPB WARNING mysql_query() : Unable to save result set (Line: 457 of /ips_kernel/class_db_mysql.php) There appears to be an error with the database. You can try to refresh the page by clicking...
0
by: Will McGugan | last post by:
Hi, I have written a BBCode parsing module that may be of use to some people. It turns BBCode in to XHTML snippets. See the following page if you are interested... ...
1
by: Toni | last post by:
Where can I find BBCode editor (editor for forums and blogs) for ASP.NET. I need editor like FreeTextBox (but BBCode, not HTML like FreeTextBox). I need source code or control. Where can I find it?...
10
TheServant
by: TheServant | last post by:
Another thread sparked an interest: With using BBCode, do you have to install that package or is it the browser that recognises it? I would like to make my own for my website to let certain users...
8
by: raaman rai | last post by:
i am adding dynamic contents in my website. So i also want to have a news or announcements to be dynamically displayed. But for this i need to use BBCode. But in reference to this, i dont know how...
2
by: bgold12 | last post by:
I already posted this message, but it didn't work or something. So if this is a duplicate, ignore it. I just can't figure out how to install this extension. From what I understand, there needs...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.