This site is support & information site of WEB,and Software. This site might help you that create software or Web Site…perhaps?[:]

Try generate auto META tags with JoomSEO

Published on| June 30th, 2009 | No Comment.
Joomla!, The editor of the article, META tags (Keywords, Description) in the field to set. Originally, META tags (Keywords, Description) If you set up, Google and Yahoo in search for better search results. If you set out, may be hit in the top of the search results.
This set of META tags, SEO is one of the measures are used and general measures.

However, as the author, and for lazy writing is so hard, META information does not set hard.
(For people like me, you will JoomSEO extension may help. )

This time, the extension will be set to META tags automatically JoomSEO I would like to present a brief.

Immediately, we use
The destination site, ZIP file to download, and install. (Menu [extension] - Install / Uninstall] Please. )

After installation, plug-in from management "System - JoomSEO" I'll edit.
(Menu [extension] - Manage Plugins] From "System - JoomSEO" Please look for. )

System - JoomSEO to describe the specific parameters.

Parameter name Description
Title Options
Maximum Title Length Specifies the maximum length of the title. (Default 127 characters)
Prepend Title Always want to specify a string of titles before. (No default)
Title Order Order of the title string. (No default)
  • Heading-Paragraph | Site Name | Keywords
  • Heading-Paragraph | Keywords | Site Name
  • Site Name | Heading-Paragraph | Keywords
  • Site Name | Keywords | Heading-Paragraph
  • Keywords | Site Name | Heading-Paragraph
  • Keywords | Heading-Paragraph | Site Name
Heading-Paragraph: The article introduced the Title-Summary Article
Site Name: Site name (site name is specified in Preferences)
Keywords: Keywords
(Default Heading-Paragraph | Site Name | Keywords)
Append Title Always want to specify the string after the title. (No default)
Title Site Name ● No Yes Valid
Title Content Heading ● No Yes Valid
Title First Paragraph Valid Yes ● No
Minimum Paragraph Length Minimum number of strings in the introductory overview of the string (the default 20 characters)
Maximum Paragraph Length Maximum number of strings of a string of introductory overview (default 50 characters)
Title Keywords Valid Yes ● No
Minimum Keyword Characters The minimum number of string keyword (default 3 characters)
# Title Keywords If you insert the number of keywords to the title (default 5)
Meta Tags
Keywords Count Number of keywords to a META tag to output (default 25)
Minimum Description Length The minimum number of strings META Description tag to output (default 80)
Maximum Description Length META Description The maximum number of output string to tag (default 150)
Generator META to specify whether to create a tag.
● No, Yes
Keyword Filter
Sticky Words Specifies a string notes.
String specified here, all posts, then the same behavior occurs.
That is, if anything the article is keyword used as keyword string is specified here.
Bad Words Specify the string to remove from the keyword.
Words that contain the string specified here, all in the article, remove the keyword.
Bad Characters Specify the string to remove from the keyword.
String specified here, all posts will be removed from the keyword.
Front Page
Enabled? Specify whether to enable the front page.
● No, Yes
Frontpage Specific Activation
Disable Frontpage Title Specifies whether to disable the front-page title.
Yes ● No
Disable Frontpage Keywords Specifies whether to disable the front page keywords.
Yes ● No
Disable Frontpage Description Specifies whether to disable the outline of the front page.
Yes ● No
Frontpage Overrides
Title Specifies the front-page title override. (No default)
Meta Keywords The front page can be overwritten by META tags (keywords). (No default)
Meta Description The front page can be overwritten by META tags (Abstract). (No default)
SEO / Accessability
Heading Tags SEO measures <H1> ~ <H6> specifies whether to enclose the tag information.
(No default)
※ In fact, nothing seems to not work? ?

As the default, only enabled, META Description of the information is set in moderation.
For moderately, it is only minutes to remove the characters from the first simply uses the word moderation.

The keywords are the words, you grab it. English words in the keyword set as a high number of word occurrences.

Simple, clear, and I work as expected. However, problems still remain Japanese.
Japanese article, I'd like to pick the keywords in Japanese, Japanese words, we've got to grab.

Response to the Japanese can not, if you do, JoomSEO.php of 410 lines per second, if such a replacement process, now can be in any delimited word in or change the selection of keywords.
We determine the number of occurrences of each word displayed on the page,


		$wordCount = array();
		// add our stickywords
		$stickyWords = explode(' ',$stickyWords);
		foreach ($stickyWords as $stickyWord) {
		//	start add for japanease words
		$text = preg_replace('/やります/', ' ', $text);
		$text = preg_replace('/します/', ' ', $text);
		$text = preg_replace('/できます/', ' ', $text);
		$text = preg_replace('/やりません/', ' ', $text);
		$text = preg_replace('/できません/', ' ', $text);
		$text = preg_replace('/しません/', ' ', $text);
		$text = preg_replace('/しかし、/', ' ', $text);
		$text = preg_replace('/でも、/', ' ', $text);
		$text = preg_replace('/また、/', ' ', $text);
		$text = preg_replace('/は、/', ' ', $text);
		$text = preg_replace('/が、/', ' ', $text);
		$text = preg_replace('/に、/', ' ', $text);
		$text = preg_replace('/を、/', ' ', $text);
		$text = preg_replace('/、/', ' ', $text);
		$text = preg_replace('/,/', ' ', $text);
		$text = preg_replace('/ /', ' ', $text);
		$text = preg_replace('/。/', ' ', $text);
		$text = preg_replace('/:/', ' ', $text);
		$text = preg_replace('/「/', ' ', $text);
		$text = preg_replace('/」/', ' ', $text);
		//	end add for japanease words
	    // loop through all our words and count instances
	    $words = explode(' ',$text);
		foreach ($words as $word) {

The following article was run after the results described in the META tag.
Qt (9) QtScript to create a screen

  <meta name="keywords" content="以下のよう, Mainwindow, 入力して, ここ, Cpp, Qscriptvalue, java, 追?, 作成する, ctrl+g, 続けて, 画面の下部, 出力されたと思います, Qtscript, タイプ, スクリプト, Void, Mainwindowexcutescript, けです, qtアプリケーションの画面, 作成してみましょう, Printfunc, 画面の上部, つまり, ?合" />
  <meta name="description" content="Qt(9)QtScriptで画面を作成する 記事索引 Qt(9)QtScriptで画面を作成する --- 1." />
  <title>Qt(9)QtScriptで画面を作成する | off-soft.net</title>

Abnormality has already been detected in the character string of UTF-8 for Japanese in the above-mentioned part.
Therefore, the garble etc. are generated. Moreover, u of the small letter that is the regular expression in UTF-8 has come off to all in the above-mentioned description.
For instance, it is necessary to describe it as follows.
	$text = preg_replace('/やります/u', ' ', $text);

The character string of UTF-8 is normal because it just took it out in case of being in processing like the above-mentioned after the following processing of current.
    function doGenerator() {
    	// get our site name
    	$this->seoDoc['siteName'] = $this->getSiteName();
    	// get our buffer text
    	$this->buffer = current($this->document->_buffer['component']);
I think that various ways exist. Please consent because the above-mentioned is an example to the end.

The simple description above, surprisingly, I can retrieve things. In earnest, considering I also get a bit more.

If someone could just automatically set overview, to me, useful.
You also, I think a good many will be tested.

If other methods are better than email them to me, I appreciate you comments.


Leave a Reply

  • はてなブックマークへ追加する
  • Facebookでシェアする
  • twitter でつぶやく
  • Google Plusでシェアする
  • Pocketでシェアする