Για εκδότες
Προσθέστε μια ζωντανή γωνιά AI στον ιστότοπό σας
Ένα δωρεάν μπλοκ που γεμίζει μόνο του: τα νεότερα εργαλεία AI, ένα prompt για δοκιμή, ένα φρέσκο άρθρο και οδηγοί ανά στόχο από το trendhub. Επικολλήστε τον κώδικα μία φορά και ενημερώνεται μόνο του.
Πάρτε τον κώδικαΔείτε το σε φωτεινούς και σκοτεινούς ιστότοπους
Ζωντανό παράδειγμα, όπως θα το βλέπουν οι επισκέπτες σας

Διπλή αφίσα με φωτογραφία και ισομετρική μινιατούρα από χαρτίΑντιγραφή prompt →Από το blog
Από τον Bad Bunny μέχρι τον Jay-Z, το Super Bowl παραμένει στο επίκεντρο της επικαιρότητας6 λεπ. ανάγνωσης →Νέα εργαλεία, prompts και άρθρα εναλλάσσονται κάθε 10 λεπτά. Δεν χρειάζεται να το πειράξετε ποτέ ξανά.
Τρεις κάρτες σε φαρδιές σελίδες, συμπαγείς σειρές σε πλαϊνές στήλες και στα κινητά. Το φωτεινό και το σκοτεινό θέμα ακολουθούν τον επισκέπτη σας.
Απλή HTML με ένα μικρό φύλλο στυλ. Χωρίς cookies, χωρίς ιχνηλάτες, χωρίς σενάρια τρίτων.
Πάρτε τον κώδικα
Επιλέξτε τη γλώσσα του μπλοκ και επικολλήστε τον κώδικα εκεί όπου θέλετε να εμφανίζεται. Οι ιστότοποι PHP λαμβάνουν πραγματική HTML μέσα στη σελίδα, το καλύτερο για αναγνώστες και μηχανές αναζήτησης.
Englishhttps://trendhub.net/embed/pulse
<?php
// trendhub Pulse: refreshes every 10 minutes; if trendhub cannot be reached, the last copy is shown.
$cache = __DIR__ . '/cache/trendhub-pulse-en.html';
if (!is_file($cache) || filemtime($cache) < time() - 600) {
$html = @file_get_contents('https://trendhub.net/embed/pulse?src=' . rawurlencode($_SERVER['HTTP_HOST'] ?? ''), false, stream_context_create(['http' => ['timeout' => 3]]));
if (is_string($html) && ($end = strrpos($html, '</section>')) !== false) $html = substr($html, 0, $end + 10);
// Only a genuine Pulse block is kept: no scripts, no inline event handlers.
if (is_string($html) && strpos($html, '<section class="thp"') === 0 && !preg_match('/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i', $html)) {
@mkdir(dirname($cache), 0755, true);
file_put_contents($cache, $html, LOCK_EX);
} elseif (is_file($cache)) {
touch($cache); // try again in 10 minutes, keep showing the last good copy
}
}
if (is_file($cache)) readfile($cache);
?>
<div id="trendhub-pulse"></div>
<script>fetch("https://trendhub.net/embed/pulse?src="+location.hostname).then(function(r){return r.text()}).then(function(h){var e=h.lastIndexOf("</section>");if(e>0)h=h.slice(0,e+10);if(h.indexOf('<section class="thp"')===0&&!/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i.test(h))document.getElementById("trendhub-pulse").innerHTML=h})</script>
Türkçehttps://trendhub.net/tr/embed/pulse
<?php
// trendhub Pulse: refreshes every 10 minutes; if trendhub cannot be reached, the last copy is shown.
$cache = __DIR__ . '/cache/trendhub-pulse-tr.html';
if (!is_file($cache) || filemtime($cache) < time() - 600) {
$html = @file_get_contents('https://trendhub.net/tr/embed/pulse?src=' . rawurlencode($_SERVER['HTTP_HOST'] ?? ''), false, stream_context_create(['http' => ['timeout' => 3]]));
if (is_string($html) && ($end = strrpos($html, '</section>')) !== false) $html = substr($html, 0, $end + 10);
// Only a genuine Pulse block is kept: no scripts, no inline event handlers.
if (is_string($html) && strpos($html, '<section class="thp"') === 0 && !preg_match('/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i', $html)) {
@mkdir(dirname($cache), 0755, true);
file_put_contents($cache, $html, LOCK_EX);
} elseif (is_file($cache)) {
touch($cache); // try again in 10 minutes, keep showing the last good copy
}
}
if (is_file($cache)) readfile($cache);
?>
<div id="trendhub-pulse"></div>
<script>fetch("https://trendhub.net/tr/embed/pulse?src="+location.hostname).then(function(r){return r.text()}).then(function(h){var e=h.lastIndexOf("</section>");if(e>0)h=h.slice(0,e+10);if(h.indexOf('<section class="thp"')===0&&!/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i.test(h))document.getElementById("trendhub-pulse").innerHTML=h})</script>
Deutschhttps://trendhub.net/de/embed/pulse
<?php
// trendhub Pulse: refreshes every 10 minutes; if trendhub cannot be reached, the last copy is shown.
$cache = __DIR__ . '/cache/trendhub-pulse-de.html';
if (!is_file($cache) || filemtime($cache) < time() - 600) {
$html = @file_get_contents('https://trendhub.net/de/embed/pulse?src=' . rawurlencode($_SERVER['HTTP_HOST'] ?? ''), false, stream_context_create(['http' => ['timeout' => 3]]));
if (is_string($html) && ($end = strrpos($html, '</section>')) !== false) $html = substr($html, 0, $end + 10);
// Only a genuine Pulse block is kept: no scripts, no inline event handlers.
if (is_string($html) && strpos($html, '<section class="thp"') === 0 && !preg_match('/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i', $html)) {
@mkdir(dirname($cache), 0755, true);
file_put_contents($cache, $html, LOCK_EX);
} elseif (is_file($cache)) {
touch($cache); // try again in 10 minutes, keep showing the last good copy
}
}
if (is_file($cache)) readfile($cache);
?>
<div id="trendhub-pulse"></div>
<script>fetch("https://trendhub.net/de/embed/pulse?src="+location.hostname).then(function(r){return r.text()}).then(function(h){var e=h.lastIndexOf("</section>");if(e>0)h=h.slice(0,e+10);if(h.indexOf('<section class="thp"')===0&&!/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i.test(h))document.getElementById("trendhub-pulse").innerHTML=h})</script>
Españolhttps://trendhub.net/es/embed/pulse
<?php
// trendhub Pulse: refreshes every 10 minutes; if trendhub cannot be reached, the last copy is shown.
$cache = __DIR__ . '/cache/trendhub-pulse-es.html';
if (!is_file($cache) || filemtime($cache) < time() - 600) {
$html = @file_get_contents('https://trendhub.net/es/embed/pulse?src=' . rawurlencode($_SERVER['HTTP_HOST'] ?? ''), false, stream_context_create(['http' => ['timeout' => 3]]));
if (is_string($html) && ($end = strrpos($html, '</section>')) !== false) $html = substr($html, 0, $end + 10);
// Only a genuine Pulse block is kept: no scripts, no inline event handlers.
if (is_string($html) && strpos($html, '<section class="thp"') === 0 && !preg_match('/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i', $html)) {
@mkdir(dirname($cache), 0755, true);
file_put_contents($cache, $html, LOCK_EX);
} elseif (is_file($cache)) {
touch($cache); // try again in 10 minutes, keep showing the last good copy
}
}
if (is_file($cache)) readfile($cache);
?>
<div id="trendhub-pulse"></div>
<script>fetch("https://trendhub.net/es/embed/pulse?src="+location.hostname).then(function(r){return r.text()}).then(function(h){var e=h.lastIndexOf("</section>");if(e>0)h=h.slice(0,e+10);if(h.indexOf('<section class="thp"')===0&&!/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i.test(h))document.getElementById("trendhub-pulse").innerHTML=h})</script>
Françaishttps://trendhub.net/fr/embed/pulse
<?php
// trendhub Pulse: refreshes every 10 minutes; if trendhub cannot be reached, the last copy is shown.
$cache = __DIR__ . '/cache/trendhub-pulse-fr.html';
if (!is_file($cache) || filemtime($cache) < time() - 600) {
$html = @file_get_contents('https://trendhub.net/fr/embed/pulse?src=' . rawurlencode($_SERVER['HTTP_HOST'] ?? ''), false, stream_context_create(['http' => ['timeout' => 3]]));
if (is_string($html) && ($end = strrpos($html, '</section>')) !== false) $html = substr($html, 0, $end + 10);
// Only a genuine Pulse block is kept: no scripts, no inline event handlers.
if (is_string($html) && strpos($html, '<section class="thp"') === 0 && !preg_match('/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i', $html)) {
@mkdir(dirname($cache), 0755, true);
file_put_contents($cache, $html, LOCK_EX);
} elseif (is_file($cache)) {
touch($cache); // try again in 10 minutes, keep showing the last good copy
}
}
if (is_file($cache)) readfile($cache);
?>
<div id="trendhub-pulse"></div>
<script>fetch("https://trendhub.net/fr/embed/pulse?src="+location.hostname).then(function(r){return r.text()}).then(function(h){var e=h.lastIndexOf("</section>");if(e>0)h=h.slice(0,e+10);if(h.indexOf('<section class="thp"')===0&&!/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i.test(h))document.getElementById("trendhub-pulse").innerHTML=h})</script>
Italianohttps://trendhub.net/it/embed/pulse
<?php
// trendhub Pulse: refreshes every 10 minutes; if trendhub cannot be reached, the last copy is shown.
$cache = __DIR__ . '/cache/trendhub-pulse-it.html';
if (!is_file($cache) || filemtime($cache) < time() - 600) {
$html = @file_get_contents('https://trendhub.net/it/embed/pulse?src=' . rawurlencode($_SERVER['HTTP_HOST'] ?? ''), false, stream_context_create(['http' => ['timeout' => 3]]));
if (is_string($html) && ($end = strrpos($html, '</section>')) !== false) $html = substr($html, 0, $end + 10);
// Only a genuine Pulse block is kept: no scripts, no inline event handlers.
if (is_string($html) && strpos($html, '<section class="thp"') === 0 && !preg_match('/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i', $html)) {
@mkdir(dirname($cache), 0755, true);
file_put_contents($cache, $html, LOCK_EX);
} elseif (is_file($cache)) {
touch($cache); // try again in 10 minutes, keep showing the last good copy
}
}
if (is_file($cache)) readfile($cache);
?>
<div id="trendhub-pulse"></div>
<script>fetch("https://trendhub.net/it/embed/pulse?src="+location.hostname).then(function(r){return r.text()}).then(function(h){var e=h.lastIndexOf("</section>");if(e>0)h=h.slice(0,e+10);if(h.indexOf('<section class="thp"')===0&&!/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i.test(h))document.getElementById("trendhub-pulse").innerHTML=h})</script>
Nederlandshttps://trendhub.net/nl/embed/pulse
<?php
// trendhub Pulse: refreshes every 10 minutes; if trendhub cannot be reached, the last copy is shown.
$cache = __DIR__ . '/cache/trendhub-pulse-nl.html';
if (!is_file($cache) || filemtime($cache) < time() - 600) {
$html = @file_get_contents('https://trendhub.net/nl/embed/pulse?src=' . rawurlencode($_SERVER['HTTP_HOST'] ?? ''), false, stream_context_create(['http' => ['timeout' => 3]]));
if (is_string($html) && ($end = strrpos($html, '</section>')) !== false) $html = substr($html, 0, $end + 10);
// Only a genuine Pulse block is kept: no scripts, no inline event handlers.
if (is_string($html) && strpos($html, '<section class="thp"') === 0 && !preg_match('/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i', $html)) {
@mkdir(dirname($cache), 0755, true);
file_put_contents($cache, $html, LOCK_EX);
} elseif (is_file($cache)) {
touch($cache); // try again in 10 minutes, keep showing the last good copy
}
}
if (is_file($cache)) readfile($cache);
?>
<div id="trendhub-pulse"></div>
<script>fetch("https://trendhub.net/nl/embed/pulse?src="+location.hostname).then(function(r){return r.text()}).then(function(h){var e=h.lastIndexOf("</section>");if(e>0)h=h.slice(0,e+10);if(h.indexOf('<section class="thp"')===0&&!/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i.test(h))document.getElementById("trendhub-pulse").innerHTML=h})</script>
Ελληνικάhttps://trendhub.net/el/embed/pulse
<?php
// trendhub Pulse: refreshes every 10 minutes; if trendhub cannot be reached, the last copy is shown.
$cache = __DIR__ . '/cache/trendhub-pulse-el.html';
if (!is_file($cache) || filemtime($cache) < time() - 600) {
$html = @file_get_contents('https://trendhub.net/el/embed/pulse?src=' . rawurlencode($_SERVER['HTTP_HOST'] ?? ''), false, stream_context_create(['http' => ['timeout' => 3]]));
if (is_string($html) && ($end = strrpos($html, '</section>')) !== false) $html = substr($html, 0, $end + 10);
// Only a genuine Pulse block is kept: no scripts, no inline event handlers.
if (is_string($html) && strpos($html, '<section class="thp"') === 0 && !preg_match('/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i', $html)) {
@mkdir(dirname($cache), 0755, true);
file_put_contents($cache, $html, LOCK_EX);
} elseif (is_file($cache)) {
touch($cache); // try again in 10 minutes, keep showing the last good copy
}
}
if (is_file($cache)) readfile($cache);
?>
<div id="trendhub-pulse"></div>
<script>fetch("https://trendhub.net/el/embed/pulse?src="+location.hostname).then(function(r){return r.text()}).then(function(h){var e=h.lastIndexOf("</section>");if(e>0)h=h.slice(0,e+10);if(h.indexOf('<section class="thp"')===0&&!/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i.test(h))document.getElementById("trendhub-pulse").innerHTML=h})</script>
Русскийhttps://trendhub.net/ru/embed/pulse
<?php
// trendhub Pulse: refreshes every 10 minutes; if trendhub cannot be reached, the last copy is shown.
$cache = __DIR__ . '/cache/trendhub-pulse-ru.html';
if (!is_file($cache) || filemtime($cache) < time() - 600) {
$html = @file_get_contents('https://trendhub.net/ru/embed/pulse?src=' . rawurlencode($_SERVER['HTTP_HOST'] ?? ''), false, stream_context_create(['http' => ['timeout' => 3]]));
if (is_string($html) && ($end = strrpos($html, '</section>')) !== false) $html = substr($html, 0, $end + 10);
// Only a genuine Pulse block is kept: no scripts, no inline event handlers.
if (is_string($html) && strpos($html, '<section class="thp"') === 0 && !preg_match('/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i', $html)) {
@mkdir(dirname($cache), 0755, true);
file_put_contents($cache, $html, LOCK_EX);
} elseif (is_file($cache)) {
touch($cache); // try again in 10 minutes, keep showing the last good copy
}
}
if (is_file($cache)) readfile($cache);
?>
<div id="trendhub-pulse"></div>
<script>fetch("https://trendhub.net/ru/embed/pulse?src="+location.hostname).then(function(r){return r.text()}).then(function(h){var e=h.lastIndexOf("</section>");if(e>0)h=h.slice(0,e+10);if(h.indexOf('<section class="thp"')===0&&!/<\s*(script|iframe|object|embed|form)|\son[a-z]+\s*=|javascript:/i.test(h))document.getElementById("trendhub-pulse").innerHTML=h})</script>
Αφήστε το μπλοκ όπως είναι, με το όνομα και τους συνδέσμους του trendhub. Έχετε ερωτήσεις ή θέλετε μια προσαρμοσμένη έκδοση; Επικοινωνήστε μαζί μας.
Ερωτήσεις
Είναι δωρεάν;
Ναι. Το μπλοκ είναι δωρεάν για κάθε ιστότοπο. Σας ζητάμε μόνο να το αφήσετε όπως είναι, με το όνομα και τους συνδέσμους του trendhub.
Θα επιβραδύνει τον ιστότοπό μου;
Όχι. Ο κώδικας PHP κρατά ένα αντίγραφο στον διακομιστή σας και το ανανεώνει κάθε 10 λεπτά, οπότε οι επισκέπτες δεν περιμένουν ποτέ το trendhub. Το μπλοκ δεν έχει σενάρια παρακολούθησης.
Χρησιμοποιεί cookies;
Όχι. Το μπλοκ δεν ορίζει cookies και δεν φορτώνει σενάρια τρίτων. Είναι απλή HTML με ένα μικρό φύλλο στυλ.
Μπορώ να επιλέξω γλώσσα και θέμα;
Ναι. Διαλέξτε μία από τις 9 γλώσσες παρακάτω. Το μπλοκ ακολουθεί τη φωτεινή ή σκοτεινή λειτουργία του επισκέπτη σας, ή μπορείτε να ορίσετε μία προσθέτοντας ?theme=light ή ?theme=dark στη διεύθυνση.
Θα ταιριάξει στη διάταξή μου;
Ναι. Το μπλοκ μετρά τον χώρο που του δίνεται: τρεις κάρτες δίπλα-δίπλα σε φαρδιές περιοχές, συμπαγείς σειρές σε στενές στήλες και στα κινητά.