사용자:강혜원

Classics Wiki
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>ID 리다이렉트</title>
    <style>
        body { font-family: sans-serif; padding: 20px; }
        .container { display: flex; gap: 10px; }
        input { padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
        button { padding: 8px 15px; cursor: pointer; background-color: #007bff; color: white; border: none; border-radius: 4px; }
        button:hover { background-color: #0056b3; }
    </style>
</head>
<body>

    <h2>ID 입력 후 이동</h2>
    <div class="container">
        <input type="text" id="userId" placeholder="ID를 입력하세요" onkeypress="if(event.keyCode==13) redirectToUrl()">
        <button onclick="redirectToUrl()">이동하기</button>
    </div>

    <script>
        function redirectToUrl() {
            // 입력창의 값을 가져옵니다.
            const idValue = document.getElementById('userId').value;

            if (idValue.trim() === "") {
                alert("ID를 입력해주세요.");
                return;
            }

            // 2. 입력받은 id 값을 가지고 지정된 URL로 redirect
            const targetUrl = `http://app.vaquitalab.com/viewxml?id=${idValue}`;
            window.location.href = targetUrl;
        }
    </script>

</body>
</html>

테스트

표점 원문

{{Ccti_xslt | project=S2601057 | id=조속-금궤도 | xml=hanmun_punctuated | xsl=Text.xsl | height=50px}}




용어집 초안

{{Ccti_xslt | project=S2601057 | id=조속-금궤도 | xml=glossary_draft | xsl=Glossary.xsl | height=600px | full_screen=Yes}}




용어집 초안에 따라 (또는 용어집 없이) 생성된 번역문

{{Ccti_xslt | project=S2601057 | id=조속-금궤도 | xml=translation_draft | xsl=Text.xsl | height=150px}}




수정 용어집

{{Ccti_xslt | project=S2601057 | id=조속-금궤도 | xml=glossary_reviewed | xsl=Glossary.xsl | height=600px | full_screen=Yes}}




수정 용어집에 따라 생성된 번역문

{{Ccti_xslt | project=S2601057 | id=조속-금궤도 | xml=translation_reviewed | xsl=Text.xsl | height=200px}}




※ 참고: 두 가지 해석에 대한 AI의 분석:

Prompt

위에 제시한 두 개의 xml 데이터 중 A는 주어진 한문 원문에 대한 AI의 자기주도적 번역이며, B는 용어사전으로 제시한 나의 해석을 AI가 참조하여 번역한 결과입니다. 두 가지 해석은 내용과 성격면에서 어떤 차이가 있나요?

Response (ChatGPT)