Creating Meta Tag Keywords in Word
Meta tags are lines of code placed between the <head> and </head> tags in HTML pages. Meta tags give web search engines information about the content of the web page and how search engines should treat the web page. Users viewing web pages do not see the meta tags, but meta tags can be used to influence the way web pages on a web site appear in web search engine results. Users also see the text you specify for meta tags right following the title of your page when your page comes up in search results.
In help systems, search ranking works like ranking in an Internet search engine. If you generate help system output, you can use meta tag keywords to specify terms for pages for help topics where you want to improve searchability. For example, assume that in your help system you have a topic called See Also links. However, you know that See Also links are also sometimes referred to as ALinks, and you think that some users of your help system may search for information about See Also links by typing ALinks into the Search field for your help system. In this example, you can insert ALinks as a meta tag keyword for each page that discusses See Also links, so users who search your system for information about ALinks can find the information they are looking for in your See Also link topics.
To assign meta tag keywords, your Stationery and template must have the Keywords marker type configured. Your output format must also support this feature. For more information about output formats that support this feature, see “Features Available in Each Output Format” on page 9.
The following procedure provides an example of how to create meta tag keywords in Microsoft Word source documents using Microsoft Word 2003. Steps for creating meta tag keywords in Microsoft Word may be different in other versions of Microsoft Word.
To create meta tag keywords for a page in a Microsoft Word source document
In your Microsoft Word source document, find the first paragraph in the page for the page for which you want to create a meta tag keyword.
On the WebWorks menu, click Markers.
In the Marker field, select Keywords from the list of markers.
In the Value field, type the comma-delimited list of keywords that you want web search engines to use when crawling Web sites and to display immediately following the title of your page when your page comes up in search results.
For example, type keyword1, keyword2, keyword3, where keyword is the keyword you want web search engines to use when crawling your Web site.
Save your Microsoft Word source document.
Generate output for your project. For more information, see “Generating Output” on page 287.
In Output Explorer, verify that ePublisher inserted your meta tag keywords correctly by completing the following steps:
On the View menu, click Output Explorer.
In the TargetName\ProjectName folder, open the page to which you assigned meta tag keywords in Notepad, where TargetName is the name of your target and ProjectName is the name of your project.
Verify that the text you specified for your meta tag displays in the meta name attribute between in the <head> and </head> tags section of your web page. For example, if you typed keyword1, keyword2, keyword3, for your meta tag keywords, your meta tags in for the page should be similar to the following entry:
<meta name="keywords" content="keyword1, keyword2, keyword3" />