Le recensioni degli utenti sul menù di Hostaria Farnese
![]() |
![]() |
![]() |
![]() |
TR |
![]() |
![]() |
![]() |
![]() |
Hostaria Farnese (Roma) |
80 | 4.6 | 5 | 4.5 | ||||
PANE PIU' (Roma) | 80 | 3.8 | 3.8 | 3 | ![]() |
< 1 km | ||
FICINI (Roma) | 63 | 3.6 | 3 | 3 | < 1 km | |||
La Prosciutteria - Roma, Trastevere (Roma) | 79 | 4.6 | 4 | 4.5 | ![]() |
< 1 km | ![]() |
|
ESATTO ARS (Roma) | 82 | 4.6 | 4.5 | ![]() |
< 1 km | ![]() |
||
Percorsi (Roma) | 71 | 3.3 | 5 | 3.5 | ![]() |
< 1 km | ![]() |
|
Antico Forno Roscioli (Roma) | 84 | 4.5 | 4 | 4.5 | < 1 km |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Assistente virtuale
function piatti_utenti_community(id_locale,nome_piatto,id_community,id_canale) { return new Promise((resolve, reject) => { var fd = new FormData(); fd.append('id_locale', id_locale); fd.append('nome_piatto', nome_piatto); // Invia i dati con l'oggetto XHR var xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.onreadystatechange=function() { if (xhr.readyState==4 && xhr.status==200) { var results = JSON.parse(xhr.responseText); if (results.success==0) { resolve(0); } else { //top.location.href="https://www.sluurpy.com/communities/"+TWIG_id_community+"/"+TWIG_id_channel; resolve(1); } } } xhr.open('POST', '/api/piatti_utente_ristorante', false); xhr.send(fd); }); } // lo ha messo simone $(document).on("click", ".tag_aggiungi_da_menu_class", async function(e) { if (!$(this).hasClass("clicked")) { $(this).addClass("clicked"); // Mostra l'overlay mentre l'utente aspetta //$('#loading-overlay').show(); // injectScript("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"); // setTimeout(function() { // $("#adsense-inter-19").html(''); // (adsbygoogle = window.adsbygoogle || []).push({}); // },2000); // setTimeout(function(){ // var timeleft = 7; // var downloadTimer = setInterval(function(){ // if(timeleft <= 0){ // clearInterval(downloadTimer); // } // document.getElementById("progressBar9").value = 7 - timeleft; // timeleft -= 1; // }, 1000); // },1000); // setTimeout(function(){ // $(".base_inter_09").show(); // // },1000); var messaggio = "‼️ Aggiunto ai preferiti #Hostaria Farnese a Roma"; const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community, TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community, TWIG_id_channel, messaggio); if (hasSentMessage) { // Nascondi l'overlay dopo l'invio del messaggio con successo $('#loading-overlay').hide(); // Reindirizza dopo l'invio del messaggio top.location.href = "/roma/ristorante/140925/hostaria-farnese/sfoglia/2888745/menu-fuudies"; } else { // Nascondi l'overlay se fallisce l'invio $('#loading-overlay').hide(); console.log("Failed Send Message"); } } else { // Nascondi l'overlay se fallisce l'iscrizione al canale $('#loading-overlay').hide(); console.log("Failed Join Channel"); } } else { // Nascondi l'overlay se fallisce l'iscrizione alla community $('#loading-overlay').hide(); console.log("Failed Join Community"); } } else { // Nascondi l'overlay se fallisce l'autenticazione $('#loading-overlay').hide(); console.log("Failed Authentication"); } } }); // lo ha messo simone /* $(document).ready(function() { // Evento keydown per inviare quando si preme Enter $('#domanda-dish').on('keydown', async function(event) { if (event.key === "Enter" && !event.shiftKey) { event.preventDefault(); // Evita che l'Enter inserisca una nuova riga // Verifica se l'elemento ha già gestito un click if (!$(this).hasClass("clicked")) { $(this).addClass("clicked"); injectScript("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"); setTimeout(function() { $("#adsense-inter-19").html(''); (adsbygoogle = window.adsbygoogle || []).push({}); },2000); setTimeout(function(){ var timeleft = 7; var downloadTimer = setInterval(function(){ if(timeleft <= 0){ clearInterval(downloadTimer); } document.getElementById("progressBar9").value = 7 - timeleft; timeleft -= 1; }, 1000); },1000); setTimeout(function(){ $(".base_inter_09").show(); },1000); // Ottieni il testo inserito nell'area di testo var domanda = $('#domanda-dish').val().trim(); // Controlla che la textarea non sia vuota if (domanda === "") { alert("Scrivi qualcosa prima di inviare!"); return; // Non procedere se il campo è vuoto } // Crea il messaggio da inviare con il testo scritto dall'utente var messaggio = "‼️ " + domanda+" ❓"; // Esegui la logica di autenticazione e invio del messaggio const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community, TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community, TWIG_id_channel, messaggio); if (hasSentMessage) { // Reindirizza dopo l'invio del messaggio top.location.href = "https://sluurpy.com/communities/invites/" + TWIG_codice_community; } else { console.log("Failed Send Message"); } } else { console.log("Failed Join Channel"); } } else { console.log("Failed Join Community"); } } else { console.log("Failed Authentication"); } } } }); }); */ // Quando la pagina è pronta $(document).ready(function() { $('#domanda-dish').on('keydown', function(event) { // Intercetta il tasto Enter if (event.key === "Enter" && !event.shiftKey) { event.preventDefault(); // evita l’a capo // Ottieni il testo const domanda = $(this).val().trim(); if (!domanda) { alert("Scrivi qualcosa prima di inviare!"); return; } // Apri l'overlay della chat document.getElementById('chatOverlay').style.display = 'flex'; // Imposta il valore dell'input nella chat document.getElementById('chatInput').value = domanda; // Invia la domanda come se l'utente l'avesse digitata direttamente nella chat inviaDomanda(); // Se vuoi, puoi svuotare la textarea o lasciarla così $(this).val(''); } }); }); // lo ha messo simone nuovo dish $(document).ready(function() { // Funzione che gestisce l'invio del messaggio async function handleSubmit() { var $textArea = $('#dish-simone-button'); // Verifica se l'elemento ha già gestito un click if (!$textArea.hasClass("clicked")) { $textArea.addClass("clicked"); injectScript("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"); setTimeout(function() { $("#adsense-inter-19").html(''); (adsbygoogle = window.adsbygoogle || []).push({}); }, 2000); setTimeout(function(){ var timeleft = 7; var downloadTimer = setInterval(function(){ if(timeleft <= 0){ clearInterval(downloadTimer); } document.getElementById("progressBar9").value = 7 - timeleft; timeleft -= 1; }, 1000); }, 1000); setTimeout(function(){ $(".base_inter_09").show(); }, 1000); // Ottieni il testo inserito nell'area di testo var domanda = $textArea.val().trim(); // Controlla che la textarea non sia vuota if (domanda === "") { alert("Scrivi qualcosa prima di inviare!"); $textArea.removeClass("clicked"); return; } // Crea il messaggio da inviare con il testo scritto dall'utente var messaggio = "" + domanda + " ❣️ #Hostaria Farnese a Roma"; // Esegui la logica di autenticazione e invio del messaggio const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community, TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community, TWIG_id_channel, messaggio); if (hasSentMessage) { // Reindirizza dopo l'invio del messaggio top.location.href = "https://sluurpy.com/communities/invites/" + TWIG_codice_community; } else { console.log("Failed Send Message"); } } else { console.log("Failed Join Channel"); } } else { console.log("Failed Join Community"); } } else { console.log("Failed Authentication"); } } } // Evento keydown per inviare quando si preme Enter $('#dish-simone-button').on('keydown', function(event) { if (event.key === "Enter" && !event.shiftKey) { event.preventDefault(); // Evita che l'Enter inserisca una nuova riga handleSubmit(); } }); // Evento click sul pulsante $('#submit-button').on('click', function(event) { event.preventDefault(); handleSubmit(); }); }); $(document).on("click","#dish_button", async function(e){ if (!$(this).hasClass("clicked")){ $(this).addClass("clicked"); $(".favourite-dish").addClass("dish-sent"); var dgrisposta=$(".favourite-dish").val(); if ((dgrisposta!="")&& (!dgrisposta.includes("<"))){ //msg_guest("🍽 Consiglio "+dgrisposta, "piatto",0); piatti_utenti_community("140925",dgrisposta,TWIG_id_community,TWIG_id_channel).then(async (result)=>{ //alert (result); if (result==1) { var messaggio="Consiglio "+dgrisposta+" 🍽 #Hostaria Farnese"; const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community,TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community,TWIG_id_channel,messaggio); if (hasSentMessage) { //element.data('clicked', false); //console.log("done"); top.location.href="https://sluurpy.com/communities/invites/"+TWIG_codice_community; } else { //element.data('clicked', false); //console.log("Failed Send Message"); } } else { //element.data('clicked', false); //console.log("Failed Join Channel"); } } else { //element.data('clicked', false); //console.log("Failed Join Community"); } } else { //element.data('clicked', false); //console.log("Failed Authentication"); } } }).catch(error => { console.error('Errore:', error); }); /* if (d_step==0){ //$(".favourite-dish").addClass("redclass"); //$(".favourite-dish").attr('placeholder','Inserisci un indirizzo email dove ricevere una risposta'); //$(".favourite-dish").val(""); //$("#dish_button").removeClass("clicked"); $("#dish_button").hide(); $(".favourite-dish").hide(); $(".thanks-dish-2").show(); } if (d_step==1){ $(".favourite-dish").hide(); $(".favourite-dish").val(""); $(".thanks-dish").show(); $("#dish_button").hide(); } d_step++; $("#other_dish").click(function(e){ $(".favourite-dish").val(''); $(".favourite-dish").attr('placeholder',"Suggerisci un altro piatto"); $(".thanks-dish").hide(); $("#dish_button").removeClass("clicked"); $(".favourite-dish").removeClass("dish-sent"); });*/ } } }); $(document).ready(function(e){ $(document).on("click","#consiglia-si-page", async function(e){ //$("#box-consiglia-page").hide(); //ga('send', 'event', 'UX','Click consiglia sì dettaglio'); consiglia_ristorante("140925"); //msg_guest("Consiglio Hostaria Farnese"); //top.location.href="https://www.facebook.com/sharer/sharer.php?u=https://www.sluurpy.it/roma/ristorante/140925/hostaria-farnese"; //top.location.href="https://forms.gle/WmUnM4Bk69Kg8foa9"; var element = $(this); messaggio="Consiglio #Hostaria Farnese"; if (element.data('clicked')) { return; } element.data('clicked', true); const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community,TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community,TWIG_id_channel,messaggio); if (hasSentMessage) { element.data('clicked', false); //console.log("done"); top.location.href="https://sluurpy.com/communities/invites/"+TWIG_codice_community; } else { element.data('clicked', false); //console.log("Failed Send Message"); } } else { element.data('clicked', false); //console.log("Failed Join Channel"); } } else { element.data('clicked', false); //console.log("Failed Join Community"); } } else { element.data('clicked', false); //console.log("Failed Authentication"); } }); }); $(document).ready(function(e){ $(document).on("click","#send_comunity", async function(e){ var messaggio=$("#message_text").val(); var element = $(this); if (messaggio.length>0) { messaggio="#Hostaria Farnese - "+$("#message_text").val(); if (element.data('clicked')) { return; } element.data('clicked', true); const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community,TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community,TWIG_id_channel,messaggio); if (hasSentMessage) { element.data('clicked', false); //console.log("done"); top.location.href="https://sluurpy.com/communities/invites/"+TWIG_codice_community; } else { element.data('clicked', false); //console.log("Failed Send Message"); } } else { element.data('clicked', false); //console.log("Failed Join Channel"); } } else { element.data('clicked', false); //console.log("Failed Join Community"); } } else { element.data('clicked', false); //console.log("Failed Authentication"); } } else { $("#message_text").focus(); //console.log("Messaggio vuoto"); } }); });