
People are goddam lazy when it comes to tagging. I know I am, and don't doubt all submitters will be too. So, does anyone know a way to auto-insert-tags?
I would like this to happen in two different scenarios which would require distinct processes as far as I can tell:
1. During submission ... take all words in the title and put them in the tags box (perhaps with an ignore list for words like 'the' 'and' 'it' etc). The tag box would remain editable so if the user didn't like the suggestions they could change them.
2. RSS imports - same thing take all words form title, put them in tags. Obviously there is no user involved so these would simply be saved.
However there is a 3rd possibility... a job that I can run occasionally that runs on all untagged stories in the db. It could run once an hour and do:
- find stories where tagfield = null
- parse title for those stories for unique words in story title excluding those words we store in a file somewhere (if, the, and, what, etc)
- write remaining words to tagfield
Now here is the biggest problem.... I am a terrible programmer... I can 'hello world' in a million languages but not much more lol.
So is there a solution out there for any of these scenarios? Anyone have something similar that could be adapted?
Or am I screwed in which case which do you think would be the easiest approach for me to try and tackle?






Linear Mode




