This commit is contained in:
Ty Clifford
2026-07-03 07:31:09 -04:00
commit cebb0d3af1
800 changed files with 89782 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"plugin-data": {
"description": "Du kan bruge et specielt HTML metatag til at fortælle søgerobotter, om at de ikke skal indeksere indholdet på en side og / eller ikke scanne det for links, der kan følges.<br>Læs mere om søgerobotter her: <a href=\"https://www.robotstxt.org/robotstxt.html\">https://www.robotstxt.org/</a>",
"name": "Robots"
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robots",
"description": "Plugin für die Verwendung von Robots-Meta-Tags zur Suchmaschinenoptimierung (SEO) unter \"Einstellungen\" bei der Erstellung oder Bearbeitung von Seiten."
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robots",
"description": "Plugin für die Verwendung von Robots-Meta-Tags zur Suchmaschinenoptimierung (SEO) unter \"Einstellungen\" bei der Erstellung oder Bearbeitung von Seiten."
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robots",
"description": "You can use a special HTML meta tag to tell robots not to index the content of a page, and/or not scan it for links to follow."
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robots",
"description": "Puedes usar una metaetiqueta HTML especial para decirle a los robots que no indexen el contenido de una página."
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"plugin-data":
{
"name": "محتوای راه دور",
"description": "این افزونه یک راه آسان برای داشتن محتوای سایت شما در Github یا مشابه دارد و به نوبه خود، با بلودیت شما هماهنگ شده است ."
},
"webhook": "Webhook",
"source": "منبع",
"try-webhook": "امتحان webhook",
"complete-url-of-the-zip-file": "آدرس وب کامل فایل زیپ."
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robots",
"description": "Vous pouvez utiliser une métabalise HTML spéciale pour indiquer aux robots de ne pas indexer le contenu d'une page et/ou de ne pas l'analyser pour trouver des liens à suivre."
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robot",
"description": "Puoi usare uno speciale meta tag HTML per direi ai robot di non indicizzare il contenuto di una pagina, e/o di non scansionarla per i link."
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robots",
"description": "You can use a special HTML meta tag to tell robots not to index the content of a page, and\/or not scan it for links to follow."
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robots",
"description": "Mogelijkheid om via een speciale HTML meta-tag robots/crawlers op te dragen om de inhoud van een pagina niet te indexeren, niet te archiveren en/of niet te scannen op links."
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Поисковые роботы",
"description": "Вы можете использовать специальный метатег HTML, чтобы сообщить роботам, чтобы они не индексировали содержимое страницы, и/или не просматривали его на наличие ссылок."
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robotlar",
"description": "Robotların bir sayfanın içeriğini dizine eklememelerini veya takip edilecek bağlantılar için taramamasını sağlamak için özel bir HTML meta etiketi kullanabilirsiniz."
}
}
+10
View File
@@ -0,0 +1,10 @@
{
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.22.0",
"releaseDate": "2026-05-10",
"license": "MIT",
"compatible": "3.22",
"notes": ""
}
+70
View File
@@ -0,0 +1,70 @@
<?php
class pluginRobots extends Plugin {
public function init()
{
$this->dbFields = array(
'robotstxt'=>'User-agent: *'.PHP_EOL.'Allow: /'
);
}
public function form()
{
$html = '<div class="alert alert-primary" role="alert">';
$html .= $this->description();
$html .= '</div>';
$html .= '<div>';
$html .= '<label>'.DOMAIN.'/robots.txt</label>';
$html .= '<textarea name="robotstxt" id="jsrobotstxt">'.$this->getValue('robotstxt').'</textarea>';
$html .= '</div>';
return $html;
}
public function siteHead()
{
global $WHERE_AM_I;
$html = PHP_EOL.'<!-- Robots plugin -->'.PHP_EOL;
if ($WHERE_AM_I=='page') {
global $page;
$robots = array();
if ($page->noindex()) {
$robots['noindex'] = 'noindex';
}
if ($page->nofollow()) {
$robots['nofollow'] = 'nofollow';
}
if ($page->noarchive()) {
$robots['noarchive'] = 'noarchive';
}
if (!empty($robots)) {
$robots = implode(',', $robots);
$html .= '<meta name="robots" content="'.$robots.'">'.PHP_EOL;
}
}
return $html;
}
public function beforeAll()
{
$webhook = 'robots.txt';
if ($this->webhook($webhook)) {
header('Content-type: text/plain');
// Include link to sitemap in robots.txt if the plugin is enabled
if (pluginActivated('pluginSitemap')) {
echo 'Sitemap: '.DOMAIN_BASE.'sitemap.xml'.PHP_EOL;
}
echo $this->getValue('robotstxt');
exit(0);
}
}
}