473,978 Members | 33,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5353
google:

HTML to BBCode

"Matthias S." <matthias&AtSig n&emvoid$dot$co mwrote in message news:OI******** ******@TK2MSFTN GP05.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&AtSig n&emvoid$dot$co mwrote in message
news:OI******** ******@TK2MSFTN GP05.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.supe rnews.com...
google:

HTML to BBCode

"Matthias S." <matthias&AtSig n&emvoid$dot$co mwrote in message
news:OI******** ******@TK2MSFTN GP05.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@thatsitschr ieb im Newsbeitrag
news:31******** *************** ***********@mic rosoft.com...
.net for a decade?
"Matthias S." <matthias&AtSig n&emvoid$dot$co mwrote in message
news:OI******** ******@TK2MSFTN GP05.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&AtSig n&emvoid$dot$co mwrote in message
news:ee******** ******@TK2MSFTN GP06.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.supe rnews.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*@yadayadaya da.comschrieb im Newsbeitrag
news:Oh******** ******@TK2MSFTN GP06.phx.gbl...
>
"Matthias S." <matthias&AtSig n&emvoid$dot$co mwrote in message
news:ee******** ******@TK2MSFTN GP06.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.supe rnews.com...
google:
>
HTML to BBCode
>
>


Mar 15 '07 #7
"Matthias S." <matthias&AtSig n&emvoid$dot$co mwrote in message
news:ep******** ******@TK2MSFTN GP05.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&AtSig n&emvoid$dot$co mwrote in message
news:ep******** ******@TK2MSFTN GP05.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.moxieco de.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
3817
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 particular the encoder/decoder for the emoticons & bbcode and any examples of form layouts for textual input with all the appropriate '' and emoticon buttons?. Ta in advance, Dave
1
1564
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 - until I changed the order of the parser - then it stopped working... I'm assuming my problem is down to things like this:
1
1670
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 poor englist)
6
61638
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 here. Error Returned mySQL query error: SELECT MIN(pid) as pid FROM ib_posts WHERE queued=0 AND topic_id=85734 AND post_date 1160298086 LIMIT 0,1
0
1045
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... http://www.willmcgugan.com/2007/03/10/bbcode-python-module/ Will McGugan
1
3888
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? Thanx
10
2269
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 edit the code (without needing to know html) and so I was just wondering where I should look. Most of the links refer to phpBB forums, but this will be using my own code on my site. Alternatively, if this is not available, do any of you know a good...
8
1849
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 the BBCode parser should be configured. Is it to be configured by ourselves or will it be done by the hosting ISP. And will the tag be supported by BBCode?
2
3760
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 to be a .dll file located in the extensions folder in the php root directory, and there needs to be a line in the php.ini file that is uncommented that loads the .dll extension. But which .dll is it? Is it already in that folder, or do I need to...
0
10356
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10174
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
11588
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10087
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8464
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6421
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6561
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.