Webmastersite.net
Register Log In

Meta tag description for links

Comments on Meta tag description for links

fuee
Forum Regular

Usergroup: Customer
Joined: Nov 01, 2004

Total Topics: 56
Total Comments: 121
fuee
Posted May 04, 2005 - 5:39 AM:

Anyone know how you can get meta tag descriptions for your link details page to show up so robots can index them?

I am getting my link details page indexed but googlebot is not describing the links I assume it is because I do not have a description for them in the meta tags.

I am stuck with no more ideas at trying to put a meta tag description in the links details page.

Any recommendation is appreciated.

Thanks,
Fuee
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 04, 2005 - 9:44 AM:

Google doesn't use meta descriptions, it uses the text around the keyword being searched for. Anyhow if you're looking for a conditional <IF {CURRENTURL} contains link.php?action=detail> </IF> might work.
fuee
Forum Regular

Usergroup: Customer
Joined: Nov 01, 2004

Total Topics: 56
Total Comments: 121
fuee
Posted May 04, 2005 - 4:03 PM:

It didnt work sad nothing showed up when I entered the code below.



<IF {CURRRENTURL} contains link.php?action=detail>
<META name="description" content="{LINKDESCRIPTION}">
<META name="keywords" content="free,stuff"> </IF>

If I try this below without the word contains then 2 sets of meta tag info will be listed in the html info for the page.

<IF {CURRRENTURL} link.php?action=detail>
<META name="description" content="{LINKDESCRIPTION}">
<META name="keywords" content="free,stuff"> </IF>

Thanks,
Fuee
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 05, 2005 - 6:07 PM:

You haven't specified where you're putting that. Wrapper I presume?

Edit: Correct the spelling. It's {CURRENTURL}.
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted May 06, 2005 - 7:09 AM:

Google is using the meta description for details pages. I have pages indexed with the description being used.

I am interested in this also. Tried putting this in the category header info but did not work.

<IF {CURRENTURL} contains link.php?action=detail>
<META name="description" content="{LINKDESCRIPTION}">
<OTHERWISE>
<meta name="description" content="Description for that link">
</IF>
<meta name="keywords" content="Keywords.....">


Maybe something like this in the wrapper:-
<IF {CATHEADERINFO} & {CURRENTURL} contains link.php?action=details>
<META name="description" content="{LINKDESCRIPTION}">
<META name="keywords" content="free,stuff">
<OTHERWISE>
{CATHEADERINFO}
</IF>

Not a programmer for me. Not sure what is the conditional for AND.sad
Synozeer
Forum Regular

Usergroup: Customer
Joined: Jun 02, 2004

Total Topics: 32
Total Comments: 142
Posted May 06, 2005 - 8:20 AM:

This is what I use for my site and it's been working fine:

Placed in wrapper:

<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<IF {TID} contains details.tpl>
<META content="{LINKDESCRIPTION}" name=description>
<META content="{LINKBOOKMARKTITLE}, {LINKCATNAME}, {LINKGAMEFORMAT}, arcade, online games, free, play" name=keywords>
<OTHERWISE>
{MAINMETA}
</IF>
{CATHEADERINFO}
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted May 06, 2005 - 8:56 AM:

Nice one Synozeer. Appreciate it.

I put the code and now the html info displays two sets of meta description but i guess it doesnt matter because most spiders will only go for the one on top.

BTW, Synozeer,

i noticed on your site that your rss feed is in xml format. Are you using the rssfeed.php from wsnlinks? If so, how do you convert them to xml format?

Thanks.
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted May 06, 2005 - 9:11 AM:

After thinking a while, i was thinking of only using one sets of meta description. How do you do that, Synozeer? What did you put on the category info header? This is my set of datas for category info header:-

<meta name="rating" content="General">
<meta name="ROBOTS" content="ALL">
<meta name="description" content="My description for this category">
<meta name="keywords" content="keywords, keywords for this category">

But if i use your tactic as perscribed , i get two sets of descriptions.
???? raised eyebrow
Olney
Member

Usergroup: Customer
Joined: Oct 30, 2004

Total Topics: 18
Total Comments: 47
Olney
Posted May 07, 2005 - 5:59 AM:

Hey Synozeer
That one's pretty good.
You just saved me a bit of time doing it myself. This one should actually go in the documentation...

Synozeer
Forum Regular

Usergroup: Customer
Joined: Jun 02, 2004

Total Topics: 32
Total Comments: 142
#10 - Quote - Permalink
Posted May 08, 2005 - 7:54 AM:

For the XML, I'm using static file generation with the rss.php file and then choosing as the file name with an XML extension to save as.

So my static file generation as the URL as:

www.yourdomainname.com/rssf...cending&thecondition=type='regular'&title=MyTitle

and the filename to save as:

rss/new-games.xml

That's it.

As far as having double meta descriptions, not sure how you're getting that. Since you're checking for details.tpl, those meta tags should only appear on that page alone since that won't trigger your CATHEADERINFO (since that appears only on category pages), otherwise your other meta will appear.

Adam
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
#11 - Quote - Permalink
Posted May 08, 2005 - 8:07 AM:

Thanks. Synozeer.

I got the rssfeed stuff. Appreciate it,

And about meta tags, i do not have a details pages. Instead i put everything on the comments pages. So now my meta tags look like this in wrapper:-

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<IF {TID} contains viewcomments.tpl>
<META name=description content="{LINKDESCRIPTION}" >
<META name=keywords content="{CATDESCRIPTION}" >
<OTHERWISE>
{MAINMETA}
</IF>
<IF {TID} contains displaylinks.tpl>
{CATHEADERINFO}</IF>

Hope this helps someone using comments pages.
fuee
Forum Regular

Usergroup: Customer
Joined: Nov 01, 2004

Total Topics: 56
Total Comments: 121
fuee
#12 - Quote - Permalink
Posted May 13, 2005 - 7:20 PM:

Synozeer wrote:
This is what I use for my site and it's been working fine:

Placed in wrapper:

<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<IF tid contains details.tpl>
<META content="{LINKDESCRIPTION}" name=description>
<META content="{LINKBOOKMARKTITLE}, {LINKCATNAME}, {LINKGAMEFORMAT}, arcade, online games, free, play" name=keywords>
<OTHERWISE>

</IF>
{CATHEADERINFO}


How can I set it up so <IF {TID} contains details.tpl> and <IF {TID} contains report.tpl> use the same <IF> command so I can be more efficient with coding?

Example below didnt work for me:

<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<IF tid contains details.tpl> or <IF {TID} contains report.tpl>
<META content="{LINKDESCRIPTION}" name=description>
<META content="{LINKBOOKMARKTITLE}, {LINKCATNAME}, {LINKGAMEFORMAT}, arcade, online games, free, play" name=keywords>
<OTHERWISE>
<MAINMETA>
</IF> </IF>
{CATHEADERINFO}

Thanks,
Fuee
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.