ArticleTrader.com
  

 Main Menu

  Home
  Member Login
  Forum
  Submit Article
  RSS Feeds
  Contact Us
  About

 Services

  Article Distribution
  Link Building

 Tools

  ArticleMS
  Directory Tracker

 Categories

  Automotive
  Business
  Computers
  Entertainment
  Finance
  Food
  Health
  Home and Family
  Internet
  Legal
  Science
  Self Improvement
  Shopping
  Society
  Sports
  Technology
  Travel
  Writing





























 
Welcome! ( Login | Register )
» ArticleTrader Forums » ArticleMS » Support » Keywords and Meta Tags
Members Search Help

Pages: << prev 1, 2, 3 next >>
Keywords and Meta Tags
This member is currently offline Anne Kirrin
Pool


Avatar

Member Level

Group: Moderators
Posts: 1,356
Joined: Apr 11, 2006

Go to the bottom of the page Go to the top of the page

On the article submit page of my site, there is a section to add keywords, but it seems to me that they are not used anywhere...not in the meta tags and not on the article page as a list of keywords to use with the article.

Am I missing some code for either of these....if not, is there someone (:) Dejavu?) who could supply the code to use the keywords ( as well as the summery ) in the article pages meta tags ( meta keyword and meta description) or how to incorperate the keywords onto the article page as suggested keywords to use with the article....Preferably both.
.........................
Anne Kirrin is in Nepal for the month of November

ArticleMSSkins.net <<:::: New
Directory of Niche Article Sites <::::: Add your article site for free!!

Last edited Aug 29, 2006, 11:19 pm by Anne Kirrin
* Posted Aug 29, 2006, 11:18 pm
This member is currently offline Slothman
Member


Member Level

Group: Members
Posts: 39
Joined: Jul 24, 2006

Go to the bottom of the page Go to the top of the page

you bring up a good point. a quick experiment shows us that the search feature doesnt use anything typed in the keywords feild. is this something just left over from a past method of searching?

Posted Aug 30, 2006, 2:39 am
This member is currently offline Anne Kirrin
Pool


Avatar

Member Level

Group: Moderators
Posts: 1,356
Joined: Apr 11, 2006

Go to the bottom of the page Go to the top of the page

Figured out a way to get keyword and description meta tags in article pages

paste this code in between the <head>  </haed> on your header template
Code:
<META name="keywords" content="$Article->keywords">
<META name="description" content="$Article->summary">


you will probably have to add text to the submit article page to tell the people adding articles that the summary will be used as a meta description tag so to limit the length to about 150 characters.

This adds the tags to the other pages(category,latest articles,home page,etc),but no content

If I create a seperate header template for the article pages, how would I go about using it instead of the default header?



Any idea how to add meta tags to the home page?
Also <title> tag not showing on home page?
.........................
Anne Kirrin is in Nepal for the month of November

ArticleMSSkins.net <<:::: New
Directory of Niche Article Sites <::::: Add your article site for free!!

Posted Aug 30, 2006, 12:09 pm
This member is currently offline vizmon
Newbie


Member Level

Group: Members
Posts: 18
Joined: Jun 28, 2006

Go to the bottom of the page Go to the top of the page

Any followup to Anne's question of adding meta tags to the home page?
I need to know how to do it as well.

Posted Sep 4, 2006, 6:24 am
This member is currently offline nicksumrs
Droplet


Member Level

Group: Moderators
Posts: 129
Joined: Jul 11, 2006

Go to the bottom of the page Go to the top of the page

Here's how I overcame the problem:

Between the <head> tags of the Header template insert this:
Code:
{if $this->ishome}
  <meta name="keywords" content="article, articles, article directory, content, free content, free">
  <meta name="description" content="Your Site is a directory of quality articles, free to use in your newsletter or website.">
{/if}
{if $this->iscategory}
  <meta name="keywords" content="{$Category->title} articles, {$Category->title} article directory">
  <meta name="description" content="Free articles about {$Category->title}.">
{/if}
{if $this->isarticle}
  <meta name="keywords" content="{$articlekeywords}">
  <meta name="description" content="{$articlesummary}">
{/if}


In the php section of the Header template insert this:
Code:
if ($Article->summary){
    $articlesummary = substr(strip_tags($Article->summary),0,150);
}
else{
    $articlesummary = substr(strip_tags($Article->text),0,150);
}

if ($Article->keywords) {
    $articlekeywords = $Article->keywords;
} else {
    $articlekeywords = $Category->title;
}


In the php section of the Homepage template insert this:
Code:
$this->ishome = 1;


In the php section of the Category template insert this:
Code:
$this->iscategory = 1;


In the php section of the Article template insert this:
Code:
$this->isarticle = 1;


By testing the variables in the different templates the Header template knows where it is and can put in appropriate tags. Obviously, edit the 3 metatag definitions in the if statements to suit your needs and your site. This method can also be used to trigger actions in any of the universal blocks. Hope this helps.

