Sharp as a Marble
HomeAboutContactSyndicationLogin
 

I rewrote the code behind the posting mechanism in .Text to allow for basic HTML in the comments now.

You can add hyperlinks with targets and hrefs (<a href="http://my.url.com" target="_new">) as well as <b>,<em>,<i>,<strong>,<blockquote>, and <u>.

The system should be smart enough to remove any garbage, but it's beta so there's bound to be some bugs. If you have any trouble posting comments, please use the comment button up top to let me know.

Thanks!
SaaM Technical Staff

If you are a .Text blogger, you too can add these controls by following the ReadMe.txt included in SaaMComboPack.zip

rolled out on Monday, September 27, 2004 8:35 PM
Comments
# RE: HTML is Now Enabled in the Comments - Maura

Rolled Out On: 9/28/2004 3:19 AM

The day that I can start a post off with the words "I rewrote the code behind the anything" is the day that Satan will have to pull on his woollens, because Hell will have frozen over. I'm in awe. Good on ya!

# RE: HTML is Now Enabled in the Comments - Bryant Likes

Rolled Out On: 9/28/2004 1:06 PM

Cool!

But is is safe?

:)

# RE: HTML is Now Enabled in the Comments - Bryant Likes

Rolled Out On: 9/28/2004 1:07 PM

Looks like it is. Great job!

# RE: New Sharp as a Marble Functionality - Robb Allen

Rolled Out On: 10/4/2004 6:55 PM

# [MOD] HTML Enable in Comments - DaBlog of Ma' Mind

Rolled Out On: 10/7/2004 9:17 AM

# RE: HTML is Now Enabled in the Comments - David D.

Rolled Out On: 10/7/2004 12:25 PM

Got it all BUT the HTML enabled...no errors, but nothing HTML'd in any post??

All files in skin\controls....lines in web.config. Any ideas? So far I'm batting 66% :P

# RE: HTML is Now Enabled in the Comments - Robb Allen

Rolled Out On: 10/7/2004 12:31 PM

Make sure you change your PostComment.ascx file's directive

Control Language="c#" AutoEventWireup="false" Inherits="SaaM.Web.UI.Controls.PostComment"

# RE: HTML is Now Enabled in the Comments - david d

Rolled Out On: 10/8/2004 9:58 AM

That did it....did I miss that in the install directions? :$ :P

Apprec. the insight....Test post worked fine, but nothing already posted??

# RE: HTML is Now Enabled in the Comments - Robb Allen

Rolled Out On: 9/28/2004 1:12 PM

The code is open so if anyone can find errors or improvements, I'm all ears. I had to deal with some pretty bitchin' Regular Expressions and while they can make text manipulation a breeze, it's easy to misstype a \s instead of \S and end up consuming characters you don't want.

In one of the first builds, I ended up matching tags that started with a b because I didn't require the RegEx to look for either space or the closing > immediately after the matching character.

It's hard to see that sometimes.

# RE: HTML is Now Enabled in the Comments - Robb Allen

Rolled Out On: 9/28/2004 1:13 PM

Oh, yeah. Version two will probably try to ensure a matching tag as well so I don't get bold text all the way to the end when someone forgets to close.

# [MOD] HTML is Now Enabled in the Comments - DaBlog of Ma' Mind

Rolled Out On: 10/6/2004 6:30 AM

# RE: HTML is Now Enabled in the Comments - David D.

Rolled Out On: 10/6/2004 6:36 AM

Reading these docs wrong? or is the PrevNext.ascx file missing???

# RE: HTML is Now Enabled in the Comments - Robb Allen

Rolled Out On: 10/6/2004 6:41 AM

Oops. Sorry about that David. It's been fixed, try redownloading it.

My bad!

# RE: HTML is Now Enabled in the Comments - Robb Allen

Rolled Out On: 10/8/2004 10:49 AM

