Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Automatic TAG suggestion  (Read 6052 times)

0 Members and 1 Guest are viewing this topic.

flapane

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: it
  • Offline Offline
  • Gender: Male
  • Posts: 249
    • Flavio's page
Automatic TAG suggestion
« on: March 19, 2012, 01:39:24 PM »

I find 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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Automatic TAG suggestion
« Reply #1 on: March 19, 2012, 01:45:23 PM »

With "tags" you mean Coppermine's "keywords"?
Logged

flapane

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: it
  • Offline Offline
  • Gender: Male
  • Posts: 249
    • Flavio's page
Re: Automatic TAG suggestion
« Reply #2 on: March 19, 2012, 01:46:27 PM »

I'm sorry. "Keywords", of course.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Automatic TAG suggestion
« Reply #3 on: March 19, 2012, 01: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?
Logged

flapane

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: it
  • Offline Offline
  • Gender: Male
  • Posts: 249
    • Flavio's page
Re: Automatic TAG suggestion
« Reply #4 on: March 19, 2012, 01: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.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Automatic TAG suggestion
« Reply #5 on: March 19, 2012, 02:00:47 PM »

Valid suggestion. This will be a good candidate for a new plugin IMHO :)
Logged

flapane

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: it
  • Offline Offline
  • Gender: Male
  • Posts: 249
    • Flavio's page
Re: Automatic TAG suggestion
« Reply #6 on: March 19, 2012, 02:01:33 PM »

Glad to hear it ;)
Thanks

flapane

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: it
  • Offline Offline
  • Gender: Male
  • Posts: 249
    • Flavio's page
Re: Automatic TAG suggestion
« Reply #7 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.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Automatic TAG suggestion
« Reply #8 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).
Logged

flapane

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: it
  • Offline Offline
  • Gender: Male
  • Posts: 249
    • Flavio's page
Re: Automatic TAG suggestion
« Reply #9 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.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Automatic TAG suggestion
« Reply #10 on: June 24, 2014, 12:25:00 PM »

Logged
Pages: [1]   Go Up
 

Page created in 0.072 seconds with 20 queries.