Psycho-Babble Administration | about the operation of this site | Framed
This thread | Show all | Post follow-up | Start new thread | List of forums | Search | FAQ

We need a script please...!!!

Posted by Molybdenum on May 1, 2008, at 8:08:42

Nah,

not one of those ones! I mean it would be great if Dr Bob would have someone who manages the servers write some scripts in Perl or TCLTK or whatever that would :


1. Run every time a poster clicks the "Submit your post" button in the form that would scan through their draft post looking for words that are not in the "site drug dictionary" & prompt them to select the correct name from one or more likely candidates. For example, someone might type "Cerlexor". When they try to post the script would detect that this word is misspelled & prompt them to select a close match - in this case "Celexa". The problem that this fixes is that so many people aren't getting the help they need because they've misspelled a word and nobody finds their post because they assume it's a new drug they've never heard of. Try searching on Celexa & then browse or search for close matches - there's lots.! I think this would be educational & help people to find info on their meds with a much higher success rate.

2. Once that process is complete, the poster sees a draft of their post (just like now) except that another script has run over it immediately prior to the draft being displayed. This script would do two things:

a) Auto substitutes every instance of the now correctly spelled "Celexa" with name "citalopram" instead.

b) Appends a little bit of text to the bottom of their post that is straight out of the Dr.Bob database. In this example it would looks like this:

citalopram=(Celexa, Cipramil, Citrol, Seropram, Talam, Recital Zetalo, Celepram, Ciazil, Zentius, Ciprapine, Cilift, Cipram)

This would be appended ditto for each drug in the post.

This way I would be able to identify quickly which posts I can help with & which I can't.

There's just too many names for each drug i=out there...!

let me know what you think

:)

Molybedamnd

Whadayathink...?


Share
Tweet  

Thread

 

Post a new follow-up

Your message only Include above post


Notify the administrators

They will then review this post with the posting guidelines in mind.

To contact them about something other than this post, please use this form instead.

 

Start a new thread

 
Google
dr-bob.org www
Search options and examples
[amazon] for
in

This thread | Show all | Post follow-up | Start new thread | FAQ
Psycho-Babble Administration | Framed

poster:Molybdenum thread:826556
URL: http://www.dr-bob.org/babble/admin/20080424/msgs/826556.html