Improve DescriptionUpdateJob so path matching uses regex, update example search sources and wiki

Chris Pollett [2024-04-13 05:Apr:th]
Improve DescriptionUpdateJob so path matching uses regex, update example search sources and wiki
Filename
src/configs/Createdb.php
src/configs/PublicHelpPages.php
src/controllers/components/CrawlComponent.php
src/data/public_default.db
src/library/media_jobs/DescriptionUpdateJob.php
src/locale/ar/configure.ini
src/locale/bn/configure.ini
src/locale/de/configure.ini
src/locale/el_GR/configure.ini
src/locale/en_US/configure.ini
src/locale/es/configure.ini
src/locale/fa/configure.ini
src/locale/fr_FR/configure.ini
src/locale/he/configure.ini
src/locale/hi/configure.ini
src/locale/id/configure.ini
src/locale/it/configure.ini
src/locale/ja/configure.ini
src/locale/kn/configure.ini
src/locale/ko/configure.ini
src/locale/nl/configure.ini
src/locale/pl/configure.ini
src/locale/pt/configure.ini
src/locale/ru/configure.ini
src/locale/te/configure.ini
src/locale/th/configure.ini
src/locale/tl/configure.ini
src/locale/tr/configure.ini
src/locale/vi_VN/configure.ini
src/locale/zh_CN/configure.ini
src/views/elements/SearchsourcesElement.php
diff --git a/src/configs/Createdb.php b/src/configs/Createdb.php
index aa996a8d9..848e818ce 100755
--- a/src/configs/Createdb.php
+++ b/src/configs/Createdb.php
@@ -985,10 +985,10 @@ $media_sources = [
         'https://pa.tedcdn.com/feeds/talks.rss',
         '############enclosure###Public@Podcast Examples/Ted/%Y-%m-%d %F',
         'en-US'],
-    ['100000006', 'IMDB', 'description_source', 'TV Shows, video',
+    ['100000006', 'IMDB', 'description_source', 'TV\s*Show|Movie',
         'https://www.imdb.com/find?q=',
-        "Year/Rating | //ul[contains(@data-testid," .
-            "'hero-title-block__metadata')]/li/a\n" .
+        "Year/Rating | //h1[contains(@data-testid,'hero__pageTitle')]".
+            "/following-sibling::ul/li/a" .
         "IMDB | (.//div[contains(@data-testid," .
             "'hero-rating-bar__aggregate-rating__score')]/span)[1]\n" .
         "Plot | //span[contains(@data-testid,'plot-l')]\n" .
@@ -999,9 +999,45 @@ $media_sources = [
         "//a[contains(@class,'pc-metadata-list-summary-item__t')]###" .
         "//a[contains(@class,'ipc-metadata-list-summary-item__t')]/@href".
         "############" .
-        "TV Shows/Catch me if you can.mp4\n" .
-        "TV Shows/Inception.mp4\n" .
-        "TV Shows/Wrong Turn.mp4", 'en-US']
+        "Movie/Catch me if you can.mp4\n" .
+        "Movie/Inception.mp4\n" .
+        "Movie/Wrong Turn.mp4\n" .
+        "TV Shows/Gilligan's Island", 'en-US'],
+    ['100000007', 'AllMusic Artist', 'description_source', '/Music[^\/]*\//',
+        'https://www.allmusic.com/search/artists/',
+        'Bio | //*[contains(@id,"bioHeadline")]' . "\n".
+        'Active Dates | //div[contains(@id,"basicInfoMeta")]' .
+            '/div[contains(@class,"activeDates")]' . "\n".
+        'Formed | //div[contains(@id,"basicInfoMeta")]' .
+            '/div[contains(@class,"birth")]' . "\n".
+        'Genre | //div[contains(@id,"basicInfoMeta")]' .
+            '/div[contains(@class,"genre")]' . "\n".
+        'Styles | //div[contains(@id,"basicInfoMeta")]' .
+            '/div[contains(@class,"styles")]' . "\n".
+        'Group Members | //div[contains(@id,"basicInfoMeta")]' .
+            '/div[contains(@class,"group-members")]' . "\n".
+        "###//div[contains(@class,'artist')]###" .
+        "//div[contains(@class,'name')]/a###" .
+        "//div[contains(@class,'name')]/a/@href" .
+        "############" .
+        "/Music/Buzzcocks\n/Music/Madonna\n", 'en-US'],
+    ['100000008', 'AllMusic Album', 'description_source',
+        'Music[^\/]*\/([^\/]+)\/',
+        'https://www.allmusic.com/search/albums/',
+        'Artists | //*[contains(@id,"albumArtists")]' . "\n".
+        'Duration | //div[contains(@id,"basicInfoMeta")]' .
+            '/div[contains(@class,"duration")]/span' . "\n".
+        'Release Date | //div[contains(@id,"basicInfoMeta")]' .
+            '/div[contains(@class,"release-date")]/span' . "\n".
+        'Genre | //div[contains(@id,"basicInfoMeta")]' .
+            '/div[contains(@class,"genre")]/div' . "\n".
+        'Styles | //div[contains(@id,"basicInfoMeta")]' .
+            '/div[contains(@class,"styles")]/div' . "\n".
+        "###//div[contains(@class,'album')]###" .
+        "//div[contains(@class,'title')]/a###" .
+        "//div[contains(@class,'title')]/a/@href" .
+        "############" .
+        "/Music/Buzzcocks/Time's up\n/Music/Madonna/Like a virgin\n", 'en-US']
 ];
 $sql = "INSERT INTO MEDIA_SOURCE(TIMESTAMP, NAME, TYPE, CATEGORY,
     SOURCE_URL, AUX_INFO, LANGUAGE) VALUES  (?, ?, ?, ?, ?, ?, ?)";
diff --git a/src/configs/PublicHelpPages.php b/src/configs/PublicHelpPages.php
index f96d5af26..a33d023af 100644
--- a/src/configs/PublicHelpPages.php
+++ b/src/configs/PublicHelpPages.php
@@ -43135,22 +43135,30 @@ Here there is only one capture group (\d+\.\d+), so searching on trending:stocks

 <br />

