You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://gitter.im/VIPnytt/X-Robots-Tag-parser)
PHP class to parse X-Robots-Tag HTTP headers according to [Google X-Robots-Tag HTTP header specifications](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#using-the-x-robots-tag-http-header).
@@ -23,7 +23,7 @@ The library is available via [Composer](https://getcomposer.org). Add this to yo
23
23
```json
24
24
{
25
25
"require": {
26
-
"vipnytt/x-robots-tag-parser": "~0.2"
26
+
"vipnytt/robotstagparser": "~0.3"
27
27
}
28
28
}
29
29
```
@@ -94,16 +94,16 @@ $parser = new XRobotsTagParser('myUserAgent', $headers);
94
94
$array = $parser->export();
95
95
```
96
96
97
-
## Supported directives:
98
-
-[x]````all```` - There are no restrictions for indexing or serving.
99
-
-[x]````none```` - Equivalent to ````noindex```` and ````nofollow````.
100
-
-[x]````noindex```` - Do not show this page in search results and do not show a "Cached" link in search results.
101
-
-[x]````nofollow```` - Do not follow the links on this page.
102
-
-[x]````noarchive```` - Do not show a "Cached" link in search results.
103
-
-[x]````nosnippet```` - Do not show a snippet in the search results for this page.
104
-
-[x]````noodp```` - Do not use metadata from the [Open Directory project](http://dmoz.org/) for titles or snippets shown for this page.
105
-
-[x]````notranslate```` - Do not offer translation of this page in search results.
106
-
-[x]````noimageindex```` - Do not index images on this page.
107
-
-[x]````unavailable_after```` - Do not show this page in search results after the specified date/time.
97
+
## Directives:
98
+
-[x]`all` - There are no restrictions for indexing or serving.
99
+
-[x]`none` - Equivalent to `noindex` and `nofollow`.
100
+
-[x]`noindex` - Do not show this page in search results and do not show a "Cached" link in search results.
101
+
-[x]`nofollow` - Do not follow the links on this page.
102
+
-[x]`noarchive` - Do not show a "Cached" link in search results.
103
+
-[x]`nosnippet` - Do not show a snippet in the search results for this page.
104
+
-[x]`noodp` - Do not use metadata from the [Open Directory project](http://dmoz.org/) for titles or snippets shown for this page.
105
+
-[x]`notranslate` - Do not offer translation of this page in search results.
106
+
-[x]`noimageindex` - Do not index images on this page.
107
+
-[x]`unavailable_after` - Do not show this page in search results after the specified date/time.
0 commit comments