Halfagain IM Forums
May 22, 2012, 22:25 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: 1 2 3 [4]
  Print  
Author Topic: More SEO for templates  (Read 6797 times)
0 Members and 3 Guests are viewing this topic.
royalmice
Jr. Member
**

Karma: 9
Offline Offline

Posts: 148


WWW
« Reply #45 on: September 07, 2008, 08:12 »

Quote from: Omar
i am not sure how could work for youtube, youtube just have videos and no real description..

Omar, i tend to differ from you, the You tube videos which are pulled and displayed by SS have all the information to be used for Meta data

Example : http://www.travel-e-store.com/products/asia-video/coex-seoul--.htm

Meta title :
COEX Seoul - Shopping Experiences

Meta Keywords :
Janganpyung Antique Market Asian art Namdaenum traditional open air brand fashion Chungdam street bars restaurants

Meta Description :
Experience shopping around Seoul for antiques, traditional art and brand fashion clothes. The Concierge at the COEX InterContinental Seoul hotel knows the best shopping haunts. Go to http://www.ichotelsgroup.com/h/d/ic/1/en/hotel/seohb


Now all i need to know to be able to specify the correct meta in my header file is :
What token are used to display on the your tube produc page the following;
[*]title
[*]desription
[*]keuwords
Logged

The best Hosting or your Store Stacker site with plenty of freebies, only at http://bh-server.com
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #46 on: September 07, 2008, 10:57 »

They surely have the information, but all that is part of item description, along with author, keywords, thumblink and rest. Here is an example, check rss source, http://www.youtube.com/rss/tag/travel.rss

You manually took that from different part of the parsed description, but they are all together in the feed. There is only one token for all that, since they are all inside in rss. You will have a real mess in the meta if you will use that.
Logged
royalmice
Jr. Member
**

Karma: 9
Offline Offline

Posts: 148


WWW
« Reply #47 on: September 07, 2008, 12:29 »

Omar i think i just need to mess around some more and eventaulle we will get it right

Have a look at my source code for this video product page : http://www.travel-e-store.com/products/asia-video/grand-2.htm

The meta part of the  source code show as follow :



Find out where to enjoy the...">


Grand InterContinental Seoul - Dining


To get this my meta header for you tube is set as follow:

/":"\n"|strip_tags|truncate:50}">


{$article.name}

 
So it seems the title is showing correct, the title is showing but there seem to be some big gap , i cant figure what is the problem with the keywords.

My questions : how can i adjust my description meta tag so the emptu space is removed. And any suggestions about the keywords.

I have created 5 different header.tpl files so i have header-home, header-product, header-youtube and header categories, then i just make sure i cal the correct header for each of the pages, but right now all works except the darn you tube products
Logged

The best Hosting or your Store Stacker site with plenty of freebies, only at http://bh-server.com
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #48 on: September 07, 2008, 14:04 »

The blank spaces comes from description, should be possible to remove from regex but i need to ask, regex can be quite complex. White spaces should be fine though, SE does not see it and is only looking unesthetic when look a human at source.

The keywords issue is because of token. Use exactly as below to work correctly.

Quote
{foreach name=tg from=$article.tags item=tag}
{$tag}{if !$smarty.foreach.tg.last}, {/if}
{/foreach}
{else}{$site.keywords}{/if}
">


You need all that smarty code, because tags is an array and u can not use only the tag as you tried.
Logged
royalmice
Jr. Member
**

Karma: 9
Offline Offline

Posts: 148


WWW
« Reply #49 on: September 07, 2008, 14:29 »

HI Omar, Great, thanks for that, now my keywords are showing correctely in the Youtube, products meta

Thanks 4 the hlp on that
Logged

The best Hosting or your Store Stacker site with plenty of freebies, only at http://bh-server.com
Pages: 1 2 3 [4]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!