Next Question
RSS
No Best Answer Selected, Tip Refunded
6 answerers thought this was unfair.
Source(s):
My husband said that is what his programmers use for some of their programs. I could tell you where he works, but then I would have to kill you. Just kidding on the killing part, however, he could lose his job. I hope this helps.
Permalink | Report
Two spaces in between letters, in caps:
S H I T
Alternate spelling:
S h y t e
I don't really want to dwell on this, as Mahalo is a friendlier, gentler place.
Source(s):
www.Newsvine.com
Permalink | Report
Perhaps a solution would be to have a button on each question and each answer that any user can click to mark it as "mature" material.
And similar to how unhelpful answers (marked so at least 3 times) are hidden until you click on them, content marked as "mature" could be hidden from view until a user clicks the link.
Permalink | Report
1. Strip the HTML or formatting tags from the heading text or texts - PHP has nice set of functions to do this
2. Use a very fast Regex to match the naughty words from a list of naughty words
3. To counter the issue @victoria_reid mentioned - one need to use Bi-gram/N-gram string matching to find foul words
4. Strike out the naughty words found
But it is true, there are many ways to approach this and the same time there are many ways to pass these kinds of filters. It is A battle!
Source(s):
http://en.wikipedia.org/wiki/Bigram
Permalink | Report
In the future, don't full the urgency to get these bugs noticed by posting M$10 questions, you can always contact staff directly or submit a bug report.
Helpful Answer?
(3)
(0)
Permalink |
Report
Question
M$10.50
November 08, 2009 01:14 AM
Naughty word filter workaround on Mahalo?
Did you know that if you use a filtered word in a question that it shows up with d--shes in it?
But did you also know that that word shows up withOUT dashes in the page title in your browser or "back" button?
Is it possible to add a filter feature to page titles so everyone is protected from unwanted displays of undashed words?
(Tip goes to functional code examples that Mahalo might actually be able to tweak and incorporate into their site.)
"Our" site I mean. :)
NOTE: Answers endorsed by Mahalo staff will carry more weight. After all, they are the experts on whether a specific code would even work.
If the "Best Answer" is that Mahalo doesn't seek to filter page titles (for search purposes) so this exercise is moot, then "No Best Answer" may be selected.
Email to a friend |
But did you also know that that word shows up withOUT dashes in the page title in your browser or "back" button?
Is it possible to add a filter feature to page titles so everyone is protected from unwanted displays of undashed words?
(Tip goes to functional code examples that Mahalo might actually be able to tweak and incorporate into their site.)
"Our" site I mean. :)
NOTE: Answers endorsed by Mahalo staff will carry more weight. After all, they are the experts on whether a specific code would even work.
If the "Best Answer" is that Mahalo doesn't seek to filter page titles (for search purposes) so this exercise is moot, then "No Best Answer" may be selected.
RSS
No Best Answer Selected, Tip Refunded
6 answerers thought this was unfair.
Answers (6)
November 09, 2009 02:29 AM
Use php to filter the title field. Database the filtered field - don't filter on the fly.
Source(s):
My husband said that is what his programmers use for some of their programs. I could tell you where he works, but then I would have to kill you. Just kidding on the killing part, however, he could lose his job. I hope this helps.
Permalink | Report
November 09, 2009 05:20 AM
On Newsvine, where I previously resided, they seem to have figured out every workaround in the book. We'll see, using s--t as an example. This should be filtered and have dashes or other characters to fill in the offending spaces. Two spaces in between letters, in caps:
S H I T
Alternate spelling:
S h y t e
I don't really want to dwell on this, as Mahalo is a friendlier, gentler place.
Source(s):
www.Newsvine.com
It was unfair to choose no best answer
The question was confusing. It's more like a pedantic tutorial, and I clearly didn't "get it." There was no way I expected best answer, but it seemed like this was a topic that should have been discussed directly with Mahalo, not posed as a general question.
The question was confusing. It's more like a pedantic tutorial, and I clearly didn't "get it." There was no way I expected best answer, but it seemed like this was a topic that should have been discussed directly with Mahalo, not posed as a general question.
Permalink | Report
November 09, 2009 05:25 AM
My goal isn't to find a way to work AROUND the filter. I want to bolster it so the "offensive" words don't show in the page title even though the Mahalo display is bleeped.
I leave it to Mahalo to handle creative workarounds. I'm under the impression that being able to alter the page title in addition to the question without disrupting search engine results is a desirable thing.
Report
I leave it to Mahalo to handle creative workarounds. I'm under the impression that being able to alter the page title in addition to the question without disrupting search engine results is a desirable thing.
November 09, 2009 05:33 AM
Agreed. I wish it were a more sophisticated method of filtration, you see, so the workarounds were not so easy to pull off.
Report
November 09, 2009 12:36 PM
I'm not a staff member, so I'm not sure how best to code the language filter as you mention, but I had similar thoughts for how to handle answers that contain text or videos with profanity (or content not so good for youngsters) Perhaps a solution would be to have a button on each question and each answer that any user can click to mark it as "mature" material.
And similar to how unhelpful answers (marked so at least 3 times) are hidden until you click on them, content marked as "mature" could be hidden from view until a user clicks the link.
Permalink | Report
November 09, 2009 02:35 PM
Any ideas on how to also put that functionality in the page title (at the top of your web browser page)?
Report
November 09, 2009 01:10 PM
A very highlevel suggestion is; 1. Strip the HTML or formatting tags from the heading text or texts - PHP has nice set of functions to do this
2. Use a very fast Regex to match the naughty words from a list of naughty words
3. To counter the issue @victoria_reid mentioned - one need to use Bi-gram/N-gram string matching to find foul words
4. Strike out the naughty words found
But it is true, there are many ways to approach this and the same time there are many ways to pass these kinds of filters. It is A battle!
Source(s):
http://en.wikipedia.org/wiki/Bigram
Permalink | Report
November 09, 2009 02:36 PM
Mahalo has that working fine on answers themselves, just not in the title of the page as my browser reads it. Any ideas on that specifically?
Report
November 09, 2009 02:57 PM
@silverhammer
That require some knowledge on how the page is generated via app script. But at least can you point me to a page with strike-out words so I can guess?
Report
That require some knowledge on how the page is generated via app script. But at least can you point me to a page with strike-out words so I can guess?
November 09, 2009 03:21 PM
The link that inspired this question has been removed. I wonder if we could create a test question in the NSFW section? I don't recall if that section filters though. Maybe a staffer will see this thread and link one for us to ponder.
While I don't expect anyone to crack Mahalo code in the process, seeing an example might inspire an answer.
Remember, I'm only asking for sample code on how to pass a filtered word to the page title so that it's still filtered, without losing search capabilities by retaining the original word (just not obvious in my browser title like it is now). Is it even possible?
Report
While I don't expect anyone to crack Mahalo code in the process, seeing an example might inspire an answer.
Remember, I'm only asking for sample code on how to pass a filtered word to the page title so that it's still filtered, without losing search capabilities by retaining the original word (just not obvious in my browser title like it is now). Is it even possible?
November 09, 2009 02:43 PM
Cute! I love that idea. But the actual question would morph into something entirely different. I think the goal is to preserve the search ability while still changing what the browser displays.
I'd link an example page on Mahalo but the question that inspired my question has since been reported/removed.
Report
I'd link an example page on Mahalo but the question that inspired my question has since been reported/removed.
November 09, 2009 05:50 PM
I was not aware of this, thanks for finding it, I will forward this information along to the development team. In the future, don't full the urgency to get these bugs noticed by posting M$10 questions, you can always contact staff directly or submit a bug report.
Helpful Answer?
(3)
(0)
Helpful: chriswingate, silverhammer, victoria_reid
Tip jeffhoard for this answerAnswer this Question
Related Questions
Ask a Question
Buy Mahalo Dollars with Credit Card or PayPal
Top Members
Most Popular Tags
Categories
- Anonymous
- Arts & Design
- Beauty & Style
- Books & Authors
- Business
- Cars & Transportation
- Consumer Electronics
- Coupons Deals
- Education
- Entertainment
- Environment
- Fitness
- Food & Drink
- From Email
- From Iphone
- From Twitter
- Health
- History
- Hobbies
- Home & Garden
- How Tos
- Humor
- Jobs
- Legal
- Local
- Love & Relationships
- Mahalo Answers Community
- Money
- Music
- News
- NSFW
- Parenting
- Pets
- Science & Mathematics
- Services
- Shopping
- Social Science
- Society & Culture
- Sports
- Technology & Internet
- Travel
- Video Games
Welcome New Members
- jazcordovez, November 20, 2009 11:48 PM
- muthuraj, November 20, 2009 11:42 PM
- carmendumas, November 20, 2009 11:36 PM
- farmingcheats, November 20, 2009 11:18 PM
- timmyflag, November 20, 2009 11:12 PM
Mahalo Dollars are the currency of Mahalo Answers.
Each Mahalo Dollar costs $1.
Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More
Ask him if it's possible for his suggested technique to change the displayed title on the webpage without interfering with search engine functionality?
A sample of working code would be a plus. Remember, on Mahalo titles and pages are created from the question.