08-01-2006, 02:36 PM
So I've split out my header and footer code into two distinct files. The problem at this point is that if I put any image-specific template tags into, say, the meta keyword or meta description tags, or into the <title> tag, it doesn't get processed when the user is viewing an 'about' or 'browse archive' template. You just get <meta http-equiv="content-type" name="keywords" content="<IMAGE_TITLE>" />
How about an add-on that would strip those image tags out if a non-image template is being processed?
I've hacked my index.php file to do this, but I'd rather leave it untouched and install an addon.
To take it a step further - there is talk of an add-on that would allow you to associate keywords with each individual image when you upload the image. The add-on I'm suggesting could also be made to insert those keywords into the META keyword tag when the template is processed.
I'd do it myself because I'm a web developer, but I know ASP and Cold Fusion, not PHP.
08-01-2006, 05:03 PM
I use Plugin Code generator for robots (http://www.pixelpost.org/v1/index.php?x=downloads&details=65). But it seems in it there are mistakes. For example, if I shall open my site http://photoblogonline.com (where this Plugin work) in Firefox and press 'code of page' I shall see the following 'Plugin lines':
<meta name="Robots" content="index, follow" />
<meta name="Revisit-After" content="10 days" />
<meta name="Title" content="" />
<meta name="Identifier-url" content="http://photoblogonline.com/index.php" />
<meta name="Description" content="" />
<meta name="Abstract" content="Florid" />
<meta name="Keywords" content="Italy, Thailand, Malta, Ukraine, travel, sea, cruises, beautiful, planet, photoblog, photo, photography, photo search, photo album, photo gallery, Canon, Casio, Fujifilm, HP, Kodak, Nikon, Olympus, Panasonic, Pentax, Samsung, Sony, UFO" />
<meta name="Publisher" content="Florid" />
<meta name="Generator" content="Pixelpost" />
and below 'Pixelpost lines':
<!-- META -->
<meta name="netinsert" content="0.0.1.1.2.1">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="content-type" name="keywords" content="PhotoBlog,PhotoBlog: Photos of the most beautiful places of a planet. Italy, Thailand, Ukraine and many other,Thailand. Green park. Figured formulation of trees.,Pixelpost" />
<meta http-equiv="content-type" name="description" content="PhotoBlog: Photos of the most beautiful places of a planet. Italy, Thailand, Ukraine and many other-PhotoBlog: Thailand. Green park. Figured formulation of trees., I think to this formulation of trees spent very much time. Each tree takes its form. Some are similar between themselves ("tree-caps").Palms are far visible - they preserved their previous and usual form. The view large stones on the earth decorate in this photograph. Palm trees are In the distance visible - they have kept the former and usual kind. In this photo the landscape is decorated with greater stones on the ground. As a whole the idea of formulation is very well thought over and from is simply remarkable looks. The traveller enamoured in this picture, never will forget it!
What of these meta-tags will understand the robot? <meta name="Description" content="" /> Why "Description" empty?
In this plug-in static tags which are entered in admin/addons are used. I hope, that somebody will write correct addon which will use dynamic 'image' meta tags and page titles. Interesting idea...
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.