Module: MetaDescription

rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 722
Posted: Tue, 2011-06-07 17:57

MetaDescription is a module for Gallery 3 that will generate meta name="keywords" and meta name="description" html for album, photo, video and tag pages. The original discussion for this module can be found here.

[img]http://gallery.menalto.com/files/metadescription.jpg[/img]

This module will use tags assigned to an item for the keywords value, or if there are no tags, the items title will be used instead. It will also use an items description for the description value, or if no description is provided, it's title will be used here instead. If an item is missing both a title and a description, a list of tags will be used for the description. For tag pages, the tag's name will be used for the keywords field, and the description of the first item that has been tagged with the tag will be used for the description.

---
Report Problems/Suggestions Here | Get latest version | Documentation | Coffee Fund | My Library | My GitHub

AttachmentSize
metadescription.jpg12.6 KB
metadescription.zip4.38 KB
 
Badd

Joined: 2011-06-02
Posts: 8
Posted: Wed, 2011-06-08 17:30

Would this not just create the same Meta Keyword and Description for every page? i have this on my website and i had to directly edit wind to insert it. And thats what it does for me. But also good mod :)

 
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 722
Posted: Wed, 2011-06-08 17:53

It uses the information that you've assigned to the current photo/movie/album to populate the keywords and description tags (specifically title, description and tags). Assuming that everything in your gallery has different titles, descriptions and tags assigned to it, the values for keywords and description should be different on each page.

 
jorgo

Joined: 2011-08-13
Posts: 1
Posted: Sat, 2011-08-13 08:33

Hello,

first thanks for the plugin.

Is there any way to get an output to every page in the form:

<meta name="keywords" content="<AlbumName>, <SubAlbum>, <PictureName>" />
<meta name="description" content="<AlbumName>, <PictureName>, <Discription>" />

So i have a hierarchical structure. The whole meta-tag string should come from the album hierarchy + the name of the picture.

Thanks in advance.

 
andreste

Joined: 2006-06-02
Posts: 123
Posted: Mon, 2012-02-27 13:11

Yeah, I'd like to do what Jorgo said months ago.
Has anyone done this? I still don't know how to get <AlbumName> etc with the new system adopted in Gallery3