This idea is ambitious because my knowledge of perl is limited, but here goes...
I posted recently about a news tagging idea that I've seen work on other sites. Basically the idea is that visitors reading a story on your site can tag or associate key words with that story. Other visitors can come to the site and run a search based on those key words. This kind of member interactivity has proven popular in sites that I have visited and I'd like to try and create something similar for Coranto.
Here is the basic idea :
Each news story will have a link that when clicked will pop up a window. Inside of that window will be a form generated by Coranto with some hidden fields. The hidden fields will be the ID of that story (in my case 'newstime'), the title and the link to the story. The one field that will be visible which visitors can post into will be the key words which can be typed into the text box.
The form will then send the data off to a flat file database which can then be searched producing a list of stories relevant to the user depending on the words they search for.
This is the basic outline of the idea and I'm curious to get some feedback on this from any cgi or Coranto experts. Is this an idea that would be easy to create ?
My basic proposal is to keep the database separate to the db's that Coranto uses (just in case something goes wrong). When a user adds more key words to news item that is already in the db it should add those words to the same entry as opposed to creating a second entry in the db.
I already have a script that lets me fill out a form and add data into a flat file db. It also has a form that allows me to search the db. That part isn't perfect yet because it doesn't allow the kind of update to the db that I am hoping to achieve... but obviously this can be adapted I hope.
Any feedback on this idea is appreciated.
