Hello coders! I used some DC software since a while, I have to say they can be really handy, especially with these small Snack utilities filling niche needs. I thank you for all of your work.
Though I'm having an idea for a small program that would help me a bit, and others might find it useful too if they do online researching.
It would be basically a list-based program which takes text from the clipboard (preferably by selecting and drag&dropping text too, like as in modern browsers), determines a 1) date and a 2) name from the text snippet, and then puts them into the list, preferably sorted by the date.
For the date, it should recognize common date formats (yyyy-mm-yy, dd/mm/yy etc.), even partial dates (only "July of 1998" or "2013"). This certainly needs regex though, but I think if the dates are at either the front or the end of the selection text it would be easier to find it. It could ask the user with a pop-up message when in doubt about the exact date format in the case it could be multiple ones, for example 11/10/12 could be dd/mm/yy or mm/dd/yy or even yy/mm/dd in some European languages.
As for the name, by default it would be the text which is not the date part (the other half of the selection text). The whole regex process would be easier if the text would be stripped of any leading or trailing whitespace, including CR/LF linebreaks, which are often accidentally copied when people select text hastily.
When the program gets text dropped on it, it should display a window which asks for the correct date and name, prefilling it with it's best guess. Drag and drop isn't crucial, but it would make it more handy to use.
Examples:
" and the third GeekCon was organized by SuperTeam Ltd. in 2001" becomes "2001" and "and the third GeekCon was organized by SuperTeam Ltd. in", and
"12th of August, 1998 - Mad Racer for PlayStation" becomes "1998-08-12" and "- Mad Racer for PlayStation" after parsing, but they will be put into the list with a user-corrected "name" and a possibly user-corrected date scheme. Again, whitespace trimming may help with making things easier and prettier.
I think the date format presented in the list view should be customizable, and the list itself should be savable and loadable in a simple format. It's probably over the top, but an option to export text to the clipboard with MediaWiki-compatible list markup with possibly wikilinking each item name would be sweet.
It might be a bit much to tackle, especially with the date recognition part, but I think it would be quite the useful little tool for some people who want to compile a chronological list of things more easily.
Thank you for any reply!
Though I'm having an idea for a small program that would help me a bit, and others might find it useful too if they do online researching.
It would be basically a list-based program which takes text from the clipboard (preferably by selecting and drag&dropping text too, like as in modern browsers), determines a 1) date and a 2) name from the text snippet, and then puts them into the list, preferably sorted by the date.
For the date, it should recognize common date formats (yyyy-mm-yy, dd/mm/yy etc.), even partial dates (only "July of 1998" or "2013"). This certainly needs regex though, but I think if the dates are at either the front or the end of the selection text it would be easier to find it. It could ask the user with a pop-up message when in doubt about the exact date format in the case it could be multiple ones, for example 11/10/12 could be dd/mm/yy or mm/dd/yy or even yy/mm/dd in some European languages.
As for the name, by default it would be the text which is not the date part (the other half of the selection text). The whole regex process would be easier if the text would be stripped of any leading or trailing whitespace, including CR/LF linebreaks, which are often accidentally copied when people select text hastily.
When the program gets text dropped on it, it should display a window which asks for the correct date and name, prefilling it with it's best guess. Drag and drop isn't crucial, but it would make it more handy to use.
Examples:
" and the third GeekCon was organized by SuperTeam Ltd. in 2001" becomes "2001" and "and the third GeekCon was organized by SuperTeam Ltd. in", and
"12th of August, 1998 - Mad Racer for PlayStation" becomes "1998-08-12" and "- Mad Racer for PlayStation" after parsing, but they will be put into the list with a user-corrected "name" and a possibly user-corrected date scheme. Again, whitespace trimming may help with making things easier and prettier.
I think the date format presented in the list view should be customizable, and the list itself should be savable and loadable in a simple format. It's probably over the top, but an option to export text to the clipboard with MediaWiki-compatible list markup with possibly wikilinking each item name would be sweet.
It might be a bit much to tackle, especially with the date recognition part, but I think it would be quite the useful little tool for some people who want to compile a chronological list of things more easily.
Thank you for any reply!









