{"id":1725,"date":"2024-09-30T02:19:40","date_gmt":"2024-09-30T02:19:40","guid":{"rendered":"https:\/\/phamho.com\/book\/?p=1725"},"modified":"2024-09-30T02:20:37","modified_gmt":"2024-09-30T02:20:37","slug":"spanish-like-most","status":"publish","type":"post","link":"https:\/\/phamho.com\/book\/spanish-like-most\/","title":{"rendered":"Spanish &#8211; Like most"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>Spanish &#8211; Like most<\/title>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"> <!-- Viewport meta tag for responsiveness -->\n    <style>\n        \/* Base Styles *\/\n        body {\n            font-family: Arial, sans-serif;\n            background-color: #ffffff;\n            margin: 0;\n            padding: 0;\n            display: flex;\n            justify-content: center;\n            align-items: center;\n            min-height: 100vh; \/* Changed from fixed height to min-height for better responsiveness *\/\n            flex-direction: column;\n        }\n        .menu {\n            width: 100%;\n            background-color: #d97b0f;\n            padding: 10px;\n            text-align: center;\n            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);\n            margin-bottom: 20px;\n            overflow-x: auto; \/* Allows horizontal scrolling if menu items exceed screen width *\/\n            white-space: nowrap;\n        }\n        .menu a {\n            color: #fff;\n            text-decoration: none;\n            margin: 0 10px; \/* Reduced margin for better spacing on smaller screens *\/\n            font-weight: bold;\n            font-size: 16px; \/* Increased font size for readability on mobile *\/\n            display: inline-block;\n            padding: 8px 12px; \/* Added padding for larger touch targets *\/\n        }\n        .menu a:hover {\n            text-decoration: underline;\n        }\n        .container {\n            display: flex;\n            flex-direction: column; \/* Stack elements vertically on mobile *\/\n            align-items: center;\n            width: 90%; \/* Use percentage for better responsiveness *\/\n            max-width: 800px; \/* Limit maximum width for larger screens *\/\n        }\n        .image-container {\n            text-align: center;\n            margin-bottom: 20px;\n        }\n        .image-container img {\n            width: 100%; \/* Ensure image scales with container *\/\n            height: auto;\n            border-radius: 20px;\n            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n            object-fit: cover; \/* Ensures the image covers the container without distortion *\/\n        }\n        .sentence-text {\n            margin: 10px 0;\n            font-weight: bold;\n            color: #333;\n            font-size: 18px; \/* Increased font size for better visibility *\/\n            text-align: center; \/* Center align text on mobile *\/\n        }\n        .word-box {\n            margin-top: 10px;\n            padding: 10px;\n            background-color: #fff;\n            border: 2px solid #026c96;\n            border-radius: 10px;\n            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n            font-size: 16px; \/* Adjusted font size for readability *\/\n            font-weight: bold;\n            color: #026c96;\n            text-align: left;\n            max-height: 300px;\n            overflow-y: auto;\n            width: 100%; \/* Ensure it takes full width of the container *\/\n        }\n        .chat-container {\n            width: 100%; \/* Full width on mobile *\/\n            background-color: #026c96;\n            border-radius: 20px;\n            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n            overflow: hidden;\n        }\n        .chat-header {\n            background-color: #d97b0f;\n            color: #fff;\n            padding: 15px; \/* Increased padding for touch areas *\/\n            text-align: center;\n            border-bottom: 1px solid #69010a;\n        }\n        .chat-header h2 {\n            margin: 0;\n            font-size: 20px; \/* Increased font size for better readability *\/\n        }\n        .chat-messages {\n            padding: 15px;\n            overflow-y: auto;\n            max-height: 300px;\n            background-color: #fff;\n        }\n        .message {\n            margin-bottom: 10px;\n            padding: 10px;\n            border-radius: 5px;\n            font-size: 16px; \/* Adjusted font size for readability *\/\n            line-height: 1.5;\n        }\n        .user-message {\n            background-color: #4caf50;\n            color: #fff;\n            text-align: right;\n        }\n        .bot-message {\n            background-color: #2196f3;\n            color: #fff;\n            text-align: left;\n        }\n        .chat-input {\n            display: flex;\n            flex-direction: column; \/* Stack buttons vertically on smaller screens *\/\n            align-items: stretch;\n            background-color: #a3e106;\n            padding: 10px;\n        }\n        .chat-input button {\n            background-color: #17c686;\n            color: #fff;\n            font-weight: bold;\n            border: none;\n            border-radius: 5px;\n            padding: 12px 20px;\n            cursor: pointer;\n            transition: background-color 0.3s;\n            margin: 5px 0; \/* Vertical spacing between buttons *\/\n            font-size: 16px; \/* Increased font size for touch readability *\/\n        }\n        .chat-input .stop-button {\n            background-color: #c86722;\n        }\n        .chat-input button:hover {\n            opacity: 0.9; \/* Subtle feedback on hover *\/\n        }\n\n        \/* Media Queries for Larger Screens (e.g., Tablets) *\/\n        @media (min-width: 600px) {\n            .container {\n                flex-direction: row; \/* Side-by-side layout *\/\n                justify-content: center;\n                align-items: flex-start;\n            }\n            .image-container {\n                width: 50%;\n                margin-right: 20px;\n            }\n            .chat-container {\n                width: 50%;\n            }\n            .chat-input {\n                flex-direction: row; \/* Horizontal layout for buttons *\/\n                justify-content: space-between;\n            }\n            .chat-input button {\n                margin: 0 5px; \/* Horizontal spacing *\/\n                flex: 1; \/* Equal width buttons *\/\n            }\n        }\n    <\/style>\n<\/head>\n<body>\n    <div class=\"menu\">\n         <a href=\"https:\/\/phamho.com\/book\/2024\/09\/30\/spanish-do-you-like\/\">Do you like<\/a>\n        <a href=\"https:\/\/phamho.com\/book\/2024\/09\/30\/spanish-favorite\/\">Favorite<\/a>\n        <a href=\"https:\/\/phamho.com\/book\/2024\/09\/30\/spanish-what-kind-of\/\">What kind of<\/a>\n        <a href=\"https:\/\/phamho.com\/book\/2024\/09\/30\/spanish-like-to-do\/\">Like to do<\/a>  \n        <a href=\"https:\/\/phamho.com\/book\/2024\/09\/30\/spanish-like-most\/\">Like most<\/a> \n        <a href=\"https:\/\/phamho.com\/book\/2024\/09\/18\/spanish-interaction-family\/\">Family<\/a>     \n    <\/div>\n\n    <div class=\"container\">\n        <div class=\"image-container\">\n            <img decoding=\"async\" src=\"https:\/\/phamho.com\/book\/wp-content\/uploads\/2024\/08\/8d7efe04-a355-4214-a6cb-48d660b80124.webp\" alt=\"Lesson Robot\">\n            <div class=\"sentence-text\">See the questions and answers in this box<\/div>\n            <div id=\"word-box\" class=\"word-box\">\n                <!-- Learned questions will appear here -->\n            <\/div>\n        <\/div>\n        <div class=\"chat-container\">\n            <div class=\"chat-header\">  \n                <h2>Spanish &#8211; Like most<\/h2>\n            <\/div>\n            <div class=\"chat-messages\" id=\"chat-messages\">\n                <!-- Messages will appear here -->\n            <\/div>\n            <div class=\"chat-input\">\n                <button id=\"start-btn\" class=\"send-button\">Start Lesson<\/button>\n                <button id=\"stop-btn\" class=\"stop-button\">Stop<\/button>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <script>\n        \/\/ Feature detection for Speech Recognition\n        const SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;\n        const isSpeechRecognitionSupported = SpeechRecognition !== undefined;\n        let recognition;\n        if (isSpeechRecognitionSupported) {\n            recognition = new SpeechRecognition();\n            recognition.lang = 'es-ES';\n            recognition.interimResults = false;\n            recognition.maxAlternatives = 1;\n        } else {\n            alert('Your browser does not support speech recognition. Please use a compatible browser like Firefox for Android.');\n        }\n\n        \/\/ Check for Speech Synthesis support\n        const speechSynthesisSupported = 'speechSynthesis' in window;\n\n        \/\/ Updated Questions data focusing on likes and dislikes\n        const questions = [\n        {\n            question: \"\u00bfQu\u00e9 fruta te gusta m\u00e1s?\",\n            translation: \"What fruit do you like the most?\",\n            keywords: [\"me gusta\", \"manzana\"],\n            sampleAnswer: \"Me gusta m\u00e1s la manzana.\",\n            sampleTranslation: \"I like apples the most.\"\n        },\n        {\n            question: \"\u00bfQu\u00e9 ciudad te gusta m\u00e1s?\",\n            translation: \"What city do you like the most?\",\n            keywords: [\"me gusta\", \"Barcelona\"],\n            sampleAnswer: \"Me gusta m\u00e1s Barcelona.\",\n            sampleTranslation: \"I like Barcelona the most.\"\n        },\n        {\n            question: \"\u00bfQu\u00e9 g\u00e9nero de m\u00fasica te gusta m\u00e1s?\",\n            translation: \"What music genre do you like the most?\",\n            keywords: [\"me gusta\", \"rock\"],\n            sampleAnswer: \"Me gusta m\u00e1s el rock.\",\n            sampleTranslation: \"I like rock the most.\"\n        },\n        {\n            question: \"\u00bfQu\u00e9 animal te gusta m\u00e1s?\",\n            translation: \"What animal do you like the most?\",\n            keywords: [\"me gusta\", \"gato\"],\n            sampleAnswer: \"Me gusta m\u00e1s el gato.\",\n            sampleTranslation: \"I like cats the most.\"\n        },\n        {\n            question: \"\u00bfQu\u00e9 comida te gusta m\u00e1s?\",\n            translation: \"What food do you like the most?\",\n            keywords: [\"me gusta\", \"sushi\"],\n            sampleAnswer: \"Me gusta m\u00e1s el sushi.\",\n            sampleTranslation: \"I like sushi the most.\"\n        },\n        {\n            question: \"\u00bfQu\u00e9 pa\u00eds te gusta m\u00e1s para visitar?\",\n            translation: \"Which country do you like the most to visit?\",\n            keywords: [\"me gusta\", \"Italia\"],\n            sampleAnswer: \"Me gusta m\u00e1s Italia.\",\n            sampleTranslation: \"I like Italy the most.\"\n        },\n        {\n            question: \"\u00bfQu\u00e9 bebida te gusta m\u00e1s?\",\n            translation: \"What drink do you like the most?\",\n            keywords: [\"me gusta\", \"t\u00e9\"],\n            sampleAnswer: \"Me gusta m\u00e1s el t\u00e9.\",\n            sampleTranslation: \"I like tea the most.\"\n        },\n        {\n            question: \"\u00bfQu\u00e9 estilo de baile te gusta m\u00e1s?\",\n            translation: \"What style of dance do you like the most?\",\n            keywords: [\"me gusta\", \"salsa\"],\n            sampleAnswer: \"Me gusta m\u00e1s la salsa.\",\n            sampleTranslation: \"I like salsa the most.\"\n        },\n        {\n            question: \"\u00bfQu\u00e9 estaci\u00f3n te gusta m\u00e1s?\",\n            translation: \"Which season do you like the most?\",\n            keywords: [\"me gusta\", \"primavera\"],\n            sampleAnswer: \"Me gusta m\u00e1s la primavera.\",\n            sampleTranslation: \"I like spring the most.\"\n        },\n        {\n            question: \"\u00bfQu\u00e9 videojuego te gusta m\u00e1s?\",\n            translation: \"Which video game do you like the most?\",\n            keywords: [\"me gusta\", \"Mario\"],\n            sampleAnswer: \"Me gusta m\u00e1s Mario.\",\n            sampleTranslation: \"I like Mario the most.\"\n        }\n       \n        ];\n\n        let currentQuestionIndex = 0;\n        let repeatAttempts = 0;\n        const stopKeywords = [\"adi\u00f3s\", \"byebye\", \"chao\", \"bye\", \"bye bye\", \"good bye\", \"stop\", \"goodbye\"];\n        let lessonStarted = false;\n        let voicesLoaded = false;\n\n        window.addEventListener('load', function() {\n            if (speechSynthesisSupported) {\n                if (window.speechSynthesis.getVoices().length === 0) {\n                    \/\/ Voices not loaded yet, wait for the event\n                    window.speechSynthesis.onvoiceschanged = function() {\n                        if (!voicesLoaded) {\n                            voicesLoaded = true;\n                            greetUser();\n                        }\n                    };\n                } else {\n                    \/\/ Voices already loaded\n                    voicesLoaded = true;\n                    greetUser();\n                }\n            } else {\n                alert('Sorry, your browser does not support speech synthesis. Please use a compatible browser for the best experience.');\n                appendMessage('Speech synthesis not supported in your browser.', 'bot');\n            }\n        });\n\n        function greetUser() {\n            const greeting = \"\u00a1Bienvenido! En esta lecci\u00f3n, te har\u00e9 10 preguntas simples sobre gustos en espa\u00f1ol. Repetir\u00e9 cada pregunta dos veces. Haz clic en 'Comenzar Lecci\u00f3n' para empezar.\";\n            appendMessage(greeting, 'bot');\n            sayText(greeting, 'es', true);\n        }\n\n        document.getElementById('start-btn').addEventListener('click', function() {\n            if (!isSpeechRecognitionSupported) {\n                alert('Speech recognition is not supported in your browser. The lesson cannot proceed.');\n                return;\n            }\n            currentQuestionIndex = 0;\n            repeatAttempts = 0;\n            lessonStarted = true;\n            startLesson();\n        });\n\n        document.getElementById('stop-btn').addEventListener('click', function() {\n            endLesson(true); \/\/ User stopped the lesson\n        });\n\n        function startLesson() {\n            if (currentQuestionIndex < questions.length) {\n                const questionObj = questions[currentQuestionIndex];\n                const formattedQuestion = formatSentence(questionObj.question);\n\n                appendMessage(`Pregunta: '${formattedQuestion}'`, 'bot');\n                addQuestionToBox(formattedQuestion, questionObj.translation, questionObj.sampleAnswer, questionObj.sampleTranslation);\n\n                \/\/ Say the question in Spanish twice\n                sayText(formattedQuestion, \"es\", false, function() {\n                    sayText(formattedQuestion, \"es\", false, function() {\n                        \/\/ Prompt user to answer\n                        listenUserResponse(questionObj);\n                    });\n                });\n            } else {\n                endLesson();\n            }\n        }\n\n        function listenUserResponse(questionObj) {\n            recognition.start();\n\n            recognition.onresult = function(event) {\n                let userInput = event.results[0][0].transcript.trim();\n                appendMessage(userInput, 'user');\n\n                if (stopKeywords.includes(userInput.toLowerCase())) {\n                    endLesson(true); \/\/ User requested to stop the lesson\n                    return;\n                }\n\n                processUserResponse(userInput, questionObj);\n            };\n\n            recognition.onspeechend = function() {\n                recognition.stop();\n            };\n\n            recognition.onerror = function(event) {\n                let errorMessage = '';\n                switch(event.error) {\n                    case 'no-speech':\n                        errorMessage = 'No speech detected. Please try again.';\n                        break;\n                    case 'audio-capture':\n                        errorMessage = 'Microphone access denied. Please check your settings.';\n                        break;\n                    case 'not-allowed':\n                        errorMessage = 'Permission to use microphone denied.';\n                        break;\n                    default:\n                        errorMessage = 'An error occurred: ' + event.error;\n                }\n                appendMessage(errorMessage, 'bot');\n                sayText(errorMessage, 'en', true);\n            };\n        }\n\n        function processUserResponse(userInput, questionObj) {\n            \/\/ Normalize user's response\n            let normalizedUserInput = normalizeSentence(userInput);\n            normalizedUserInput = normalizeNumbers(normalizedUserInput);\n\n            \/\/ Normalize keywords\n            let normalizedKeywords = questionObj.keywords.map(keyword => normalizeNumbers(normalizeSentence(keyword)));\n\n            \/\/ Check for keywords in the user's response\n            let keywordsFound = normalizedKeywords.filter(keyword => normalizedUserInput.includes(keyword));\n\n            if (keywordsFound.length === normalizedKeywords.length) {\n                const positiveMessage = \"\u00a1Excelente! Tienes una buena respuesta.\";\n                appendMessage(positiveMessage, 'bot');\n                sayText(positiveMessage, 'es', true);\n                repeatAttempts = 0; \/\/ Reset attempts counter\n                currentQuestionIndex++;\n                setTimeout(startLesson, 2000); \/\/ Move to next question after 2 seconds\n            } else {\n                repeatAttempts++;\n                if (repeatAttempts < 2) {\n                    const missingKeywords = questionObj.keywords.filter((keyword, index) => !normalizedUserInput.includes(normalizedKeywords[index]));\n                    const correctionMessage = `No escuch\u00e9 las palabras: ${missingKeywords.join(', ')}. Por favor, intenta de nuevo.`;\n                    appendMessage(correctionMessage, 'bot');\n                    sayText(correctionMessage, 'es', true);\n                    setTimeout(() => listenUserResponse(questionObj), 2000); \/\/ Give the user another chance\n                } else {\n                    \/\/ Provide sample answer\n                    const sampleAnswerMessage = `Aqu\u00ed hay una respuesta de ejemplo: '${questionObj.sampleAnswer}'.`;\n                    appendMessage(sampleAnswerMessage, 'bot');\n                    sayText(\"Aqu\u00ed hay una respuesta de ejemplo.\", 'es', true, () => {\n                        sayText(questionObj.sampleAnswer, 'es', false, () => {\n                            \/\/ Proceed to the next question\n                            repeatAttempts = 0;\n                            currentQuestionIndex++;\n                            setTimeout(startLesson, 2000);\n                        });\n                    });\n                }\n            }\n        }\n\n        function addQuestionToBox(question, translation, sampleAnswer, sampleTranslation) {\n            const wordBox = document.getElementById('word-box');\n            const questionElement = document.createElement('div');\n            questionElement.innerHTML = `<strong>P:<\/strong> '${question}' - '${translation}'<br><strong>R:<\/strong> '${sampleAnswer}' - '${sampleTranslation}'`;\n            wordBox.appendChild(questionElement);\n        }\n\n        function endLesson(userStopped = false) {\n            lessonStarted = false;\n            let message;\n            if (userStopped) {\n                message = \"\u00a1Gracias por participar! Espero que hayas disfrutado la lecci\u00f3n.\";\n            } else {\n                message = \"\u00a1Bien hecho! Has respondido todas las preguntas sobre gustos. \u00a1Sigue practicando!\";\n            }\n            appendMessage(message, \"bot\");\n            sayText(message, \"es\", true);\n        }\n\n        function sayText(text, lang, preferFemale, callback) {\n            if (!speechSynthesisSupported) return;\n            const utterance = new SpeechSynthesisUtterance(text);\n            utterance.lang = lang;\n\n            \/\/ Adjust rate and pitch for Spanish to improve naturalness\n            if (lang.startsWith('es')) {\n                utterance.rate = 0.9; \/\/ Slightly slower\n                utterance.pitch = 1.1; \/\/ Slightly higher pitch\n            } else {\n                utterance.rate = 1.0;\n                utterance.pitch = 1.0;\n            }\n\n            const voices = window.speechSynthesis.getVoices();\n\n            let selectedVoice = null;\n\n            \/\/ Preferred voices for Spanish and English\n            const preferredVoices = {\n                'es': ['Google espa\u00f1ol', 'Microsoft Helena - Spanish (Spain)', 'Microsoft Sabina - Spanish (Mexico)'],\n                'en': ['Google US English', 'Microsoft Zira Desktop - English (United States)', 'Samantha']\n            };\n\n            const preferredVoiceNames = preferredVoices[lang.substring(0, 2)] || [];\n\n            for (let voiceName of preferredVoiceNames) {\n                selectedVoice = voices.find(voice => voice.name === voiceName);\n                if (selectedVoice) break;\n            }\n\n            if (!selectedVoice) {\n                \/\/ Fallback to any voice that matches the language\n                selectedVoice = voices.find(voice => voice.lang.startsWith(lang));\n            }\n\n            if (selectedVoice) {\n                utterance.voice = selectedVoice;\n            }\n\n            utterance.onend = function() {\n                if (callback) callback();\n            };\n\n            window.speechSynthesis.speak(utterance);\n        }\n\n        function appendMessage(text, sender) {\n            const messageContainer = document.getElementById('chat-messages');\n            const messageElement = document.createElement('div');\n            messageElement.classList.add('message');\n            messageElement.classList.add(sender === 'bot' ? 'bot-message' : 'user-message');\n            messageElement.innerText = text;\n            messageContainer.appendChild(messageElement);\n            messageContainer.scrollTop = messageContainer.scrollHeight;\n        }\n\n        function formatSentence(sentence) {\n            \/\/ Capitalize the first letter and ensure proper punctuation at the end\n            sentence = sentence.trim();\n            if (sentence.length === 0) return sentence;\n            let firstChar = sentence.charAt(0).toUpperCase();\n            let restOfSentence = sentence.slice(1);\n            let formattedSentence = firstChar + restOfSentence;\n\n            \/\/ Ensure question marks at the beginning and end if it's a question\n            if (!formattedSentence.startsWith('\u00bf') && formattedSentence.endsWith('?')) {\n                formattedSentence = '\u00bf' + formattedSentence;\n            } else if (!formattedSentence.endsWith('.')) {\n                formattedSentence += '.';\n            }\n\n            return formattedSentence;\n        }\n\n        function normalizeSentence(sentence) {\n            \/\/ Remove punctuation and convert to lowercase for comparison\n            return sentence.replace(\/[.,!?\u00bf\u00a1]\/g, '').toLowerCase().trim();\n        }\n\n        function normalizeNumbers(text) {\n            \/\/ Map number words to digits (updated for possible number usage)\n            const numberWords = {\n                'cero': 0,\n                'uno': 1,\n                'una': 1,\n                'dos': 2,\n                'tres': 3,\n                'cuatro': 4,\n                'cinco': 5,\n                'seis': 6,\n                'siete': 7,\n                'ocho': 8,\n                'nueve': 9,\n                'diez': 10\n                \/\/ Add more numbers as needed\n            };\n\n            \/\/ Regular expression to match numbers in words\n            const numberPattern = new RegExp('\\\\b(' + Object.keys(numberWords).join('|') + ')\\\\b', 'gi');\n\n            text = text.replace(numberPattern, function(match) {\n                match = match.toLowerCase();\n                if (numberWords[match] !== undefined) {\n                    return numberWords[match].toString();\n                }\n                return match;\n            });\n\n            return text;\n        }\n\n    <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Spanish &#8211; Like most Do you like Favorite What kind of Like to do Like most Family See the questions and answers in this box Spanish &#8211; Like most Start Lesson Stop<\/p>\n","protected":false},"author":1,"featured_media":1468,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,42,34,33],"tags":[],"class_list":["post-1725","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-activities","category-interaction","category-robots","category-spanish"],"featured_image_src":"https:\/\/phamho.com\/book\/wp-content\/uploads\/2024\/09\/e89f7937-e0b6-4262-8971-4ca8d2f7d4da-2.webp","blog_images":{"medium":"https:\/\/phamho.com\/book\/wp-content\/uploads\/2024\/09\/e89f7937-e0b6-4262-8971-4ca8d2f7d4da-2-300x300.webp","large":"https:\/\/phamho.com\/book\/wp-content\/uploads\/2024\/09\/e89f7937-e0b6-4262-8971-4ca8d2f7d4da-2.webp"},"ams_acf":[],"_links":{"self":[{"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/posts\/1725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/comments?post=1725"}],"version-history":[{"count":2,"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/posts\/1725\/revisions"}],"predecessor-version":[{"id":1727,"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/posts\/1725\/revisions\/1727"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/media\/1468"}],"wp:attachment":[{"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/media?parent=1725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/categories?post=1725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phamho.com\/book\/wp-json\/wp\/v2\/tags?post=1725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}