PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Custom Meta Tags. (http://www.photopost.com/forum/photopost-pro-how-do-i/115518-custom-meta-tags.html)

SaN-DeeP September 2nd, 2005 09:06 AM

Custom Meta Tags.
 
How to enable customized Meta Tags for PhotoPost ?
like a proper description and proper keywords ?

I would like to see the title of photo first in keywords and descriptions.

If you check our site index on google here:
http://www.google.co.in/search?num=5...G=Search&meta=

Note the indexing descriptions. :confused:

Chuck S September 6th, 2005 02:37 PM

You can add a headtags file with some extra meta tags

SaN-DeeP September 7th, 2005 03:26 PM

i want to customize this meta tags.
I am able to acheive this in other popular scripts (like vbulletin, cms scripts and portal scripts)

I have a meta keyword and meta description setup for all images on our gallery.

I would like to acheive following: (for meta elemets of page source)

<Meta Keywords = title of photo + keywords in photo + keywords used for photopost gallery)

<Meta descritption = title of photo + description in photo + descritption used for photopost gallery)

How can i acheive this ?

Thanks

Chuck S September 7th, 2005 04:56 PM

Do you know how to add a meta tag? This is quite simple

<meta name="keywords" content="$title,$keywords" />
<meta name="description" content="$description" />

SaN-DeeP September 7th, 2005 05:15 PM

Man this is simply wonderful........ thanks omegatron.
Dont mind, if i still keep asking further questions :)
I am trying them all now..
Thanx for your support.

Warm Regards.

SaN-DeeP September 8th, 2005 12:35 PM

added headtags.htm as well following code into it:
<meta name="keywords" content="$title,$keywords" />
<meta name="description" content="$description" />


but its not working, instead i am able to see the above code as it is, in the page source ?

Chuck S September 8th, 2005 02:06 PM

Well you'll probally need to make your headtags file a php file and do something like this

<?

if ( THIS_SCRIPT == "showphoto" ) {

echo <<<PPPRINT

<meta name="keywords" content="$title,$keywords" />
<meta name="description" content="$description" />

PPPRINT;

}

?>

SaN-DeeP September 10th, 2005 07:31 AM

still wont work with above code :(

Chuck S September 10th, 2005 07:37 AM

Open showphoto and and grab the variables and replace my examples with the proper ones. My posts are guidelines to follow not the hack. Remember this is a how do I forum not write me a hack forum ;)

SaN-DeeP September 13th, 2005 07:13 PM

Quote:

Originally Posted by omegatron
Open showphoto and and grab the variables and replace my examples with the proper ones.

I am sorry, i am unable to understand this.. :confused: i tried to add meta content to showphoto.php, but still wont work..

How about working more on meta content in future release of photopost ? for better search engine visibility ?
Yahoo likes more meta content as well google ? for images with same titles etc. (my thery expierence)

Quote:

My posts are guidelines to follow not the hack. Remember this is a how do I forum not write me a hack forum ;)
aware of it omegatron ;), thanks for your help i really appreciate the same :D

since the photopost developer forum is closed i am left only with this place. :rolleyes:

SaN-DeeP September 20th, 2005 08:22 PM

bumping back topic

Chuck S September 20th, 2005 08:40 PM

well its alot more complicated then I am saying initially but we will gladly look at things like this in a future release

SaN-DeeP September 21st, 2005 09:43 PM

Quote:

Originally Posted by omegatron
well its alot more complicated then I am saying initially but we will gladly look at things like this in a future release

Hey omegraton,
thats simply wonderful, i will appreciate if this feature is incorporated on priority in the new version/release of photopost.. I am waiting eagerly for same..

Importance - It is quite important cause text based publishing networks as well many other serps ignore photos without meta content.

Regards,

Skip2 October 2nd, 2005 04:26 AM

Yes, I've been frustrated with this too. I've tried changing the code to avail. What is it that is stopping this from functioning? I think the header needs to be recoded to allow these variables to work.

Thanks for your attention.

Chuck S October 2nd, 2005 09:44 AM

EXACTLY you hit the nail on the head

nassau March 8th, 2006 08:14 PM

Which file in review post?
 
Quote:

Originally Posted by Chuck S
EXACTLY you hit the nail on the head

Hi Chuck
I've got the same problem as SaN-Deep but in reviewpost. I'm going to turn headtags.htm to headtags.php
Which file should i open instead of "showphoto" to grab the variables?
Thank you

Chuck S March 8th, 2006 08:18 PM

showproduct.php

nassau March 8th, 2006 10:54 PM

A bit more help please
 
Quote:

Originally Posted by Chuck S
showproduct.php

Hi Chuck
This is what i've got:
headtags.php
CHMOD: 666
Path: /home/username/public_html/reviews/headtags.php
fine so far...

headtags.php :
<?

if ( THIS_SCRIPT == "showproduct" ) {

echo <<<PPPRINT

<meta name="keywords" content="$title,$keywords" />
<meta name="description" content="$description" />

PPPRINT;

}

?>

On the top left side of index appears : PPPRINT; } ?>
and in view source the whole (headtags.php) code above.
I could really do with some help on which variables i need to grab.
Thank you ver much

Chuck S March 9th, 2006 07:38 AM

As this thread says it can not be done this way. Try searching in the mod forum as I think Garrynz posted something on this

bigriver April 13th, 2008 11:47 AM

Has this type of mod ever been figured out by anyone? I see this thread is a couple of years old.


All times are GMT -5. The time now is 04:19 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97