forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: flapane on March 19, 2012, 12:39:24 pm

Title: Automatic TAG suggestion
Post by: flapane on March 19, 2012, 12:39:24 pm
I find Simple Tags (http://wordpress.org/extend/plugins/simple-tags/) WP plugin to be very useful.
Would it be complicated to include a feature for automatic title/description scanning in the existing tags list only? (As a sidenote, that WP plugin also does a tag suggestion operation, using 3rd party services)

Example: I upload a photo of a church, and write the word "church" in the title or the description. Then cpg automatically scans for every word in the title and description fields, and check if one of those words already exist in the tag list.
If the tag "church" already exists, it will be automatically added as a tag for that photo.

I already have over a hundred tags, and this feature would be really useful.

Thanks
Title: Re: Automatic TAG suggestion
Post by: Αndré on March 19, 2012, 12:45:23 pm
With "tags" you mean Coppermine's "keywords"?
Title: Re: Automatic TAG suggestion
Post by: flapane on March 19, 2012, 12:46:27 pm
I'm sorry. "Keywords", of course.
Title: Re: Automatic TAG suggestion
Post by: Αndré on March 19, 2012, 12:49:56 pm
cpg automatically scans for every word in the title and description fields, and check if one of those words already exist in the tag list.
If the tag "church" already exists, it will be automatically added as a tag for that photo
Has Coppermine to scan for those words while you type or is it sufficient that it checks it during form submission and automatically save each word that already exists as keyword?
Title: Re: Automatic TAG suggestion
Post by: flapane on March 19, 2012, 12:54:08 pm
A "scan for keywords" button in the submission form (maybe near the keywords text field) would be nice, so that it will scan (and add the keywords) only after you've done with the title and the description for that photo.
Title: Re: Automatic TAG suggestion
Post by: Αndré on March 19, 2012, 01:00:47 pm
Valid suggestion. This will be a good candidate for a new plugin IMHO :)
Title: Re: Automatic TAG suggestion
Post by: flapane on March 19, 2012, 01:01:33 pm
Glad to hear it ;)
Thanks
Title: Re: Automatic TAG suggestion
Post by: flapane on June 22, 2014, 12:08:10 pm
Hi,
I was wondering if it has eventually been taken into consideration by developers.
I'm not even sure whether cpg development (not in terms of security updates but of new features/plugins/releases) is still going on or not, so forgive my ingenuous question.

Together with human readable URLs (sef_urls plugin messes with googlebot and msnbot and is really old, I wouldn't reccomend it) and a responsive design theme, I think they would be three killer features for cpg users.
Title: Re: Automatic TAG suggestion
Post by: Αndré on June 23, 2014, 01:39:41 pm
I don't think so. But I just had a closer look at the edit file(s) form(s) and there's a plugin hook which could be used:
Code: [Select]
CPGPluginAPI::action('after_edit_file', $pid);
I try to create a plugin soon (should be quite easy).
Title: Re: Automatic TAG suggestion
Post by: flapane on June 23, 2014, 01:52:07 pm
Thanks. I'm sure that other users will appreciate it.

P.S
I think that this thread should be moved to v1.5 http://forum.coppermine-gallery.net/index.php/topic,36302.msg373819.html#msg373819
Also, the tags I addedd actually helped google indexing. Now the social sharing text is not shown anymore.
Title: Re: Automatic TAG suggestion
Post by: Αndré on June 24, 2014, 12:25:00 pm
Plugin can be found here: http://forum.coppermine-gallery.net/index.php/topic,77621.0.html