Urban Sociology Field Observation Guide

Urban Sociology Field Observation Guide

Structured protocol for systematic study of urban spaces and human behavior.

Study Metadata

Guiding Question: ${escapeHtml(c.question)}

-- Space for Field Notes & Coding --

`; dispCategories.appendChild(section); }); }; // --- PDF Download --- window.usfogDownloadPDF = function() { const element = document.getElementById('usfog-print-area'); const studyName = document.getElementById('usfog-study-name').value || "Observation_Guide"; document.body.classList.add('usfog-generating-pdf'); const opt = { margin: [0.75, 0.75], filename: `${studyName.replace(/\s+/g, '_')}_Observation_Guide.pdf`, image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2, useCORS: true }, jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' }, pagebreak: { mode: ['avoid-all', 'css', 'legacy'] } }; html2pdf().set(opt).from(element).save().then(() => { document.body.classList.remove('usfog-generating-pdf'); }); }; // Utility: HTML Escape function escapeHtml(text) { if (!text) return ''; return text.replace(/[&<>"']/g, function(m) { switch (m) { case '&': return '&'; case '<': return '<'; case '>': return '>'; case '"': return '"'; case "'": return '''; default: return m; } }); }
Scroll to Top