That's because the information that is put into the database is filtered at post time, not presentation time. From now own, everything should work. I've discovered a small bug (probably won't affect most users) so pay attention to any release changes,

Comments have been closed on this topic.
 
TipJar
2A Blogger Bash
Other bloggers with guns.

Article Categories


General

Archives


January, 2009 (24)
December, 2008 (57)
November, 2008 (76)
October, 2008 (107)
September, 2008 (114)
August, 2008 (93)
July, 2008 (93)
June, 2008 (77)
May, 2008 (79)
April, 2008 (53)
March, 2008 (46)
February, 2008 (46)
January, 2008 (63)
December, 2007 (69)
November, 2007 (63)
October, 2007 (83)
September, 2007 (73)
August, 2007 (84)
July, 2007 (59)
June, 2007 (63)
May, 2007 (35)
April, 2007 (30)
March, 2007 (37)
February, 2007 (32)
January, 2007 (38)
December, 2006 (14)
November, 2006 (28)
October, 2006 (25)
September, 2006 (24)
August, 2006 (28)
July, 2006 (27)
June, 2006 (28)
May, 2006 (14)
April, 2006 (17)
March, 2006 (35)
February, 2006 (33)
January, 2006 (26)
December, 2005 (15)
November, 2005 (22)
October, 2005 (35)
September, 2005 (37)
August, 2005 (50)
July, 2005 (34)
June, 2005 (55)
May, 2005 (53)
April, 2005 (56)
March, 2005 (57)
February, 2005 (77)
January, 2005 (72)
December, 2004 (79)
November, 2004 (76)
October, 2004 (59)
September, 2004 (74)
August, 2004 (69)
July, 2004 (75)
June, 2004 (56)
May, 2004 (28)

Post Categories


Humor (rss)
Views (rss)
Catblogging (rss)
News (rss)
Politics (rss)
Geekdom (rss)
Recipes (rss)
Blogging (rss)
Wingnuts and Moonbats (rss)
War on Terror (rss)
Photography (rss)
Brewsky (rss)
Guns. Lots of Guns. (rss)
Daughter Blogging (rss)
TMI (rss)
Anxiety & Panic Attacks (rss)
Gun Myths (rss)
Reloading (rss)
Range Time (rss)
Anti-Rights Idiocy (rss)
Firearm Safety (rss)
A Cancer Story (rss)
Second Amendment Blog Bash (rss)
Gun Rights (rss)
Gun-Free Zones (rss)
Self Defense (rss)
The Line Is Here (rss)
Getting old sucks (rss)
NRA (rss)
2A Blog Bash (rss)
Out of sight, out of mind (rss)
Video Podcasts (rss)
Para Blackwater Training (rss)
GTI (rss)
You need this (rss)
Competitive shooting (rss)
PSH (rss)
Gun banners (rss)
For Sale (rss)
Economics (rss)

Image Galleries


Beyond the Pale brewing session

::Other Digs


The Line Is Here

::Sharpest Marbles


Eject! Eject! Eject!
Instapundit
Iraq the Model
Protein Wisdom
QandO
Sharp as a Marble
Vodka Pundit
WILLisms
Witting Shire
Wizbang

:Second Amendment


A Keyboard and a .45
Alphecca
Another gun blog
Anthroblogogy
Armed and Safe
Call Me Ahab
Carnaby Fudge
Days of our Trailers
Double Tapper
Dustin's Gun Blog
Fighting for Liberty
Firearms and Freedom
Great Blue Whale
Gun Owners Against Violence
Gun Pundit
Guntards
Justin Buist
Live from the (upper) Texas Gulf Coast
MArooned
Mausers and Muffins
Mike-istan
Musings of the Geek with a 45
Notes from the American Outback
Oleg Volk
Papa Delta Bravo
Pro-Gun Progressive
Random Nuclear Strikes
Ride Fast and Shoot Straight
Roberta X
Say Uncle
Sear and Hammer
Snowflakes in Hell
The Anarchangel
The Armed Schoolteacher
The Bitch Girls
The Breda Fallacy
The Countertop Chronicles
The Law Dog Files
The Liberty Sphere
The Mad Rocket Scientist
The Madman Raves
The Other Side of Kim
The Real Gun Guys
The Sentinel
The Smallest Minority
The View From North Central Idaho
The War on Guns
View from the porch
Walls of the City
West, By God
Xavier thoughts

Blogroll


Guide to Midwestern Culture
Basil's Blog
Captain's Quarters
Coalition of the Swilling
Cold Fury
Cranky Neocon
Daily Pundit
dorkafork
File It Under
Florida Cracker
Garfield Ridge
INDC Journal
Is Full Of Crap
Medium at Large
Notes from the trenches
One Ping Only
Sean Gleeson
Sekimori
Sissy Willis
Six Meat Buffet
Speed of thought
Squeaky Wheel Seeks Grease
The Belmont Club
The Munchkin Wrangler
The Spoons Experience
The Unforgiving Minute
Tim Worstall
UNSpace
Vern's Blog

Extended Blogroll


21st Century Paladin
Bill Peschel
Cowboy Blob
Craziness
Flight Pundit
Hubs and Spokes
In the Right
Pajamaverse
PEER Review
TechnoChitlins
The Tygrrrr Express

Funny, as in Ha-ha


Ace of Spades HQ
Cox & Forkum
IMAO
ScrappleFace
The Superficial
Topic Drift
Wuzzadem

Good Reads


Drink This
Evil White Guy
Leaning to the Right
Ramble Strip
Save the Soldiers
SondraK
The Resplendent Mango
Triticale
You Big Mouth You

Tampa Area Blogs


Tampa Film Fan

My Technorati Conversations

Hang in there Mom

Cool Post-it Note Icon