Mobile Detective. Example 1.
Groups and rules used
For this page were used next groups/Rules (how to define them you can read here):
- SamsungMobile: isMobile, isSamsung
- iMobileDevices: isMobile, isiOS
Source code
Here I’ve used next codes:
[МobDetective SamsungMobile] This is mobile device OR from Samsung[/МobDetective]
[МobDetective iMobileDevices] This is a mobile device OR a device with iOS[/МobDetective ]
[МobDetective isMobile] This is a mobile device[/МobDetective ]
[МobDetective !isMobile] This is a desktop PC[/МobDetective
Note that I’ve used a standard rule isMobile without defining it as a group.