-A '''Description Source''' is used to update the description of wiki page resources based on the resource's name. The '''Name''' field is used to give a name to this search source. The '''URL''' field is used to provide the url of web page along with any required query parameters in order to look up resource using its name. The '''Language''' field is used to specify the locale to be used at search site given they support it. The '''Path Terms''' field is used to specify a comma separated list of terms to check against the resource. If any of the path terms are contained in the wiki page name, resource path, or resource item's mimetype (both major and whole mimetype), the description source will be used. The '''Info XPaths''' field is used to specify the details of HTML tags containing the required information to be collected as the description of the resources. The '''Item XPath''' field is used to specify tag name and optionally attribute with value that aids to uniquely identify the HTML elements that completely contain all the details of a single search result, mostly this will be a <tr> tag. The '''Title XPath''' field is used to specify the details of HTML tag within the '''Item XPath''' that contains the text representing the title of search result in the similar format as '''Item XPath'''. The '''Url XPath''' field is used to specify details of HTML tag within '''Item XPath''' that contains the URL of details page about the search result. The '''Test Values''' field is used to provide test values to be used while in the test mode of search source. Below is the example of search source for IMDB site
+A '''Description Source''' is used to update the description of wiki page resources based on the resource's name. The '''Name''' field is used to give a name to this search source. The '''URL''' field is used to provide the url of web page along with any required query parameters in order to look up resource using its name. The '''Language''' field is used to specify the locale to be used at search site given they support it. The '''Path Regex''' field is used to specify a regular expression terms to check against the resource. If expression matches the wiki page name, resource path, or resource item's, the description source will be used. Capture groups matched will be added to the query terms (otherwise, just from the resource name) used when querying the description source. The '''Info XPaths''' field is used to specify the details of HTML tags containing the required information to be collected as the description of the resources. The '''Item XPath''' field is used to specify tag name and optionally attribute with value that aids to uniquely identify the HTML elements that completely contain all the details of a single search result, mostly this will be a <tr> tag. The '''Title XPath''' field is used to specify the details of HTML tag within the '''Item XPath''' that contains the text representing the title of search result in the similar format as '''Item XPath'''. The '''Url XPath''' field is used to specify details of HTML tag within '''Item XPath''' that contains the URL of details page about the search result. The '''Test Values''' field is used to provide test values to be used while in the test mode of search source. Below is the example of search source for IMDB site
 <pre>
- Name: IMDB
- URL: https://www.imdb.com/find?q=
- Language: English
- Path Terms: TV Shows, Movies, Video
- Info Xpaths:
-  Year/Rating | //ul[contains(@data-testid,'hero-title-block__metadata')]/li/a
-  Plot | //span[contains(@data-testid,'plot-l')]
-  Genres | //a[contains(@class,'ipc-chip')]
- Item Xpath: //li[contains(@class,'find-result-item')]
- Title Xpath: //a[contains(@class,'pc-metadata-list-summary-item__t')]
- Url Xpath: //a[contains(@class,'ipc-metadata-list-summary-item__t')]/@href
- Test Values:
-  Brahmastra Part One.mp4
-  House of the Dragon.mp4
+IMDB
+Type: Description Source
+Language: en-US
+Path Regex: TV\s*Show|Movie
+URL:
+https://www.imdb.com/find?q=
+Info XPaths
+Year/Rating | //h1[contains(@data-testid,'hero__pageTitle')]/following-sibling::ul/li/aIMDB | (.//div[contains(@data-testid,'hero-rating-bar__aggregate-rating__score')]/span)[1]
+Plot | //span[contains(@data-testid,'plot-l')]
+Genres | //a[contains(@class,'ipc-chip')]
+Credits | //div[contains(@data-testid,'title-pc-expanded-section')]//li[contains(@data-testid,'title-pc-principal-credit')]//a
+Item XPath
+//li[contains(@class,'find-result-item')]
+Title XPath
+//a[contains(@class,'pc-metadata-list-summary-item__t')]
+Url XPath
+//a[contains(@class,'ipc-metadata-list-summary-item__t')]/@href
+Test Values:
+Movie/Catch me if you can.mp4
+Movie/Inception.mp4
+Movie/Wrong Turn.mp4
+TV Shows/Gilligan's Island
 </pre>

 EOD;
diff --git a/src/controllers/components/CrawlComponent.php b/src/controllers/components/CrawlComponent.php
index f5e1bac94..ab418eed6 100644
--- a/src/controllers/components/CrawlComponent.php
+++ b/src/controllers/components/CrawlComponent.php
@@ -2719,8 +2719,8 @@ class CrawlComponent extends Component implements CrawlConstants
                         $must_have = array_merge($must_have, [
                             'item_path', 'channel_path', 'test_data',
                             'title_path', 'description_path']);
-                        if (isset($_REQUEST['path_terms'])) {
-                            $_REQUEST['category'] = $_REQUEST['path_terms'];
+                        if (isset($_REQUEST['path_regex'])) {
+                            $_REQUEST['category'] = $_REQUEST['path_regex'];
                         }
                         $is_parse_feed = true;
                     }
@@ -2962,8 +2962,8 @@ class CrawlComponent extends Component implements CrawlConstants
                     }
                     if (isset($_REQUEST['type']) &&
                         $_REQUEST['type'] == 'description_source') {
-                        if (isset($_REQUEST['path_terms'])) {
-                            $_REQUEST['category'] = $_REQUEST['path_terms'];
+                        if (isset($_REQUEST['path_regex'])) {
+                            $_REQUEST['category'] = $_REQUEST['path_regex'];
                         }
                     }
                     $aux_parts = explode("###", $source['AUX_INFO']);
diff --git a/src/data/public_default.db b/src/data/public_default.db
index cdff7bb0d..4ac5c7513 100644
Binary files a/src/data/public_default.db and b/src/data/public_default.db differ
diff --git a/src/library/media_jobs/DescriptionUpdateJob.php b/src/library/media_jobs/DescriptionUpdateJob.php
index 74e0978f4..84395565e 100644
--- a/src/library/media_jobs/DescriptionUpdateJob.php
+++ b/src/library/media_jobs/DescriptionUpdateJob.php
@@ -238,12 +238,16 @@ class DescriptionUpdateJob extends MediaJob
             $found_details = false;
             foreach ($sources as $source) {
                 $source_name = $source['NAME'];
-                if ($this->matchResourceSourcePathTerms(
+                if ($additional_search_items =
+                    $this->matchResourceSourcePathTerms(
                     $page_name . "/". $thumb_folder_path . "/" .
-                    $resource_detail, $source['CATEGORY'])){
+                    $resource_detail, $source['CATEGORY'])) {
                     $log_function("*** Using search source <b>$source_name" .
                         "</b> to find description ***", "p");
-                    $search_page_url = $source['SOURCE_URL'] . $resource_name;
+                    $query = (is_string($additional_search_items)) ?
+                        urlencode($additional_search_items) . "%20" .
+                        $resource_name : $resource_name;
+                    $search_page_url = $source['SOURCE_URL'] . $query;
                     $log_function(" Search Page URL - $search_page_url", "pre");
                     $search_page = FetchUrl::getPage($search_page_url);
                     if (empty($search_page)) {
@@ -311,29 +315,24 @@ class DescriptionUpdateJob extends MediaJob
      * @param string $page_name_folder_path path to check terms against search
      *  search source trigger terms. The mimetype of the resource is also added
      *  to the list of terms to check
-     * @param string $source_term_string a comma separated list of terms
-     *  used by a description source to see if it can supply a description of
-     *  the given resource.
-     * @return bool whether the path contained any of the source trigger terms
+     * @param string $source_regex a regex used on the $page_name_folder_path
+     *  to determine if a lookup should be done for the resource
+     * @return string|bool additional search terms or true if there was a match,
+     *  null otherwise
      */
     public function matchResourceSourcePathTerms($page_name_resource_path,
-        $source_term_string)
+        $source_regex)
     {
         $page_name_resource_path = preg_replace("/\_/u", " ",
             $page_name_resource_path);
-        $source_term_string = preg_replace("/\_/u", " ",
-            $source_term_string);
-        $mime_type = L\mimeType($page_name_resource_path, true);
-        $mime_type_major = explode("/", $mime_type)[0];
-        $check_parts = explode("/", mb_strtolower($page_name_resource_path));
-        $source_terms = preg_split("/\s*,\s*/u", trim(mb_strtolower(
-            $source_term_string)));
-        $check_parts[] = $mime_type;
-        $check_parts[] = $mime_type_major;
-        foreach($check_parts as $check_part) {
-            if (in_array($check_part, $source_terms)) {
-                return true;
-            }
+        if(empty($source_regex)) {
+            return false;
+        }
+        if ($source_regex[0] != $source_regex[strlen($source_regex) - 1]) {
+            $source_regex = "/$source_regex/";
+        }
+        if (preg_match($source_regex, $page_name_resource_path, $matches)) {
+            return ($matches[1] ?? true);
         }
         return false;
     }
@@ -430,7 +429,7 @@ class DescriptionUpdateJob extends MediaJob
                 "pre");
             return $details;
         }
-        $detail_items = explode("\n", $source['AUX_INFO']);
+        $detail_items = array_filter(explode("\n", $source['AUX_INFO']));
         $details = "";
         foreach ($detail_items as $detail_item) {
             $info_found = false;
diff --git a/src/locale/ar/configure.ini b/src/locale/ar/configure.ini
index 70b221352..8df447ae3 100755
--- a/src/locale/ar/configure.ini
+++ b/src/locale/ar/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "العمل"
 searchsources_element_sourcetype = "نوع:"
 searchsources_element_locale_tag = "اللغة:"
 searchsources_element_category = "الفئة:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "تنتهي:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "اسم المجلد"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "البحث ترتيب العوامل"
 pageoptions_element_host_keyword_bonus = "مكافأة استضافة الكلمات الرئيسية :"
 pageoptions_element_title_bonus = "عنوان مكافأة الكلمات الرئيسية"
 pageoptions_element_path_keyword_bonus = "مكافأة مسار الكلمات الرئيسية"
-pageoptions_element_proximity_bonus = "مكافأة القرب :"
 pageoptions_element_cld_url_bonus = "مكافأة رابط نطاق الشركة :"
 pageoptions_element_host_url_bonus = "مكافأة عنوان المضيف :"
 pageoptions_element_user_rank_bonus = "مكافأة رتبة المستخدم:"
@@ -1715,7 +1714,6 @@ search_element_similar = "مماثلة"
 search_element_inlink = "Inlinks"
 search_element_rank = "الرتبة:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "بالوكاله:%s"
 search_element_score = "النتيجة:%s"
 search_element_score_pinned = "النتيجة: النتيجة معلقة"
 search_element_title = "Yioop - PHP محرك البحث"
diff --git a/src/locale/bn/configure.ini b/src/locale/bn/configure.ini
index b77f1df6b..247700cb6 100755
--- a/src/locale/bn/configure.ini
+++ b/src/locale/bn/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "কর্ম"
 searchsources_element_sourcetype = "প্রকার:"
 searchsources_element_locale_tag = "ভাষা:"
 searchsources_element_category = "বিভাগ:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "মেয়াদ শেষ:"
 searchsources_element_url = "URL-এ:"
 searchsources_element_dirname = "ফোল্ডার নাম"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "সার্চ র্যাংকিং
 pageoptions_element_host_keyword_bonus = "হোস্ট কীওয়ার্ড বোনাস:"
 pageoptions_element_title_bonus = "শিরোনাম কীওয়ার্ড বোনাস"
 pageoptions_element_path_keyword_bonus = "পাথ কীওয়ার্ড বোনাস"
-pageoptions_element_proximity_bonus = "প্রক্সিমিটি বোনাস:"
 pageoptions_element_cld_url_bonus = "কোম্পানির ডোমেন ইউআরএল বোনাস:"
 pageoptions_element_host_url_bonus = "হোস্ট ইউআরএল বোনাস:"
 pageoptions_element_user_rank_bonus = "ব্যবহারকারী র্যাঙ্ক বোনাস:"
@@ -1715,7 +1714,6 @@ search_element_similar = "অনুরূপ"
 search_element_inlink = "Inlinks"
 search_element_rank = "র্যাঙ্ক:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "স্কোর:%s"
 search_element_score_pinned = "স্কোর: পিনযুক্ত ফলাফল"
 search_element_title = "Yioop - পিএইচপি সার্চ ইঞ্জিন"
diff --git a/src/locale/de/configure.ini b/src/locale/de/configure.ini
index e003e3814..3fc281286 100755
--- a/src/locale/de/configure.ini
+++ b/src/locale/de/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Aktion"
 searchsources_element_sourcetype = "Typ:"
 searchsources_element_locale_tag = "Sprache:"
 searchsources_element_category = "Kategorie:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Ablauf:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "Ordner Name"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Suche Ranking-Faktoren"
 pageoptions_element_host_keyword_bonus = "Schlüsselwortbonus für Gastgeber :"
 pageoptions_element_title_bonus = "Titel Stichwort Bonus"
 pageoptions_element_path_keyword_bonus = "Pfad-Schlüsselwort-Bonus"
-pageoptions_element_proximity_bonus = "Proximity-Bonus:"
 pageoptions_element_cld_url_bonus = "Firmen-Domain-URL-Bonus:"
 pageoptions_element_host_url_bonus = "Host-URL-Prämie:"
 pageoptions_element_user_rank_bonus = "Benutzerrangbonus :"
@@ -1715,7 +1714,6 @@ search_element_similar = "&Auml;hnlich"
 search_element_inlink = "Inlinks"
 search_element_rank = "Rang:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Score:%s"
 search_element_score_pinned = "Ergebnis: Angeheftete Ergebnis"
 search_element_title = "Yioop - PHP-Suchmaschine"
diff --git a/src/locale/el_GR/configure.ini b/src/locale/el_GR/configure.ini
index 63cf3a109..19106cb93 100644
--- a/src/locale/el_GR/configure.ini
+++ b/src/locale/el_GR/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Ενέργεια"
 searchsources_element_sourcetype = "Τύπος:"
 searchsources_element_locale_tag = "Γλώσσα:"
 searchsources_element_category = "Κατηγορία:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Λήγει:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "Ονομασία φακέλου"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Παράγοντες κατάταξης
 pageoptions_element_host_keyword_bonus = "Μπόνους Λέξεων-Κλειδιών Υποδοχής :"
 pageoptions_element_title_bonus = "Τίτλος Λέξη-Κλειδί Μπόνους"
 pageoptions_element_path_keyword_bonus = "Διαδρομή Λέξη-Κλειδί Μπόνους"
-pageoptions_element_proximity_bonus = "Μπόνους Εγγύτητας :"
 pageoptions_element_cld_url_bonus = "Μπόνους Διεύθυνσης URL Τομέα Εταιρείας :"
 pageoptions_element_host_url_bonus = "Μπόνους URL Υποδοχής :"
 pageoptions_element_user_rank_bonus = "Μπόνους Κατάταξης Χρήστη :"
@@ -1715,7 +1714,6 @@ search_element_similar = "Παρόμοια"
 search_element_inlink = "Εσωτερικοί σύνδεσμοι"
 search_element_rank = "Κατάταξη:%s"
 search_element_relevancy = "Σχετικότητα:%s"
-search_element_proximity = "Εγγύτητα:%s"
 search_element_score = "Σκορ:%s"
 search_element_score_pinned = "Σκορ: Καρφιτσωμένο αποτέλεσμα"
 search_element_title = "Yioop - PHP Μηχανή Αναζήτησης"
diff --git a/src/locale/en_US/configure.ini b/src/locale/en_US/configure.ini
index 0343d79ef..c74d80150 100644
--- a/src/locale/en_US/configure.ini
+++ b/src/locale/en_US/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Action"
 searchsources_element_sourcetype = "Type:"
 searchsources_element_locale_tag = "Language:"
 searchsources_element_category = "Category:"
-searchsources_element_path_terms = "Path Terms:"
+searchsources_element_path_regex = "Path Regex:"
 searchsources_element_expires = "Expires:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "Folder Name"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Search Ranking Factors"
 pageoptions_element_host_keyword_bonus = "Host Keyword Bonus:"
 pageoptions_element_title_bonus = "Title Keyword Bonus"
 pageoptions_element_path_keyword_bonus = "Path Keyword Bonus"
-pageoptions_element_proximity_bonus = "Proximity Bonus:"
 pageoptions_element_cld_url_bonus = "Company Domain Url Bonus:"
 pageoptions_element_host_url_bonus = "Host Url Bonus:"
 pageoptions_element_user_rank_bonus = "User Rank Bonus:"
@@ -1715,7 +1714,6 @@ search_element_similar = "Similar"
 search_element_inlink = "Inlinks"
 search_element_rank = "Rank:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Score:%s"
 search_element_score_pinned = "Score: Pinned Result"
 search_element_title = "Yioop - PHP Search Engine"
diff --git a/src/locale/es/configure.ini b/src/locale/es/configure.ini
index 9092235eb..77e138312 100755
--- a/src/locale/es/configure.ini
+++ b/src/locale/es/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Acci&oacute;n"
 searchsources_element_sourcetype = "Tipo:"
 searchsources_element_locale_tag = "Idioma:"
 searchsources_element_category = "Categor&iacute;a:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Expira:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "El Nombre De La Carpeta"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "La Clasificaci&oacute;n De La B&uacute;sq
 pageoptions_element_host_keyword_bonus = "Bonificación por palabra clave de anfitrión:"
 pageoptions_element_title_bonus = "Bono por Palabra Clave de Título"
 pageoptions_element_path_keyword_bonus = "Bonificación por Palabra Clave de Ruta"
-pageoptions_element_proximity_bonus = "Bonificación de proximidad:"
 pageoptions_element_cld_url_bonus = "Bonificación de Url de Dominio de Empresa:"
 pageoptions_element_host_url_bonus = "Bonificación de URL de Host:"
 pageoptions_element_user_rank_bonus = "Bonificación de Rango de Usuario :"
@@ -1715,7 +1714,6 @@ search_element_similar = "Similar"
 search_element_inlink = "Inlinks"
 search_element_rank = "Rango:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Puntuaci&oacute;n:%s"
 search_element_score_pinned = "Puntuaci&oacute;n: Cubri&oacute; Resultado"
 search_element_title = "Yioop - PHP Motor de B&uacute;squeda"
diff --git a/src/locale/fa/configure.ini b/src/locale/fa/configure.ini
index 5a6e6a888..2779ad5cb 100755
--- a/src/locale/fa/configure.ini
+++ b/src/locale/fa/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "فرمان"
 searchsources_element_sourcetype = "نوع:"
 searchsources_element_locale_tag = "زبان:"
 searchsources_element_category = "دسته بندی:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "منقضی می شود:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "نام پوشه"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "جستجو رتبه بندی عوامل"
 pageoptions_element_host_keyword_bonus = "میزبان کلید واژه پاداش:"
 pageoptions_element_title_bonus = "عنوان کلید واژه پاداش"
 pageoptions_element_path_keyword_bonus = "جایزه کلید واژه مسیر"
-pageoptions_element_proximity_bonus = "پاداش نزدیکی:"
 pageoptions_element_cld_url_bonus = "پاداش دامنه شرکت :"
 pageoptions_element_host_url_bonus = "پاداش نشانی وب میزبان :"
 pageoptions_element_user_rank_bonus = "پاداش رتبه کاربر:"
@@ -1715,7 +1714,6 @@ search_element_similar = "مشابه"
 search_element_inlink = "Inlinks"
 search_element_rank = "رتبه:%s"
 search_element_relevancy = "نگارش:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "امتیاز:%s"
 search_element_score_pinned = "نمره: دوخته نتیجه"
 search_element_title = "Yioop - PHP Search Engine"
diff --git a/src/locale/fr_FR/configure.ini b/src/locale/fr_FR/configure.ini
index f77efef3f..e4adbf8a4 100755
--- a/src/locale/fr_FR/configure.ini
+++ b/src/locale/fr_FR/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Action"
 searchsources_element_sourcetype = "Type:"
 searchsources_element_locale_tag = "Langue:"
 searchsources_element_category = "Cat&eacute;gorie:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Date d&#039;expiration:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "Nom de dossier"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "La recherche des facteurs de classement"
 pageoptions_element_host_keyword_bonus = "Bonus de mot-clé hôte:"
 pageoptions_element_title_bonus = "Titre Mot-Clé Bonus"
 pageoptions_element_path_keyword_bonus = "Bonus de Mot-Clé Path"
-pageoptions_element_proximity_bonus = "Bonus de proximité:"
 pageoptions_element_cld_url_bonus = "Bonus d&#039;URL de domaine d&#039;entreprise:"
 pageoptions_element_host_url_bonus = "Bonus d&#039;URL d&#039;hôte:"
 pageoptions_element_user_rank_bonus = "Bonus de classement utilisateur:"
@@ -1715,7 +1714,6 @@ search_element_similar = "Similaire"
 search_element_inlink = "Liens entrants"
 search_element_rank = "Rang:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Score:%s"
 search_element_score_pinned = "Score: &Eacute;pingl&eacute; R&eacute;sultat"
 search_element_title = "Yioop - PHP Moteur de Recherche"
diff --git a/src/locale/he/configure.ini b/src/locale/he/configure.ini
index 363e41304..c3309bcfc 100755
--- a/src/locale/he/configure.ini
+++ b/src/locale/he/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "פעולה"
 searchsources_element_sourcetype = "סוג:"
 searchsources_element_locale_tag = "שפה:"
 searchsources_element_category = "קטגוריה:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "פג תוקף:"
 searchsources_element_url = "כתובת האתר:"
 searchsources_element_dirname = "שם התיקייה"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "חיפוש גורמי דירוג"
 pageoptions_element_host_keyword_bonus = "בונוס מילות מפתח מארח:"
 pageoptions_element_title_bonus = "בונוס מילת מפתח כותרת"
 pageoptions_element_path_keyword_bonus = "בונוס מילות מפתח נתיב"
-pageoptions_element_proximity_bonus = "בונוס קרבה:"
 pageoptions_element_cld_url_bonus = "בונוס כתובת אתר של תחום החברה :"
 pageoptions_element_host_url_bonus = "בונוס כתובת אתר מארח :"
 pageoptions_element_user_rank_bonus = "בונוס דירוג משתמש:"
@@ -1715,7 +1714,6 @@ search_element_similar = "דומה"
 search_element_inlink = "קישורים נכנסים"
 search_element_rank = "דרגה:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "ציון:%s"
 search_element_score_pinned = "ציון: הצמיד התוצאה"
 search_element_title = "Yioop - PHP מנוע חיפוש"
diff --git a/src/locale/hi/configure.ini b/src/locale/hi/configure.ini
index 76f0c6fd6..207af4d15 100755
--- a/src/locale/hi/configure.ini
+++ b/src/locale/hi/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "कार्रवाई"
 searchsources_element_sourcetype = "प्रकार:"
 searchsources_element_locale_tag = "भाषा में:"
 searchsources_element_category = "श्रेणी:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "समाप्त हो रहा है:"
 searchsources_element_url = "यूआरएल:"
 searchsources_element_dirname = "फ़ोल्डर का नाम"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "खोज रैंकिंग कार
 pageoptions_element_host_keyword_bonus = "होस्ट कीवर्ड बोनस:"
 pageoptions_element_title_bonus = "शीर्षक कीवर्ड बोनस"
 pageoptions_element_path_keyword_bonus = "पथ कीवर्ड बोनस"
-pageoptions_element_proximity_bonus = "निकटता बोनस:"
 pageoptions_element_cld_url_bonus = "कंपनी डोमेन यूआरएल बोनस:"
 pageoptions_element_host_url_bonus = "होस्ट यूआरएल बोनस:"
 pageoptions_element_user_rank_bonus = "उपयोगकर्ता रैंक बोनस:"
@@ -1715,7 +1714,6 @@ search_element_similar = "इसी तरह"
 search_element_inlink = "Inlinks"
 search_element_rank = "रैंक:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "प्रोक्स:%s"
 search_element_score = "स्कोर:%s"
 search_element_score_pinned = "स्कोर: टिकी परिणाम"
 search_element_title = "Yioop - PHP खोज इंजन"
diff --git a/src/locale/id/configure.ini b/src/locale/id/configure.ini
index 954b1e7e7..0dd80beef 100755
--- a/src/locale/id/configure.ini
+++ b/src/locale/id/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Aksi"
 searchsources_element_sourcetype = "Jenis:"
 searchsources_element_locale_tag = "Bahasa:"
 searchsources_element_category = "Kategori:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Berakhir:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "Nama Folder"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Pencarian Peringkat Faktor-Faktor"
 pageoptions_element_host_keyword_bonus = "Bonus Kata Kunci Host:"
 pageoptions_element_title_bonus = "Bonus Kata Kunci Judul"
 pageoptions_element_path_keyword_bonus = "Bonus Kata Kunci Jalur"
-pageoptions_element_proximity_bonus = "Bonus Kedekatan:"
 pageoptions_element_cld_url_bonus = "Bonus Url Domain Perusahaan:"
 pageoptions_element_host_url_bonus = "Bonus URL Tuan Rumah:"
 pageoptions_element_user_rank_bonus = "Bonus Peringkat Pengguna :"
@@ -1715,7 +1714,6 @@ search_element_similar = "Serupa"
 search_element_inlink = "Inlinks"
 search_element_rank = "Pangkat:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Score:%s"
 search_element_score_pinned = "Skor: Pinned Hasil"
 search_element_title = "Yioop - Mesin Pencari PHP"
diff --git a/src/locale/it/configure.ini b/src/locale/it/configure.ini
index d46a08942..62e2d9f95 100755
--- a/src/locale/it/configure.ini
+++ b/src/locale/it/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Azione"
 searchsources_element_sourcetype = "Tipo:"
 searchsources_element_locale_tag = "Lingua:"
 searchsources_element_category = "Categoria:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Scadenza:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "Nome Della Cartella"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Fattori del posto"
 pageoptions_element_host_keyword_bonus = "Bonus parole chiave host:"
 pageoptions_element_title_bonus = "Titolo Parola chiave Bonus"
 pageoptions_element_path_keyword_bonus = "Bonus parole chiave percorso"
-pageoptions_element_proximity_bonus = "Bonus di prossimità:"
 pageoptions_element_cld_url_bonus = "Bonus Url dominio azienda:"
 pageoptions_element_host_url_bonus = "Bonus Url host:"
 pageoptions_element_user_rank_bonus = "Bonus classifica utente:"
@@ -1715,7 +1714,6 @@ search_element_similar = "Simile"
 search_element_inlink = "Inlinks"
 search_element_rank = "Rank:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Punteggio:%s"
 search_element_score_pinned = "Punteggio: Appuntato Risultato"
 search_element_title = "Yioop - PHP Motore di Ricerca"
diff --git a/src/locale/ja/configure.ini b/src/locale/ja/configure.ini
index e9bd209dc..5a30d60cb 100755
--- a/src/locale/ja/configure.ini
+++ b/src/locale/ja/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "行動"
 searchsources_element_sourcetype = "タイプ:"
 searchsources_element_locale_tag = "言語:"
 searchsources_element_category = "カテゴリ:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "限:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "フォルダの名前"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "検索ランキング因子"
 pageoptions_element_host_keyword_bonus = "ホストキーワードボーナス:"
 pageoptions_element_title_bonus = "タイトルキーワードボーナス"
 pageoptions_element_path_keyword_bonus = "パスキーワードボーナス"
-pageoptions_element_proximity_bonus = "近接ボーナス:"
 pageoptions_element_cld_url_bonus = "企業ドメインUrlボーナス:"
 pageoptions_element_host_url_bonus = "ホストUrlボーナス:"
 pageoptions_element_user_rank_bonus = "ユーザーランクボーナス:"
@@ -1715,7 +1714,6 @@ search_element_similar = "類似の"
 search_element_inlink = "Inlinks"
 search_element_rank = "ランク:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "点数:%s"
 search_element_score_pinned = "スコアピ結果"
 search_element_title = "Yioop-PHPの検索エンジン"
diff --git a/src/locale/kn/configure.ini b/src/locale/kn/configure.ini
index 12d313723..1b20ef8a3 100755
--- a/src/locale/kn/configure.ini
+++ b/src/locale/kn/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "ಕ್ರಮ"
 searchsources_element_sourcetype = "ಕೌಟುಂಬಿಕತೆ:"
 searchsources_element_locale_tag = "ಭಾಷೆ:"
 searchsources_element_category = "ವರ್ಗ:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "ಅವಧಿಯು:"
 searchsources_element_url = "URL ಅನ್ನು:"
 searchsources_element_dirname = "ಫೋಲ್ಡರ್ ಹೆಸರು"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "ಹುಡುಕು ಶ್ರೇಯಾಂ
 pageoptions_element_host_keyword_bonus = "ಹೋಸ್ಟ್ ಕೀವರ್ಡ್ ಬೋನಸ್:"
 pageoptions_element_title_bonus = "ಶೀರ್ಷಿಕೆ ಕೀವರ್ಡ್ ಬೋನಸ್"
 pageoptions_element_path_keyword_bonus = "ಪಾತ್ ಕೀವರ್ಡ್ ಬೋನಸ್"
-pageoptions_element_proximity_bonus = "ಸಾಮೀಪ್ಯ ಬೋನಸ್:"
 pageoptions_element_cld_url_bonus = "ಕಂಪನಿ ಡೊಮೇನ್ ಯುಆರ್ಎಲ್ ಬೋನಸ್:"
 pageoptions_element_host_url_bonus = "ಹೋಸ್ಟ್ ಯುಆರ್ಎಲ್ ಬೋನಸ್:"
 pageoptions_element_user_rank_bonus = "ಬಳಕೆದಾರ ಶ್ರೇಣಿಯ ಬೋನಸ್:"
@@ -1715,7 +1714,6 @@ search_element_similar = "ಇದೇ"
 search_element_inlink = "Inlinks"
 search_element_rank = "ಶ್ರೇಣಿ:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "ಸ್ಕೋರ್:%s"
 search_element_score_pinned = "ಸ್ಕೋರ್: ಪಿನ್ ಫಲಿತಾಂಶ"
 search_element_title = "Yioop - ಪಿಎಚ್ಪಿ ಹುಡುಕಾಟ ಎಂಜಿನ್"
diff --git a/src/locale/ko/configure.ini b/src/locale/ko/configure.ini
index 298ec4122..2671a73f1 100755
--- a/src/locale/ko/configure.ini
+++ b/src/locale/ko/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "작"
 searchsources_element_sourcetype = "유형:"
 searchsources_element_locale_tag = "언어:"
 searchsources_element_category = "카테고리:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "은 만료됩니다:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "폴더 이름"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "검색 순위 요소"
 pageoptions_element_host_keyword_bonus = "호스트 키워드 보너스:"
 pageoptions_element_title_bonus = "제목 키워드 보너스"
 pageoptions_element_path_keyword_bonus = "경로 키워드 보너스"
-pageoptions_element_proximity_bonus = "근접 보너스:"
 pageoptions_element_cld_url_bonus = "회사 도메인 주소 보너스:"
 pageoptions_element_host_url_bonus = "호스트 주소 보너스:"
 pageoptions_element_user_rank_bonus = "사용자 순위 보너스:"
@@ -1715,7 +1714,6 @@ search_element_similar = "비슷한"
 search_element_inlink = "Inlinks"
 search_element_rank = "순위:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "점수:%s"
 search_element_score_pinned = "점수:고정 결과"
 search_element_title = "Yioop-검색 엔진 PHP"
diff --git a/src/locale/nl/configure.ini b/src/locale/nl/configure.ini
index ace664383..ee596a7df 100644
--- a/src/locale/nl/configure.ini
+++ b/src/locale/nl/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "actie"
 searchsources_element_sourcetype = "Type:"
 searchsources_element_locale_tag = "taal:"
 searchsources_element_category = "Categorie:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Verloopt:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "mapnaam"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Zoek Ranking Factors"
 pageoptions_element_host_keyword_bonus = "Host Keyword Bonus :"
 pageoptions_element_title_bonus = "Titel Trefwoord Bonus"
 pageoptions_element_path_keyword_bonus = "Pad Trefwoord Bonus"
-pageoptions_element_proximity_bonus = "Proximity Bonus :"
 pageoptions_element_cld_url_bonus = "Bedrijfsdomein Url-Bonus :"
 pageoptions_element_host_url_bonus = "Host Url Bonus :"
 pageoptions_element_user_rank_bonus = "User Rank Bonus :"
@@ -1715,7 +1714,6 @@ search_element_similar = "Soortgelijke"
 search_element_inlink = "Inlinks"
 search_element_rank = "Rang:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Score:%s"
 search_element_score_pinned = "Score: Opgespeld Resultaat"
 search_element_title = "Yioop - PHP zoekmachine"
diff --git a/src/locale/pl/configure.ini b/src/locale/pl/configure.ini
index c30dd22a6..fa1371f01 100755
--- a/src/locale/pl/configure.ini
+++ b/src/locale/pl/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Akcja"
 searchsources_element_sourcetype = "Typ:"
 searchsources_element_locale_tag = "Język:"
 searchsources_element_category = "Kategorie:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Wygasa:"
 searchsources_element_url = "Adres URL:"
 searchsources_element_dirname = "Nazwa Folderu "
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Czynniki Rankingu Wyszukiwania "
 pageoptions_element_host_keyword_bonus = "Host Keyword Bonus:"
 pageoptions_element_title_bonus = "Tytuł Keyword Bonus"
 pageoptions_element_path_keyword_bonus = "Path Keyword Bonus"
-pageoptions_element_proximity_bonus = "Premia Zbliżeniowa :"
 pageoptions_element_cld_url_bonus = "Bonus URL Domeny Firmowej :"
 pageoptions_element_host_url_bonus = "Bonus URL Hosta:"
 pageoptions_element_user_rank_bonus = "Bonus Rangi Użytkownika:"
@@ -1715,7 +1714,6 @@ search_element_similar = "Podobne"
 search_element_inlink = "Życiu"
 search_element_rank = "Ranga:%s"
 search_element_relevancy = "Przek:%s"
-search_element_proximity = "Радиокарт:%s"
 search_element_score = "Wynik:%s"
 search_element_score_pinned = "Wynik: Jest Tu Wynik"
 search_element_title = "Yioop - wyszukiwarki na PHP "
diff --git a/src/locale/pt/configure.ini b/src/locale/pt/configure.ini
index 3f9c87c91..8b3c8791b 100755
--- a/src/locale/pt/configure.ini
+++ b/src/locale/pt/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "A&ccedil;&atilde;o"
 searchsources_element_sourcetype = "Tipo:"
 searchsources_element_locale_tag = "Idioma:"
 searchsources_element_category = "Categoria:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Expira:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "Nome De Pasta"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Pesquisa De Fatores De Ranking"
 pageoptions_element_host_keyword_bonus = "Bônus De Palavra-Chave Do Host:"
 pageoptions_element_title_bonus = "Título Bonus Palavra-Chave"
 pageoptions_element_path_keyword_bonus = "Bônus De Palavra-Chave Do Caminho"
-pageoptions_element_proximity_bonus = "Bônus De Proximidade :"
 pageoptions_element_cld_url_bonus = "Bônus De Url De Domínio Da Empresa:"
 pageoptions_element_host_url_bonus = "Bônus De URL Do Host :"
 pageoptions_element_user_rank_bonus = "Bônus De Classificação Do Usuário :"
@@ -1715,7 +1714,6 @@ search_element_similar = "Semelhantes"
 search_element_inlink = "Inlinks"
 search_element_rank = "Classifica&ccedil;&atilde;o:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Pontua&ccedil;&atilde;o:%s"
 search_element_score_pinned = "Pontua&ccedil;&atilde;o: Preso Resultado"
 search_element_title = "Yioop - PHP Motor de Busca"
diff --git a/src/locale/ru/configure.ini b/src/locale/ru/configure.ini
index e75ec5ec5..7791612f5 100755
--- a/src/locale/ru/configure.ini
+++ b/src/locale/ru/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Действие"
 searchsources_element_sourcetype = "Тип:"
 searchsources_element_locale_tag = "Язык:"
 searchsources_element_category = "Категории:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Истекает:"
 searchsources_element_url = "URL-адрес:"
 searchsources_element_dirname = "Имя Папки "
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Факторы Ранжирования
 pageoptions_element_host_keyword_bonus = "Бонус за ключевое слово хоста:"
 pageoptions_element_title_bonus = "Бонус за ключевое слово в названии"
 pageoptions_element_path_keyword_bonus = "Бонус за ключевое слово Path"
-pageoptions_element_proximity_bonus = "Бонус за близость:"
 pageoptions_element_cld_url_bonus = "Бонусный URL-адрес домена компании:"
 pageoptions_element_host_url_bonus = "Бонусный URL-адрес хоста:"
 pageoptions_element_user_rank_bonus = "Бонус за ранг пользователя:"
@@ -1715,7 +1714,6 @@ search_element_similar = "Похожие"
 search_element_inlink = "Inlinks"
 search_element_rank = "Ранг:%s"
 search_element_relevancy = "Рел:%s"
-search_element_proximity = "Радиокарт:%s"
 search_element_score = "Результат:%s"
 search_element_score_pinned = "Результат: Приперся Результат"
 search_element_title = "Yioop - поисковых систем на PHP "
diff --git a/src/locale/te/configure.ini b/src/locale/te/configure.ini
index 3f339d2b9..d9da9e0d6 100644
--- a/src/locale/te/configure.ini
+++ b/src/locale/te/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "చర్య"
 searchsources_element_sourcetype = "రకం:"
 searchsources_element_locale_tag = "భాష:"
 searchsources_element_category = "వర్గం:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "గడువు ముగుస్తుంది:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "ఫోల్డర్ పేరు"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "శోధన ర్యాంకింగ
 pageoptions_element_host_keyword_bonus = "హోస్ట్ కీవర్డ్ బోనస్:"
 pageoptions_element_title_bonus = "శీర్షిక కీవర్డ్ బోనస్"
 pageoptions_element_path_keyword_bonus = "మార్గం కీవర్డ్ బోనస్"
-pageoptions_element_proximity_bonus = "సామీప్య బోనస్:"
 pageoptions_element_cld_url_bonus = "కంపెనీ డొమైన్ యూఆర్ఎల్ బోనస్:"
 pageoptions_element_host_url_bonus = "హోస్ట్ యూఆర్ఎల్ బోనస్:"
 pageoptions_element_user_rank_bonus = "వాడుకరి రాంక్ బోనస్:"
@@ -1715,7 +1714,6 @@ search_element_similar = "ఇలాంటి"
 search_element_inlink = "Inlinks"
 search_element_rank = "ర్యాంక్:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "స్కోరు:%s"
 search_element_score_pinned = "స్కోరు: పిన్ ఫలితం"
 search_element_title = "Yioop - PHP శోధన ఇంజిన్"
diff --git a/src/locale/th/configure.ini b/src/locale/th/configure.ini
index ec3983412..3cca1768f 100755
--- a/src/locale/th/configure.ini
+++ b/src/locale/th/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "การกระทำ"
 searchsources_element_sourcetype = "ประเภท:"
 searchsources_element_locale_tag = "ภาษา:"
 searchsources_element_category = "หมวดหมู่:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "หมดอายุ:"
 searchsources_element_url = "ที่อยู่ URL:"
 searchsources_element_dirname = "ชื่อโฟลเดอร์"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "การค้นหาปัจจั
 pageoptions_element_host_keyword_bonus = "โบนัสคำหลักโฮสต์:"
 pageoptions_element_title_bonus = "ชื่อโบนัสคำสำคัญ"
 pageoptions_element_path_keyword_bonus = "โบนัสคำหลักเส้นทาง"
-pageoptions_element_proximity_bonus = "โบนัสความใกล้ชิด:"
 pageoptions_element_cld_url_bonus = "โบนัสโดเมนบริษัท:"
 pageoptions_element_host_url_bonus = "โบนัสโฮสต์:"
 pageoptions_element_user_rank_bonus = "โบนัสอันดับผู้ใช้:"
@@ -1715,7 +1714,6 @@ search_element_similar = "คล้ายกัน"
 search_element_inlink = "Inlinks"
 search_element_rank = "ตำแหน่ง:ทั้งหมด %s"
 search_element_relevancy = "Rel:ทั้งหมด %s"
-search_element_proximity = "Prox:ทั้งหมด %s"
 search_element_score = "คะแนน:ทั้งหมด %s"
 search_element_score_pinned = "คะแนน:ติดผลลัพธ์"
 search_element_title = "Yioop-PHP เครื่องมือสำหรับค้นหา name"
diff --git a/src/locale/tl/configure.ini b/src/locale/tl/configure.ini
index 1efa7a1dd..2ee6fd38d 100644
--- a/src/locale/tl/configure.ini
+++ b/src/locale/tl/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Aksyon"
 searchsources_element_sourcetype = "Uri:"
 searchsources_element_locale_tag = "Wika:"
 searchsources_element_category = "Kategorya:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "E-expire:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "Pangalan Ng Folder"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Maghanap Ng Pagra-Ranggo Ng Mga Kadahilan
 pageoptions_element_host_keyword_bonus = "Mag-Host Ng Keyword Bonus:"
 pageoptions_element_title_bonus = "Bonus Ng Keyword Ng Pamagat"
 pageoptions_element_path_keyword_bonus = "Path Keyword Bonus"
-pageoptions_element_proximity_bonus = "Malapit Na Bonus:"
 pageoptions_element_cld_url_bonus = "Bonus Ng Url Ng Domain Ng Kumpanya:"
 pageoptions_element_host_url_bonus = "Host Url Bonus:"
 pageoptions_element_user_rank_bonus = "Bonus Sa Ranggo Ng Gumagamit:"
@@ -1715,7 +1714,6 @@ search_element_similar = "Katulad"
 search_element_inlink = "Inlinks"
 search_element_rank = "Ranggo:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Mga puntos:%s"
 search_element_score_pinned = "Mga Puntos: - Pin Resulta"
 search_element_title = "Yioop - PHP Search Engine"
diff --git a/src/locale/tr/configure.ini b/src/locale/tr/configure.ini
index dfa6ac4ce..c83af52bc 100755
--- a/src/locale/tr/configure.ini
+++ b/src/locale/tr/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Eylem"
 searchsources_element_sourcetype = "T&uuml;r&uuml;:"
 searchsources_element_locale_tag = "Dil:"
 searchsources_element_category = "Kategori:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "S&uuml;resi:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "Klas&ouml;r Adı"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Arama Sıralaması Fakt&ouml;rler"
 pageoptions_element_host_keyword_bonus = "Ana Anahtar Kelime Bonusu :"
 pageoptions_element_title_bonus = "Başlık Anahtar Kelime Bonusu"
 pageoptions_element_path_keyword_bonus = "Path Anahtar Kelime Bonusu"
-pageoptions_element_proximity_bonus = "Yakınlık Bonusu :"
 pageoptions_element_cld_url_bonus = "Şirket Alan Adı Url Bonusu :"
 pageoptions_element_host_url_bonus = "Ana Bilgisayar Url Bonusu :"
 pageoptions_element_user_rank_bonus = "Kullanıcı Sıralaması Bonusu :"
@@ -1715,7 +1714,6 @@ search_element_similar = "Benzer"
 search_element_inlink = "İ&ccedil; bağlantıları kullanmak"
 search_element_rank = "R&uuml;tbe:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Puan:%s"
 search_element_score_pinned = "Skor: Tutturulmuş Sonu&ccedil;"
 search_element_title = "Yioop - PHP Arama Motoru"
diff --git a/src/locale/vi_VN/configure.ini b/src/locale/vi_VN/configure.ini
index c72ee877c..2310957d3 100755
--- a/src/locale/vi_VN/configure.ini
+++ b/src/locale/vi_VN/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "Hành động"
 searchsources_element_sourcetype = "Loại:"
 searchsources_element_locale_tag = "Ngôn ngữ:"
 searchsources_element_category = "Mục:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "Hết hạn:"
 searchsources_element_url = "DẪN:"
 searchsources_element_dirname = "Thư Mục Tên"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "Tìm Bảng Xếp Hạng Các Yếu Tố"
 pageoptions_element_host_keyword_bonus = "Máy Chủ Từ Khóa Thưởng:"
 pageoptions_element_title_bonus = "Tiêu Đề Tiền Thưởng Từ Khóa"
 pageoptions_element_path_keyword_bonus = "Con Đường Từ Khóa Tiền Thưởng"
-pageoptions_element_proximity_bonus = "Gần Thưởng:"
 pageoptions_element_cld_url_bonus = "Công Ty Miền Url Thưởng:"
 pageoptions_element_host_url_bonus = "Chủ Url Thưởng:"
 pageoptions_element_user_rank_bonus = "Sử Dụng Cấp Bậc Tiền Thưởng:"
@@ -1715,7 +1714,6 @@ search_element_similar = "Tương tự"
 search_element_inlink = "Inlinks"
 search_element_rank = "Cấp bậc:%s"
 search_element_relevancy = "T:%s"
-search_element_proximity = "Prox:%s"
 search_element_score = "Điểm:%s"
 search_element_score_pinned = "Điểm: Gắn Kết Quả"
 search_element_title = "Yioop - PHP c&ocirc;ng Cụ T&igrave;m kiếm"
diff --git a/src/locale/zh_CN/configure.ini b/src/locale/zh_CN/configure.ini
index 0cdfac1c1..ba6c1fed1 100755
--- a/src/locale/zh_CN/configure.ini
+++ b/src/locale/zh_CN/configure.ini
@@ -1366,7 +1366,7 @@ searchsources_element_action = "动作"
 searchsources_element_sourcetype = "类型:"
 searchsources_element_locale_tag = "语言:"
 searchsources_element_category = "类别:"
-searchsources_element_path_terms = ""
+searchsources_element_path_regex = ""
 searchsources_element_expires = "期满:"
 searchsources_element_url = "URL:"
 searchsources_element_dirname = "文件夹的名字"
@@ -1456,7 +1456,6 @@ pageoptions_element_ranking_factors = "搜索排的因素"
 pageoptions_element_host_keyword_bonus = "主机关键字奖励:"
 pageoptions_element_title_bonus = "标题关键字奖金"
 pageoptions_element_path_keyword_bonus = "路径关键字奖励"
-pageoptions_element_proximity_bonus = "接近奖励:"
 pageoptions_element_cld_url_bonus = "公司域名Url奖金:"
 pageoptions_element_host_url_bonus = "主机Url奖金:"
 pageoptions_element_user_rank_bonus = "用户等级奖金:"
@@ -1715,7 +1714,6 @@ search_element_similar = "类似的"
 search_element_inlink = "Inlinks"
 search_element_rank = "等级:%s"
 search_element_relevancy = "Rel:%s"
-search_element_proximity = "普罗:%s"
 search_element_score = "分数:%s"
 search_element_score_pinned = "分:固定的结果"
 search_element_title = "Yioop-PHP搜索引擎"
diff --git a/src/views/elements/SearchsourcesElement.php b/src/views/elements/SearchsourcesElement.php
index 46a58f8c4..2ae74916b 100644
--- a/src/views/elements/SearchsourcesElement.php
+++ b/src/views/elements/SearchsourcesElement.php
@@ -246,7 +246,7 @@ class SearchsourcesElement extends Element
                     <b><?=($is_feed || $is_trending_value) ?
                         tl('searchsources_element_category') :
                             (($source['TYPE'] == "description_source") ?
-                            tl('searchsources_element_path_terms') :
+                            tl('searchsources_element_path_regex') :
                                 tl('searchsources_element_expires')); ?></b>
                     <?php
                     if (in_array($source['TYPE'], ["feed_podcast",
@@ -668,9 +668,9 @@ class SearchsourcesElement extends Element
             $this->view->helper("options")->render("source-expires",
             "expires", $data['PODCAST_EXPIRES'],
              $data['CURRENT_SOURCE']['category']); ?></td></tr>
-        <tr><td><label id="path-terms-text" for="path-terms"><b><?php
-            e(tl('searchsources_element_path_terms'));
-            ?></b></label></td><td><input id="path-terms" name="path_terms"
+        <tr><td><label id="path-terms-text" for="path-regex"><b><?php
+            e(tl('searchsources_element_path_regex'));
+            ?></b></label></td><td><input id="path-regex" name="path_regex"
                 value="<?= ($data["SOURCE_FORM_TYPE"] == "editsource") ?
                     $data['CURRENT_SOURCE']['category'] : "" ?>"
                 maxlength="<?= $sub_aux_len ?>"
ViewGit