Nick Summers

More Than Articles
.........................
Nick Summers

Style your ArticleMS site instantly with ArticleMS Skins

More Than Articles, The Right Article, Content Country, 4 Great Content, Content Cow

Posted Sep 4, 2006, 12:02 pm
This member is currently offline vizmon
Newbie


Member Level

Group: Members
Posts: 18
Joined: Jun 28, 2006

Go to the bottom of the page Go to the top of the page

Thanks Nick! Will try it out.

Vizmon
My Sexual Escapades

Posted Sep 4, 2006, 2:10 pm
This member is currently offline ianternet
Member


Member Level

Group: Members
Posts: 73
Joined: Dec 8, 2006

Go to the bottom of the page Go to the top of the page

beutiful!
.........................
--------
Released: ClickBankViews.com | ClickBank Reviews

Posted Dec 14, 2006, 8:45 pm
This member is currently offline Latona
Pool


Member Level

Group: Members
Posts: 579
Joined: Jul 16, 2006

Go to the bottom of the page Go to the top of the page

This needs to be pinned possibly?

Or perhaps a new forum with FAQ pages that are read only?

I was going to sieve through this forum and extract posts such as this one that outline a solution to the most FAQ about articleMS customisation. However, I barely get any time to do stuff nowadays as busy balancing a couple of internet projects along with full time working hours (to christmas) and attending a course - so haven't had the time to put it together.

Though FAQ section would be ideal to resolve many queries and hopefully prevent the same questions being asked many times over and the solutions getting buried out of sight after a while.

Posted Dec 15, 2006, 11:25 am
This member is currently offline mrlink
Newbie


Member Level

Group: Members
Posts: 9
Joined: Dec 20, 2006

Go to the bottom of the page Go to the top of the page

Excellent solution Nick..Thanks!

Latona > An FAQ for cusomization is also an excellent idea. Why not use ArticleMS itself to allow certain people the rights to post "Solution Articles" for people to search / view by categories?. Solutions from the support forum can be submitted ... they're read only AND joe user could rate the solution too!

;)


Posted Dec 21, 2006, 11:25 am
This member is currently offline mitra
Newbie


Avatar

Member Level

Group: Members
Posts: 13
Joined: Dec 22, 2006

Go to the bottom of the page Go to the top of the page

Thanks a bunch Nick for solving this problem. You have been of great help to me.

Thanks,
Mitra
.........................
Submit your articles here Sublime Web Directory for free.

Posted Dec 23, 2006, 3:27 pm
This member is currently offline rbl
Newbie


Member Level

Group: Members
Posts: 4
Joined: Jan 9, 2007

Go to the bottom of the page Go to the top of the page

Thanks! =)

Posted Jan 9, 2007, 6:06 am
This member is currently offline sherrick
Newbie


Member Level

Group: Members
Posts: 22
Joined: Jun 22, 2007

Go to the bottom of the page Go to the top of the page

Hi Nick Summers,

can you help me to show on article link "by authors, date, word count, rating" as you are shoing on your article links of directory.

Please guide me or provide code.

Thanks

.........................
Mobile Phones

Posted Aug 6, 2007, 9:59 am
This member is currently offline aponal
Newbie


Member Level

Group: Members
Posts: 20
Joined: Aug 13, 2007

Go to the bottom of the page Go to the top of the page

Thanks! =)

Posted Sep 10, 2007, 10:39 pm
This member is currently offline js007
Newbie


Avatar

Member Level

Group: Members
Posts: 2
Joined: Aug 20, 2007

Go to the bottom of the page Go to the top of the page

Yes thank you Nick Summers, for this hack. I was going to code the same thing into my site... but you saved me the work...
.........................
Click for Data-Winds-Dot-Net
http://fantasyscape.org/coppermine/albums/userpics/10002/DataWinds_Support_Staff.gif
Express Yourself & Exercise Your Rights

Posted Dec 29, 2007, 2:18 am
This member is currently offline pavel_kbc
Newbie


Member Level

Group: Members
Posts: 18
Joined: Jan 7, 2008

Go to the bottom of the page Go to the top of the page

there is an error on isarticle
well i fixed the code..

Code:
 {if $this->ishome}
  <meta name="keywords" content="article, articles, article directory, content, free content, free">
  <meta name="description" content="Your Site is a directory of quality articles, free to use in your newsletter or website.">
{/if}
{if $this->iscategory}
  <meta name="keywords" content="{$Category->title} articles, {$Category->title} article directory">
  <meta name="description" content="Free articles about {$Category->title}.">
{/if}
{if $this->isarticle}
  <meta name="keywords" content="{$Article->keywords}">
  <meta name="description" content="{$Article->summary}">
{/if}


Thank you so much for your code dude i am really thankful to you Nick Summers

Posted Jan 11, 2008, 9:44 pm
Pages:<< prev 1, 2, 3 next >>

Dec 1, 2009, 2:00 pm

  

0.0327s