ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Keywords associated with a page
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The Keywords property is used to get and modify the keywords associated with a page. The keywords can also be associated with a page from the page editor.
In Active WEBDEV Pages, the Keywords property is used to choose the keywords dynamically associated with the page (based on the content displayed on the page).
Example
// Modifies the keywords of the page according to its content
// Adds new keywords to the existing ones
MyPage.Keywords = MyPage.Keywords + ", Boat, Sail, Engine"
Syntax

Finding out the keywords associated with a page Hide the details

<List of keywords> = <Page used>.Keywords
<List of keywords>: Character string
Keywords associated with the page. The different keywords associated with the page are separated by a comma (", ").
<Page used>: Page name
Name of the page to be analyzed.

Modifying the keywords associated with a page Hide the details

<Page used>.Keywords = <List of keywords>
<Page used>: Page name
Name of the page for which keywords must be defined.
<List of keywords>: Character string
Keywords to associate with the page. The different keywords are separated by a comma (","). If keywords are already associated with the page, these keywords will be replaced. This string must comply with the following rules:
  • No CR character (Carriage Return)
  • No space characters and no quotes.
Remarks

Keywords associated with a page

The keywords associated with a page is written in the HTML header of the page (<META NAME="Keywords" CONTENT="..."> tab). These keywords are often used by search engines to reference pages.
The keywords must be defined in the initialization code of the page. Furthermore, to be efficient, the keywords must be defined on pages accessible via a URL in the following format: "http://".
Some tips:
  • The first 3 keywords of the list are very important.
  • Don't enter more than 20 keywords per page.
  • Don't repeat the same keyword.
  • Use different grammatical forms (singular/plural, noun/verb).
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help